MorganGrundy / MosaicMagnifique

Application for generating Photomosaics. Turn your images into beautiful Photomosaics.
https://morgangrundy.github.io
GNU General Public License v3.0
14 stars 0 forks source link

[BUG] CUDA kernels timed out by watchdog timer #9

Closed MorganGrundy closed 3 years ago

MorganGrundy commented 3 years ago

Describe the bug Program crashes when generating with CUDA using a large image library and/or CIEDE2000 mode. Kernel execution time is exceeding watchdog timer.

To Reproduce Steps to reproduce the behavior:

  1. Load large image library (Used 1308 images)
  2. Load main image
  3. Set mode to CIEDE2000 (as CIEDE2000 kernel takes longer)
  4. Enable CUDA
  5. Generate
  6. Program crashes

Expected behavior Program generates and displays Photomosaic.

Context (Environment):

MorganGrundy commented 3 years ago

Currently difference kernels scale with size of image library and cell size.

MorganGrundy commented 3 years ago

Commits: a51b1fa2db156eac3e0879b115a9e4f955047d0e, 2386f2f3b6939d92c5443c29f8f335d5df05cda1

MorganGrundy commented 3 years ago

User can now set library batch size: 037ff0119fb38a0335efe60e556df99d760e0f12