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
As highlighted in #60, opencl-clang dlopen() itself to get some symbol addresses via dlsym(). Can this be avoided? Why we can't get address at compile/linkage time?
There is no need to work with opencl-c.h file as with the resource.
Instead we just can directly link against its representation as a c-array.
Fixes: intel#61
Signed-off-by: Dmitry Rogozhkin <[email protected]>
As highlighted in #60, opencl-clang dlopen() itself to get some symbol addresses via dlsym(). Can this be avoided? Why we can't get address at compile/linkage time?
dlopen() is called here:
opencl-clang/pch_mgr.cpp
Line 170 in 325cbb5
Library name to load is set here:
opencl-clang/CMakeLists.txt
Line 147 in 325cbb5
The text was updated successfully, but these errors were encountered: