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

fix issue with kernel compilation #14

Closed ixfd64 closed 4 years ago

ixfd64 commented 4 years ago

This fixes an issue in which mfakto would not keep the kernel file after compilation if the -d option is used to specify a device number greater than 1. In the original code, mfakto would always search for the binary in the first slot regardless of the device number. It should now search all the slots until it finds a valid one.

I also further updated the documentation.