preda / gpuowl

GPU Mersenne primality test.
GNU General Public License v3.0
163 stars 39 forks source link

Output after successful compile on Kubuntu. Compiles flawlessly on Windows as well #286

Closed dkbritt7174 closed 1 month ago

dkbritt7174 commented 5 months ago

20240526 10:19:22 PRPLL 0.9-22-gfaf4bd5-dirty 20240526 10:19:22 device 0, OpenCL 535.171.04, unique id '' 20240526 10:19:22 0 335006603 FFT: 18M 1K:9:1K (17.75 bpw) 20240526 10:19:22 0 335006603 applying: MM_CHAIN=0 MM2_CHAIN=1 ULTRA_TRIG=0 2 errors generated. 20240526 10:19:23 0 335006603 In file included from :1: In file included from fftmiddlein.cl:6: In file included from fft-middle.cl:4: trig.cl:163:7: error: use of undeclared identifier 'TRIG_TAB'; did you mean 'TRIG_BHW'? if (TRIG_TAB & (TRIG_BHW != NULL)) { // bitwise because annoying warning -Wconstant-logical-operand ^~~~ TRIG_BHW trig.cl:141:46: note: 'TRIG_BHW' declared here double2 slowTrig_N(u32 k, u32 kBound, BigTab TRIG_BHW) { ^ trig.cl:163:16: error: invalid operands to binary expression ('BigTab' (aka 'const __global double2 *') and 'int') if (TRIG_TAB & (TRIG_BHW != NULL)) { // bitwise because annoying warning -Wconstant-logical-operand



20240526 10:19:23 0 335006603 Compiling 'fftmiddlein.cl' error COMPILE_PROGRAM_FAILURE (-15) (args -cl-finite-math-only -cl-std=CL2.0  -DEXP=335006603u -DWIDTH=1024u -DSMALL_HEIGHT=1024u -DMIDDLE=9u -DCARRY_LEN=8 -DCARRY64=1 -DMM2_CHAIN=1u -DWEIGHT_STEP=0.18979374100647589 -DIWEIGHT_STEP=-0.15951818745148608 )
20240526 10:19:23 0 335006603 Can't compile fftmiddlein.cl
20240526 10:19:23 0  Exception "Can't compile fftmiddlein.cl"
20240526 10:19:23  Bye
dkbritt7174 commented 5 months ago

Thanks for the edit. Works perfectly now.

preda commented 1 month ago

I understand this is fixed.