Alex Nitz <alex.nitz(a)ligo.org> writes:
I am having problems with the last pyopencl commit.
This a problem when the complex headers are invoked. The following error is
reported for all such kernels.
RuntimeError: clBuildProgram failed: build program failure -
Build on <pyopencl.Device 'GeForce GTX 580' on 'NVIDIA CUDA' at
:5:10: fatal error: 'pyopencl-complex.h' file not found
The options variable looks like the following.
The location is proper. I have tested that removed the last commit (or
manually removing the extra layer of quotes) allows everything to properly
build and run.
Perhaps this behavior is dependent on the version of some software I am
using? If there is some additional information that I could provide, please
let me know.
I introduced that this morning in response to a user's complaint that
PyOpenCL doesn't work when installed in a directory that contains
spaces. Unfortunately, the CL standard doesn't specify how quoting for
include paths is supposed to work. The quoting change from this morning
appears to work on AMD and Intel, but it blows up on Nvidia. I've thus
reverted the change from this morning, and installation paths with
spaces are once again unsupported until we figure out a better plan. I'd
welcome any ideas you guys have.
I've brought this up on the Khronos forums, we'll see if they respond: