Skip to content

Commit 21f8681

Browse files
committed
use openMP for threading instead of TBB
1 parent 14ca809 commit 21f8681

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/build_pip.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242

4343
- name: Install Compiler and MKL
4444
run: |
45-
conda install mkl-devel tbb-devel dpcpp_linux-64
45+
conda install mkl-devel dpcpp_linux-64
4646
python -c "import sys; print(sys.executable)"
4747
which python
4848

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ cmake_print_variables(Python_NumPy_INCLUDE_DIRS)
2323
set(CYTHON_FLAGS "-t -w \"${CMAKE_SOURCE_DIR}\"")
2424
find_package(Cython REQUIRED)
2525

26-
find_package(TBB REQUIRED)
26+
find_package(OpenMP REQUIRED)
2727
set(MKL_ARCH "intel64")
2828
set(MKL_LINK "dynamic")
29-
set(MKL_THREADING "tbb_thread")
29+
set(MKL_THREADING "intel_thread")
3030
set(MKL_INTERFACE "lp64")
3131
find_package(MKL REQUIRED)
3232

conda-recipe/meta.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ requirements:
2828
- python
2929
- python-gil # [py>=314]
3030
- mkl-devel
31-
- tbb-devel
3231
- numpy-base
3332
- wheel >=0.41.3
3433
run:

0 commit comments

Comments
 (0)