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.
2 parents 0ea47d7 + 22ca5ee commit 1675f05Copy full SHA for 1675f05
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