You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Passing -I dir to clBuildProgram does not guarantee that the header will be included. Logs:
21:59:08:348 DBG BuildSource:183 #diagnostics Building program with options: -I /Users/user/project/kernel
21:59:08:348 TRE Get:268 #diagnostics BuildLog:
<program source>:7:10: fatal error: 'inc.h' file not found
#include "inc.h"
^
The text was updated successfully, but these errors were encountered:
According to https://www.khronos.org/registry/OpenCL/specs/2.2/html/OpenCL_API.html#compiler-options:
-I dir
Add the directory dir to the list of directories to be searched for header files. dir can optionally be enclosed in double quotes.
This option is not portable due to its dependency on host file system and host operating system. It is supported for backwards compatibility with previous OpenCL versions. Developers are encouraged to create and use explicit header objects by means of clCompileProgram followed by clLinkProgram.
Passing
-I dir
toclBuildProgram
does not guarantee that the header will be included. Logs:The text was updated successfully, but these errors were encountered: