Hi. I recieve this error.
Using on windows.
PS D:\SolVanityCL> python main.py search-pubkey --starts-with SoL
[INFO 2024-06-24 00:25:51,328] Searching Solana pubkey that starts with 'SoL' and ends with ''
[INFO 2024-06-24 00:25:53,790] Searching with 2 OpenCL devices
1 warning and 273 errors generated.
[ERROR 2024-06-24 00:25:54,257] clBuildProgram failed: BUILD_PROGRAM_FAILURE - clBuildProgram failed: BUILD_PROGRAM_FAILURE - clBuildProgram failed: BUILD_PROGRAM_FAILURE
Build on <pyopencl.Device 'NVIDIA GeForce RTX 3060 Laptop GPU' on 'NVIDIA CUDA' at 0x1965f3d2480>:
:3134:10: error: passing '__generic int32_t *' (aka '__generic int *') to parameter of type 'int32_t *' (aka 'int *') changes address space of pointer
fe_add(r->X, p->Y, p->X);
^~~~
:2982:26: note: passing argument to parameter 'h' here
void fe_add(__generic fe h, const __generic fe f, const __generic fe g) {
^
:3134:16: error: passing 'const __generic int32_t *' (aka 'const __generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_add(r->X, p->Y, p->X);
^~~~
:2982:48: note: passing argument to parameter 'f' here
void fe_add(__generic fe h, const __generic fe f, const __generic fe g) {
^
:3134:22: error: passing 'const __generic int32_t *' (aka 'const __generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_add(r->X, p->Y, p->X);
^~~~
:2982:70: note: passing argument to parameter 'g' here
void fe_add(__generic fe h, const __generic fe f, const __generic fe g) {
^
:3135:10: error: passing '__generic int32_t *' (aka '__generic int *') to parameter of type 'int32_t *' (aka 'int *') changes address space of pointer
fe_sub(r->Y, p->Y, p->X);
^~~~
:2938:26: note: passing argument to parameter 'h' here
void fe_sub(__generic fe h, const __generic fe f, const __generic fe g) {
^
:3135:16: error: passing 'const __generic int32_t *' (aka 'const __generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_sub(r->Y, p->Y, p->X);
^~~~
:2938:48: note: passing argument to parameter 'f' here
void fe_sub(__generic fe h, const __generic fe f, const __generic fe g) {
^
:3135:22: error: passing 'const __generic int32_t *' (aka 'const __generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_sub(r->Y, p->Y, p->X);
^~~~
:2938:70: note: passing argument to parameter 'g' here
void fe_sub(__generic fe h, const __generic fe f, const __generic fe g) {
^
:3136:10: error: passing '__generic int32_t *' (aka '__generic int *') to parameter of type 'int32_t *' (aka 'int *') changes address space of pointer
fe_mul(r->Z, r->X, q->YplusX);
^~~~
:2717:26: note: passing argument to parameter 'h' here
void fe_mul(__generic fe h, const __generic fe f, const __generic fe g) {
^
:3136:16: error: passing '__generic int32_t *' (aka '__generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_mul(r->Z, r->X, q->YplusX);
^~~~
:2717:48: note: passing argument to parameter 'f' here
void fe_mul(__generic fe h, const __generic fe f, const __generic fe g) {
^
:3136:22: error: passing 'const __generic int32_t *' (aka 'const __generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_mul(r->Z, r->X, q->YplusX);
^~~~~~~~~
:2717:70: note: passing argument to parameter 'g' here
void fe_mul(__generic fe h, const __generic fe f, const __generic fe g) {
^
:3137:10: error: passing '__generic int32_t *' (aka '__generic int *') to parameter of type 'int32_t *' (aka 'int *') changes address space of pointer
fe_mul(r->Y, r->Y, q->YminusX);
^~~~
:2717:26: note: passing argument to parameter 'h' here
void fe_mul(__generic fe h, const __generic fe f, const __generic fe g) {
^
:3137:16: error: passing '__generic int32_t *' (aka '__generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_mul(r->Y, r->Y, q->YminusX);
^~~~
:2717:48: note: passing argument to parameter 'f' here
void fe_mul(__generic fe h, const __generic fe f, const __generic fe g) {
^
:3137:22: error: passing 'const __generic int32_t *' (aka 'const __generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_mul(r->Y, r->Y, q->YminusX);
^~~~~~~~~~
:2717:70: note: passing argument to parameter 'g' here
void fe_mul(__generic fe h, const __generic fe f, const __generic fe g) {
^
:3138:10: error: passing '__generic int32_t *' (aka '__generic int *') to parameter of type 'int32_t *' (aka 'int *') changes address space of pointer
fe_mul(r->T, q->T2d, p->T);
^~~~
:2717:26: note: passing argument to parameter 'h' here
void fe_mul(__generic fe h, const __generic fe f, const __generic fe g) {
^
:3138:16: error: passing 'const __generic int32_t *' (aka 'const __generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_mul(r->T, q->T2d, p->T);
^~~~~~
:2717:48: note: passing argument to parameter 'f' here
void fe_mul(__generic fe h, const __generic fe f, const __generic fe g) {
^
:3138:24: error: passing 'const __generic int32_t *' (aka 'const __generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_mul(r->T, q->T2d, p->T);
^~~~
:2717:70: note: passing argument to parameter 'g' here
void fe_mul(__generic fe h, const __generic fe f, const __generic fe g) {
^
:3139:10: error: passing '__generic int32_t *' (aka '__generic int *') to parameter of type 'int32_t *' (aka 'int *') changes address space of pointer
fe_mul(r->X, p->Z, q->Z);
^~~~
:2717:26: note: passing argument to parameter 'h' here
void fe_mul(__generic fe h, const __generic fe f, const __generic fe g) {
^
:3139:16: error: passing 'const __generic int32_t *' (aka 'const __generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_mul(r->X, p->Z, q->Z);
^~~~
:2717:48: note: passing argument to parameter 'f' here
void fe_mul(__generic fe h, const __generic fe f, const __generic fe g) {
^
:3139:22: error: passing 'const __generic int32_t *' (aka 'const __generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_mul(r->X, p->Z, q->Z);
^~~~
:2717:70: note: passing argument to parameter 'g' here
void fe_mul(__generic fe h, const __generic fe f, const __generic fe g) {
^
:3140:14: error: passing '__generic int32_t *' (aka '__generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_add(t0, r->X, r->X);
^~~~
:2982:48: note: passing argument to parameter 'f' here
void fe_add(__generic fe h, const __generic fe f, const __generic fe g) {
^
:3140:20: error: passing '__generic int32_t *' (aka '__generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_add(t0, r->X, r->X);
^~~~
:2982:70: note: passing argument to parameter 'g' here
void fe_add(__generic fe h, const __generic fe f, const __generic fe g) {
^
:3141:10: error: passing '__generic int32_t *' (aka '__generic int *') to parameter of type 'int32_t *' (aka 'int *') changes address space of pointer
fe_sub(r->X, r->Z, r->Y);
^~~~
:2938:26: note: passing argument to parameter 'h' here
void fe_sub(__generic fe h, const __generic fe f, const __generic fe g) {
^
:3141:16: error: passing '__generic int32_t *' (aka '__generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_sub(r->X, r->Z, r->Y);
^~~~
:2938:48: note: passing argument to parameter 'f' here
void fe_sub(__generic fe h, const __generic fe f, const __generic fe g) {
^
:3141:22: error: passing '__generic int32_t *' (aka '__generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_sub(r->X, r->Z, r->Y);
^~~~
:2938:70: note: passing argument to parameter 'g' here
void fe_sub(__generic fe h, const __generic fe f, const __generic fe g) {
^
:3142:10: error: passing '__generic int32_t *' (aka '__generic int *') to parameter of type 'int32_t *' (aka 'int *') changes address space of pointer
fe_add(r->Y, r->Z, r->Y);
^~~~
:2982:26: note: passing argument to parameter 'h' here
void fe_add(__generic fe h, const __generic fe f, const __generic fe g) {
^
:3142:16: error: passing '__generic int32_t *' (aka '__generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_add(r->Y, r->Z, r->Y);
^~~~
:2982:48: note: passing argument to parameter 'f' here
void fe_add(__generic fe h, const __generic fe f, const __generic fe g) {
^
:3142:22: error: passing '__generic int32_t *' (aka '__generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_add(r->Y, r->Z, r->Y);
^~~~
:2982:70: note: passing argument to parameter 'g' here
void fe_add(__generic fe h, const __generic fe f, const __generic fe g) {
^
:3143:10: error: passing '__generic int32_t *' (aka '__generic int *') to parameter of type 'int32_t *' (aka 'int *') changes address space of pointer
fe_add(r->Z, t0, r->T);
^~~~
:2982:26: note: passing argument to parameter 'h' here
void fe_add(__generic fe h, const __generic fe f, const __generic fe g) {
^
:3143:20: error: passing '__generic int32_t *' (aka '__generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_add(r->Z, t0, r->T);
^~~~
:2982:70: note: passing argument to parameter 'g' here
void fe_add(__generic fe h, const __generic fe f, const __generic fe g) {
^
:3144:10: error: passing '__generic int32_t *' (aka '__generic int *') to parameter of type 'int32_t *' (aka 'int *') changes address space of pointer
fe_sub(r->T, t0, r->T);
^~~~
:2938:26: note: passing argument to parameter 'h' here
void fe_sub(__generic fe h, const __generic fe f, const __generic fe g) {
^
:3144:20: error: passing '__generic int32_t *' (aka '__generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_sub(r->T, t0, r->T);
^~~~
:2938:70: note: passing argument to parameter 'g' here
void fe_sub(__generic fe h, const __generic fe f, const __generic fe g) {
^
:4276:10: error: passing '__generic int32_t *' (aka '__generic int *') to parameter of type 'int32_t *' (aka 'int *') changes address space of pointer
fe_add(r->YplusX, p->Y, p->X);
^~~~~~~~~
:2982:26: note: passing argument to parameter 'h' here
void fe_add(__generic fe h, const __generic fe f, const __generic fe g) {
^
:4276:21: error: passing 'const __generic int32_t *' (aka 'const __generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_add(r->YplusX, p->Y, p->X);
^~~~
:2982:48: note: passing argument to parameter 'f' here
void fe_add(__generic fe h, const __generic fe f, const __generic fe g) {
^
:4276:27: error: passing 'const __generic int32_t *' (aka 'const __generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_add(r->YplusX, p->Y, p->X);
^~~~
:2982:70: note: passing argument to parameter 'g' here
void fe_add(__generic fe h, const __generic fe f, const __generic fe g) {
^
:4277:10: error: passing '__generic int32_t *' (aka '__generic int *') to parameter of type 'int32_t *' (aka 'int *') changes address space of pointer
fe_sub(r->YminusX, p->Y, p->X);
^~~~~~~~~~
:2938:26: note: passing argument to parameter 'h' here
void fe_sub(__generic fe h, const __generic fe f, const __generic fe g) {
^
:4277:22: error: passing 'const __generic int32_t *' (aka 'const __generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_sub(r->YminusX, p->Y, p->X);
^~~~
:2938:48: note: passing argument to parameter 'f' here
void fe_sub(__generic fe h, const __generic fe f, const __generic fe g) {
^
:4277:28: error: passing 'const __generic int32_t *' (aka 'const __generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_sub(r->YminusX, p->Y, p->X);
^~~~
:2938:70: note: passing argument to parameter 'g' here
void fe_sub(__generic fe h, const __generic fe f, const __generic fe g) {
^
:4278:11: error: passing '__generic int32_t *' (aka '__generic int *') to parameter of type 'int32_t *' (aka 'int *') changes address space of pointer
fe_copy(r->Z, p->Z);
^~~~
:3512:27: note: passing argument to parameter 'h' here
void fe_copy(__generic fe h, const __generic fe f) {
^
:4278:17: error: passing 'const __generic int32_t *' (aka 'const __generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_copy(r->Z, p->Z);
^~~~
:3512:49: note: passing argument to parameter 'f' here
void fe_copy(__generic fe h, const __generic fe f) {
^
:4279:10: error: passing '__generic int32_t *' (aka '__generic int *') to parameter of type 'int32_t *' (aka 'int *') changes address space of pointer
fe_mul(r->T2d, p->T, d2);
^~~~~~
:2717:26: note: passing argument to parameter 'h' here
void fe_mul(__generic fe h, const __generic fe f, const __generic fe g) {
^
:4279:18: error: passing 'const __generic int32_t *' (aka 'const __generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_mul(r->T2d, p->T, d2);
^~~~
:2717:48: note: passing argument to parameter 'f' here
void fe_mul(__generic fe h, const __generic fe f, const __generic fe g) {
^
:4287:11: error: passing '__generic int32_t *' (aka '__generic int *') to parameter of type 'int32_t *' (aka 'int *') changes address space of pointer
fe_copy(r->X, p->X);
^~~~
:3512:27: note: passing argument to parameter 'h' here
void fe_copy(__generic fe h, const __generic fe f) {
^
:4287:17: error: passing 'const __generic int32_t *' (aka 'const __generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_copy(r->X, p->X);
^~~~
:3512:49: note: passing argument to parameter 'f' here
void fe_copy(__generic fe h, const __generic fe f) {
^
:4288:11: error: passing '__generic int32_t *' (aka '__generic int *') to parameter of type 'int32_t *' (aka 'int *') changes address space of pointer
fe_copy(r->Y, p->Y);
^~~~
:3512:27: note: passing argument to parameter 'h' here
void fe_copy(__generic fe h, const __generic fe f) {
^
:4288:17: error: passing 'const __generic int32_t *' (aka 'const __generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_copy(r->Y, p->Y);
^~~~
:3512:49: note: passing argument to parameter 'f' here
void fe_copy(__generic fe h, const __generic fe f) {
^
:4289:11: error: passing '__generic int32_t *' (aka '__generic int *') to parameter of type 'int32_t *' (aka 'int *') changes address space of pointer
fe_copy(r->Z, p->Z);
^~~~
:3512:27: note: passing argument to parameter 'h' here
void fe_copy(__generic fe h, const __generic fe f) {
^
:4289:17: error: passing 'const __generic int32_t *' (aka 'const __generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_copy(r->Z, p->Z);
^~~~
:3512:49: note: passing argument to parameter 'f' here
void fe_copy(__generic fe h, const __generic fe f) {
^
:4296:20: error: passing 'const __generic int32_t *' (aka 'const __generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_invert(recip, h->Z);
^~~~
:3605:53: note: passing argument to parameter 'z' here
void fe_invert(__generic fe out, const __generic fe z) {
^
:4297:13: error: passing 'const __generic int32_t *' (aka 'const __generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_mul(x, h->X, recip);
^~~~
:2717:48: note: passing argument to parameter 'f' here
void fe_mul(__generic fe h, const __generic fe f, const __generic fe g) {
^
:4298:13: error: passing 'const __generic int32_t *' (aka 'const __generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_mul(y, h->Y, recip);
^~~~
:2717:48: note: passing argument to parameter 'f' here
void fe_mul(__generic fe h, const __generic fe f, const __generic fe g) {
^
:4305:10: error: passing '__generic int32_t *' (aka '__generic int *') to parameter of type 'int32_t *' (aka 'int *') changes address space of pointer
fe_add(r->X, p->Y, p->X);
^~~~
:2982:26: note: passing argument to parameter 'h' here
void fe_add(__generic fe h, const __generic fe f, const __generic fe g) {
^
:4305:16: error: passing 'const __generic int32_t *' (aka 'const __generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_add(r->X, p->Y, p->X);
^~~~
:2982:48: note: passing argument to parameter 'f' here
void fe_add(__generic fe h, const __generic fe f, const __generic fe g) {
^
:4305:22: error: passing 'const __generic int32_t *' (aka 'const __generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_add(r->X, p->Y, p->X);
^~~~
:2982:70: note: passing argument to parameter 'g' here
void fe_add(__generic fe h, const __generic fe f, const __generic fe g) {
^
:4306:10: error: passing '__generic int32_t *' (aka '__generic int *') to parameter of type 'int32_t *' (aka 'int *') changes address space of pointer
fe_sub(r->Y, p->Y, p->X);
^~~~
:2938:26: note: passing argument to parameter 'h' here
void fe_sub(__generic fe h, const __generic fe f, const __generic fe g) {
^
:4306:16: error: passing 'const __generic int32_t *' (aka 'const __generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_sub(r->Y, p->Y, p->X);
^~~~
:2938:48: note: passing argument to parameter 'f' here
void fe_sub(__generic fe h, const __generic fe f, const __generic fe g) {
^
:4306:22: error: passing 'const __generic int32_t *' (aka 'const __generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_sub(r->Y, p->Y, p->X);
^~~~
:2938:70: note: passing argument to parameter 'g' here
void fe_sub(__generic fe h, const __generic fe f, const __generic fe g) {
^
:4307:20: error: passing '__generic int32_t *' (aka '__generic int *') to parameter of type 'int32_t *' (aka 'int *') changes address space of pointer
fe_mul__contant2(r->Z, r->X, q->yplusx);
^~~~
:2276:36: note: passing argument to parameter 'h' here
void fe_mul__contant2(__generic fe h, const __generic fe f, constant fe g) {
^
:4307:26: error: passing '__generic int32_t *' (aka '__generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_mul__contant2(r->Z, r->X, q->yplusx);
^~~~
:2276:58: note: passing argument to parameter 'f' here
void fe_mul__contant2(__generic fe h, const __generic fe f, constant fe g) {
^
:4308:20: error: passing '__generic int32_t *' (aka '__generic int *') to parameter of type 'int32_t *' (aka 'int *') changes address space of pointer
fe_mul__contant2(r->Y, r->Y, q->yminusx);
^~~~
:2276:36: note: passing argument to parameter 'h' here
void fe_mul__contant2(__generic fe h, const __generic fe f, constant fe g) {
^
:4308:26: error: passing '__generic int32_t *' (aka '__generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_mul__contant2(r->Y, r->Y, q->yminusx);
^~~~
:2276:58: note: passing argument to parameter 'f' here
void fe_mul__contant2(__generic fe h, const __generic fe f, constant fe g) {
^
:4309:20: error: passing '__generic int32_t *' (aka '__generic int *') to parameter of type 'int32_t *' (aka 'int *') changes address space of pointer
fe_mul__contant1(r->T, q->xy2d, p->T);
^~~~
:2496:36: note: passing argument to parameter 'h' here
void fe_mul__contant1(__generic fe h, constant fe f, const __generic fe g) {
^
:4309:35: error: passing 'const __generic int32_t *' (aka 'const __generic int *') to parameter of type 'const int32_t *' (aka 'const int *') changes address space of pointer
fe_mul__contant1(r->T, q->xy2d, p->T);
^~~~
(......)
(options: -I C:\Users\ctrad\AppData\Local\Programs\Python\Python311\Lib\site-packages\pyopencl\cl)
InvalidArraySize: Array size must be at least 1: [0 x i8] [Src: d:\qb\workspace\22235\source\llvm_source\llvm\projects\llvm-spirv\lib\spirv\spirvwriter.cpp:366 T->getArrayNumElements() >= 1 ]