vanitygen
vanitygen copied to clipboard
CL_BUILD_PROGRAM_FAILURE
Hello,
I've compiled vanitygen and trying to run the miner.
Any ideas, how to fix the following error?
Thanks so far!
./oclvanityminer -u https://vanitypool.appspot.com/ -a XXXX Compiling kernel, can take minutes...1 error generated. failure. clBuildProgram: CL_BUILD_PROGRAM_FAILURE Build log: Compilation started 1:173:19: error: constant address space qualified variables are required to be initialized Compilation failed Device: Intel(R) Core(TM) i3-3240 CPU @ 3.40GHz Vendor: Intel(R) Corporation (8086) Driver: 1.2.0.76921 Profile: FULL_PROFILE Version: OpenCL 1.2 (Build 76921) Max compute units: 140733193388036 Max workgroup size: 8192 Global memory: 8271249408 Max allocation: 2067812352 Available OpenCL platforms: 0: [Intel(R) Corporation] Intel(R) OpenCL 0: [Intel(R) Corporation] Intel(R) Core(TM) i3-3240 CPU @ 3.40GHz
I've got the same error, changed calc_addrs.cl -> __constant bignum bn_zero = {0,0,0,0};
And now it seems to be working, but I have no idea why it works on other GPUs, never dealt with ocl before.
Samr7 hasn't been active with this repo. You might want to check out my fork at https://github.com/WyseNynja/vanitygen. It's easy to install with my brew tap at https://github.com/WyseNynja/homebrew-bitcoin and has various fixes that might help you
I also have a bug fix here included in my repo and binaries along with support for over 80 altcoins https://github.com/exploitagency/vanitygen-plus/releases
I just ran into this error after I installed an RTX 3090. Actually it worked fine until I installed the nvidia cuda library thing, then this error started coming up.