AvtechScientific / ASL

Advanced Simulation Library - hardware accelerated multiphysics simulation platform.
http://asl.org.il
GNU Affero General Public License v3.0
217 stars 55 forks source link

OpenCL 1.0 support library #33

Closed jinz2014 closed 7 years ago

jinz2014 commented 7 years ago

Could you provide a library just for OpenCL 1.0 support ? Intel Altera OpenCL only supports OpenCL 1.0.

Thanks, -z

So I have the following errors during the build CMakeFiles/asl-hardware.dir/asl-hardware.cc.o: In function cl::detail::ReferenceHandler<_cl_device_id*>::retain(_cl_device_id*)': asl-hardware.cc:(.text._ZN2cl6detail16ReferenceHandlerIP13_cl_device_idE6retainES3_[_ZN2cl6detail16ReferenceHandlerIP13_cl_device_idE6retainES3_]+0x14): undefined reference toclRetainDevice' CMakeFiles/asl-hardware.dir/asl-hardware.cc.o: In function cl::detail::ReferenceHandler<_cl_device_id*>::release(_cl_device_id*)': asl-hardware.cc:(.text._ZN2cl6detail16ReferenceHandlerIP13_cl_device_idE7releaseES3_[_ZN2cl6detail16ReferenceHandlerIP13_cl_device_idE7releaseES3_]+0x14): undefined reference toclReleaseDevice' ../src/acl/libaslacl.so.0.1.7: undefined reference to `clCreateSubBuffer' collect2: error: ld returned 1 exit status

AvtechScientific commented 7 years ago

OpenCL 1.0 is quite old. You should ask Altera to accelerate their R&D to support 1.1as well. PS: this been said - the difference between v1.0 and v.1.1 is not that dramatic and you might try to downgrade ASL to OpenCL 1.0 on your own.