Skip to content

Commit

Permalink
Increase year range for the hacky windows mkl_rt LoadLibrary search
Browse files Browse the repository at this point in the history
  • Loading branch information
asistradition committed Oct 18, 2024
1 parent eff90e6 commit 5ea1658
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sparse_dot_mkl/_mkl_interface/_load_library.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ def _try_load_mkl_rt(path=None):
"libmkl_rt.dylib",
"mkl_rt.dll"
] + [
f"mkl_rt.{i}.dll" for i in range(5, 0, -1)
f"mkl_rt.{i}.dll" for i in range(8, 0, -1)
] + [
f"libmkl_rt.so.{i}" for i in range(5, 0, -1)
f"libmkl_rt.so.{i}" for i in range(8, 0, -1)
]:
try:
# If this finds anything, break out of the loop
Expand Down

0 comments on commit 5ea1658

Please sign in to comment.