profanity icon indicating copy to clipboard operation
profanity copied to clipboard

Strange kernel error on windows

Open Incrediblez7 opened this issue 5 years ago • 3 comments

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"

Incrediblez7 avatar Nov 01 '20 14:11 Incrediblez7

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:

image

secp8x32 avatar Jan 22 '21 09:01 secp8x32

i did that but it doesn't work

luckom65 avatar Jul 25 '21 16:07 luckom65

bump!

eyooooo avatar Feb 08 '22 02:02 eyooooo