I am trying to use #include within a kernel. And despite what I originally read on many internet pages it does work. But now I am having trouble with the locations searched for the included header files. I use the options of clBuildProgram() to pass "-I /PATH_TO_FILES/" which works for paths with no spaces, but it doesn't work for a path with a space in it.
Does anybody know how to include spaces in this path?
-I have tried using "" around the path (correctly escaped using \) This doesn't work, even for paths without spaces.
Does anyone know where a relative path would use as it's basis (./) ?
-I've already tested and it's not the directory containing the host program and kernel file.
For what it's worth, I'm using MacOS. But obviously I'm hoping any solution is OS independent.