profanity
profanity copied to clipboard
Strange kernel error on windows
Trying to run profanity.exe from precompiled releases, but following error happened.
C:\Users\Incrediblez7>E:\profanity-v1.60-x64.zip\profanity.exe --leading f
Mode: leading
Target: Address
Devices:
GPU0: GeForce RTX 2070 SUPER, 8589934592 bytes available, 40 compute units (precompiled = yes)
Initializing OpenCL...
Creating context...OK
Loading kernel from binary...OK
Building program...OK
std::runtime_error - failed to create kernel "profanity_init"
This error is caused by clCreateKernel function call in Dispatcher class, it is returning -46 which means CL_INVALID_KERNEL_NAME. To solve this problem comment out some part of profanity.cpp file, this will force program to load opencl kernel from .cl files, so put these files keccak.cl and profanity.cl in same directory with program binary. And change file profanity.cpp like this from line 283:

i did that but it doesn't work
bump!