-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
When I installed node-opencl and run the examples, I got an immediate segmentation fault.
My configuration is as follows:
- Ubuntu 16.04
- Nvidia Tesla K40
- NVidia OpenCL bindings that are v 1.2 (not 2)
It so happens that the opencl headers that are made available with ubuntu (package opencl-headers) are 2.0
This means that, for example, commandqueue.cpp #ifndef CL_VERSION_2_0 will add the wrong function on compilation.
My hack was to edit the headers and undefine CL_VERSION_2_0
I do not have the experience to make a recommendation here, maybe this is just a problem with the way things are set up on ubuntu, but I think one of these might work
- document this so that people are aware OR
- detect the openCL version of the device in a different, more dynamic way
Metadata
Metadata
Assignees
Labels
No labels