vanitygen icon indicating copy to clipboard operation
vanitygen copied to clipboard

CL_BUILD_PROGRAM_FAILURE

Open aleex42 opened this issue 11 years ago • 4 comments

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

aleex42 avatar Nov 26 '13 16:11 aleex42

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.

bolkin avatar Dec 27 '13 06:12 bolkin

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

BlinkyStitt avatar Jan 26 '14 22:01 BlinkyStitt

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

exploitagency avatar Feb 11 '17 02:02 exploitagency

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.

number435398 avatar Apr 02 '23 08:04 number435398