Skip to content

Commit 2e9b9e3

Browse files
committed
w/a for MKL calls
1 parent 1b4b671 commit 2e9b9e3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dpnp/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@
4141
os.add_dll_directory(dpctlpath)
4242
os.environ["PATH"] = os.pathsep.join([os.getenv("PATH", ""), mypath, dpctlpath])
4343

44+
# workaround against hanging in OneMKL calls
45+
os.environ.setdefault('SYCL_QUEUE_THREAD_POOL_SIZE', '6')
4446

4547
from dpnp.dpnp_array import dpnp_array as ndarray
4648
from dpnp.dpnp_flatiter import flatiter as flatiter

0 commit comments

Comments
 (0)