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 77ef1a5 commit 27c26a5Copy full SHA for 27c26a5
CMakeLists.txt
@@ -23,7 +23,9 @@ cmake_print_variables(Python_NumPy_INCLUDE_DIRS)
23
set(CYTHON_FLAGS "-t -w \"${CMAKE_SOURCE_DIR}\"")
24
find_package(Cython REQUIRED)
25
26
-set(MKL_LINK sdl)
+set(MKL_INTERFACE ilp64)
27
+set(MKL_THREADING tbb_thread)
28
+set(MKL_LINK dynamic)
29
find_package(MKL REQUIRED)
30
31
if(WIN32)
mkl_umath/tests/test_basic.py
@@ -85,3 +85,10 @@ def test_umath(case):
85
def test_cases_count():
86
print("Test cases count:", len(test_cases))
87
assert len(test_cases) > 0, "No test cases found"
88
+
89
+def test_large():
90
+ n = 2**31
91
+ data = np.ones(n)
92
+ mkl_res = mu.absolute(data)
93
+ assert np.allclose(mkl_res, 1.0)
94
0 commit comments