Closed Aweorih closed 3 years ago
you can try adding the following code at the start of file "src/ocl/kernel.cl":
#ifdef cl_clang_storage_class_specifiers
#pragma OPENCL EXTENSION cl_clang_storage_class_specifiers : enable
#endif
It's working for me with AMD opencl impl.
excellent. Indeed opencl 1.1 is not supported out of the box and needs this definition. Will amend kernel.cl. Thx!
after starting gpu version 2.4.0 with command: ./engraver_gpu -d -i xxx -p /mining -g 0:0:0 -n 500000 --sn 0
i get the errors: ###################### OPENCL PROGRAM BUILD DEBUG OUTPUT ######################
input.cl:262:12: error: OpenCL C version 1.1 does not support the 'static' storage class specifier input.cl:268:12: error: OpenCL C version 1.1 does not support the 'static' storage class specifier input.cl:275:12: error: OpenCL C version 1.1 does not support the 'static' storage class specifier input.cl:282:12: error: OpenCL C version 1.1 does not support the 'static' storage class specifier input.cl:288:12: error: OpenCL C version 1.1 does not support the 'static' storage class specifier input.cl:295:12: error: OpenCL C version 1.1 does not support the 'static' storage class specifier input.cl:302:12: error: OpenCL C version 1.1 does not support the 'static' storage class specifier input.cl:308:12: error: OpenCL C version 1.1 does not support the 'static' storage class specifier input.cl:315:12: error: OpenCL C version 1.1 does not support the 'static' storage class specifier input.cl:322:12: error: OpenCL C version 1.1 does not support the 'static' storage class specifier input.cl:328:12: error: OpenCL C version 1.1 does not support the 'static' storage class specifier input.cl:335:12: error: OpenCL C version 1.1 does not support the 'static' storage class specifier input.cl:342:12: error: OpenCL C version 1.1 does not support the 'static' storage class specifier input.cl:348:12: error: OpenCL C version 1.1 does not support the 'static' storage class specifier input.cl:355:12: error: OpenCL C version 1.1 does not support the 'static' storage class specifier