Bdot42 / mfakto

Mersenne number trial factoring using OpenCL, primarily for GIMPS: Great Internet Mersenne Prime Search
http://mersennewiki.org/index.php/Mfakto
GNU General Public License v3.0
33 stars 15 forks source link

Only consider OpenCL platforms that have at least one device #41

Closed proski closed 1 month ago

proski commented 2 months ago

Request the number of devices for the platform. If there are no devices, the platform should not be selected whether it's AMD or not.

Print the number of devices for the platform if DETAILED_INFO is enabled, even if the platform is AMD.

Fix compilation with DETAILED_INFO enabled.