khanhas / MagickMeter

ImageMagick + Rainmeter BAMM! MagickMeter
GNU General Public License v3.0
135 stars 5 forks source link

OpenCL/GPU/Hardware Acceleration using `Device=0` is undocumented #9

Open Drgabi18 opened 1 year ago

Drgabi18 commented 1 year ago

Not really an earth-shattering issue, more so documenting for other to see here that the option for OpenCL/GPU/Hardware acceleration is undocumented.

In the Rainmeter Log, the GPUs you have will be printed and if you have Device=0, it will enable hardware acceleration support on your primary GPU which makes MagickMeter really really fast (from testing in the past).

Link to the section of code that enables it for the curious. https://github.com/khanhas/MagickMeter/blob/master/src/MagickMeter.cpp#L31-L51