Altera_Forum
Honored Contributor
12 years ago#include in kernel
Hi folks,
I need some tiny bit of help here. In my kernel.cl, I have an# include preprocessor directive: # include Headers/HashSetKernelFind.h I can't seem to get the -I option of aoc on the command line to work, which I need because I have to run aoc in another directory on the same level as the "Headers" one. So I do this: aoc -I ../ kernel.cl But I just get: aoc: Running OpenCL parser.... c:/path/to/project/GraphPurger/kernel.cl:1:10: fatal error: 'Headers/HashSetKernelFind.h' file not found# include "Headers/HashSetKernelFind.h" ^ 1 error generated. Error: OpenCL parser FAILED. Refer to kernel.log for details. What am I doing wrong? The same works with AMD APP SDK and Intel OpenCL SDK.