We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a21402e + 0ae361c commit 4e8dc69Copy full SHA for 4e8dc69
1 file changed
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