openworm / OpenWorm

Repository for the main Dockerfile with the OpenWorm software stack and project-wide issues
http://openworm.org
MIT License
2.57k stars 206 forks source link

unrecognized OpenCL extension #201

Closed msasinski closed 10 years ago

msasinski commented 10 years ago

Development branch fails to build.

"/tmp/OCLvRdNtS.cl", line 86: error: can't enable all OpenCL extensions or
          unrecognized OpenCL extension
  #pragma OPENCL EXTENSION cl_intel_printf : enable
 CL_PLATFORM_VERSION [0]:       OpenCL 1.2 AMD-APP (1214.3)
skhayrulin commented 10 years ago

It seems that AMD OpenCL compiler is more strict that Intel, intel compiler throw only warning that amd_printf extension is not available. In last commit I added precompiler directives checking availability of printf extensions.

msasinski commented 10 years ago

Works now. Thanks!