We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3247c2 commit 22ca5eeCopy full SHA for 22ca5ee
source/adapters/opencl/adapter.cpp
@@ -24,7 +24,7 @@ ur_adapter_handle_t_::ur_adapter_handle_t_() {
24
auto handle = LoadLibraryA("OpenCL.dll");
25
26
#define CL_CORE_FUNCTION(FUNC) \
27
- FUNC = reinterpret_cast<decltype(::FUNC) *>(GetProcAddress(handle, "FUNC"));
+ FUNC = reinterpret_cast<decltype(::FUNC) *>(GetProcAddress(handle, #FUNC));
28
#include "core_functions.def"
29
#undef CL_CORE_FUNCTION
30
0 commit comments