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 56ae2b7 commit 61d7be6Copy full SHA for 61d7be6
arrayfire_wrapper/_backend.py
@@ -242,6 +242,10 @@ def _load_backend_lib(self, _backend_type: BackendType) -> None:
242
# make additional dependencies available for oneapi backend on windows
243
if platform.system() == _SupportedPlatforms.windows.value and _backend_type == BackendType.oneapi:
244
os.add_dll_directory(os.path.dirname(lib_name))
245
+
246
+ # TODO: temporary fix for mkl_core not getting loaded correctly
247
+ ctypes.cdll.LoadLibrary('mkl_core.2.dll')
248
249
ctypes.cdll.LoadLibrary(str(lib_name))
250
self._backend_type = _backend_type
251
self._clibs[_backend_type] = ctypes.CDLL(str(lib_name))
0 commit comments