Skip to content

Commit afa1b86

Browse files
Merge pull request #1031 from IntelPython/update-pybind11-used
2 parents 41c48b4 + 920e6df commit afa1b86

File tree

12 files changed

+13
-12
lines changed

12 files changed

+13
-12
lines changed

.github/workflows/conda-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ jobs:
452452
-DMKL_INCLUDE_DIR=${MKLROOT}/include \
453453
-DTBB_INCLUDE_DIR=${TBBROOT}/include || exit 1
454454
else
455-
CC=dpcpp CXX=dpcpp LDSHARED="dpcpp -shared" \
455+
CC=icx CXX=icpx CFLAGS="-fsycl" LDSHARED="dpcpp -shared" \
456456
python setup.py build_ext --inplace || exit 1
457457
fi
458458
conda deactivate

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ include(FetchContent)
3333

3434
FetchContent_Declare(
3535
pybind11
36-
URL https://github.com/pybind/pybind11/archive/refs/tags/v2.10.1.tar.gz
37-
URL_HASH SHA256=111014b516b625083bef701df7880f78c2243835abdb263065b6b59b960b6bad
36+
URL https://github.com/pybind/pybind11/archive/refs/tags/v2.10.2.tar.gz
37+
URL_HASH SHA256=93bd1e625e43e03028a3ea7389bba5d3f9f2596abc074b068e70f4ef9b1314ae
3838
)
3939
FetchContent_MakeAvailable(pybind11)
4040

examples/pybind11/external_usm_allocation/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ set(CMAKE_CXX_STANDARD_REQUIRED True)
1313
include(FetchContent)
1414
FetchContent_Declare(
1515
pybind11
16-
URL https://github.com/pybind/pybind11/archive/refs/tags/v2.10.1.tar.gz
17-
URL_HASH SHA256=111014b516b625083bef701df7880f78c2243835abdb263065b6b59b960b6bad
16+
URL https://github.com/pybind/pybind11/archive/refs/tags/v2.10.2.tar.gz
17+
URL_HASH SHA256=93bd1e625e43e03028a3ea7389bba5d3f9f2596abc074b068e70f4ef9b1314ae
1818
)
1919
FetchContent_MakeAvailable(pybind11)
2020

examples/pybind11/onemkl_gemv/CMakeLists.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ include(GNUInstallDirs)
1717
include(FetchContent)
1818
FetchContent_Declare(
1919
pybind11
20-
URL https://github.com/pybind/pybind11/archive/refs/tags/v2.10.1.tar.gz
21-
URL_HASH SHA256=111014b516b625083bef701df7880f78c2243835abdb263065b6b59b960b6bad
20+
URL https://github.com/pybind/pybind11/archive/refs/tags/v2.10.2.tar.gz
21+
URL_HASH SHA256=93bd1e625e43e03028a3ea7389bba5d3f9f2596abc074b068e70f4ef9b1314ae
2222
)
2323
FetchContent_MakeAvailable(pybind11)
2424

@@ -38,8 +38,9 @@ pybind11_add_module(${py_module_name}
3838
MODULE
3939
sycl_gemm/_onemkl.cpp
4040
)
41+
target_compile_definitions(${py_module_name} PRIVATE -DMKL_ILP64)
4142
target_include_directories(${py_module_name}
42-
PUBLIC ${MKL_INCLUDE_DIR} ${TBB_INCLUDE_DIR} sycl_gemm
43+
PUBLIC ${MKL_INCLUDE_DIR} sycl_gemm
4344
)
4445
target_link_libraries(${py_module_name}
4546
PRIVATE ${mkl_sycl} ${mkl_intel_ilp64} ${mkl_tbb_thread} ${mkl_core} ${tbb}

examples/pybind11/use_dpctl_sycl_kernel/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ set(CMAKE_BUILD_TYPE Debug)
1414
include(FetchContent)
1515
FetchContent_Declare(
1616
pybind11
17-
URL https://github.com/pybind/pybind11/archive/refs/tags/v2.10.0.tar.gz
18-
URL_HASH SHA256=eacf582fa8f696227988d08cfc46121770823839fe9e301a20fbce67e7cd70ec
17+
URL https://github.com/pybind/pybind11/archive/refs/tags/v2.10.2.tar.gz
18+
URL_HASH SHA256=93bd1e625e43e03028a3ea7389bba5d3f9f2596abc074b068e70f4ef9b1314ae
1919
)
2020
FetchContent_MakeAvailable(pybind11)
2121

examples/pybind11/use_dpctl_syclqueue/CMakeLists.txt renamed to examples/pybind11/use_dpctl_sycl_queue/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ set(CMAKE_CXX_STANDARD_REQUIRED True)
1313
include(FetchContent)
1414
FetchContent_Declare(
1515
pybind11
16-
URL https://github.com/pybind/pybind11/archive/refs/tags/v2.10.1.tar.gz
17-
URL_HASH SHA256=111014b516b625083bef701df7880f78c2243835abdb263065b6b59b960b6bad
16+
URL https://github.com/pybind/pybind11/archive/refs/tags/v2.10.2.tar.gz
17+
URL_HASH SHA256=93bd1e625e43e03028a3ea7389bba5d3f9f2596abc074b068e70f4ef9b1314ae
1818
)
1919
FetchContent_MakeAvailable(pybind11)
2020

0 commit comments

Comments
 (0)