File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -419,8 +419,8 @@ def is_intel_numpy():
419
419
Return True if Intel NumPy is used during testing.
420
420
421
421
The check is based on MKL backend name stored in Build Dependencies, where
422
- in case of Intel Numpy there "mkl-dynamic " is expected to be a part of the
423
- name for both BLAS and LAPACK (the full name is "mkl-dynamic-ilp64-iomp").
422
+ in case of Intel Numpy there "mkl" is expected at the beginning of the name
423
+ for both BLAS and LAPACK (the full name is "mkl-dynamic-ilp64-iomp").
424
424
425
425
"""
426
426
@@ -430,8 +430,8 @@ def is_intel_numpy():
430
430
431
431
if numpy_version () < "2.0.0" :
432
432
# numpy 1.26.4 has LAPACK name equals to 'dep140030038112336'
433
- return "mkl-dynamic" in blas ["name" ]
434
- return all ("mkl-dynamic" in dep ["name" ] for dep in [blas , lapack ])
433
+ return blas ["name" ]. startswith ( "mkl" )
434
+ return all (dep ["name" ]. startswith ( "mkl" ) for dep in [blas , lapack ])
435
435
436
436
437
437
def is_win_platform ():
You can’t perform that action at this time.
0 commit comments