File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -344,14 +344,14 @@ if(DEFINED SKBUILD)
344344 set (_ignore_me ${SKBUILD} )
345345endif ()
346346
347- # DpctlExtCAPI : Interface library for dpctl_ext C-API
347+ # DpnpTensorCAPI : Interface library for dpnp tensor C-API
348348# Provides access to:
349- # 1. Public C-API headers from dpctl_ext/apis /include
349+ # 1. Public C-API headers from dpnp /include
350350# 2. Generated Cython headers via per-target header interface libraries
351351
352- add_library (DpctlExtCAPI INTERFACE )
352+ add_library (DpnpTensorCAPI INTERFACE )
353353target_include_directories (
354- DpctlExtCAPI
354+ DpnpTensorCAPI
355355 INTERFACE ${CMAKE_CURRENT_SOURCE_DIR} /dpnp/include ${CMAKE_BINARY_DIR} /dpnp/tensor
356356)
357357
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ set(_module_src
3939pybind11_add_module (${python_module_name} MODULE ${_module_src} )
4040add_sycl_to_target (TARGET ${python_module_name} SOURCES ${_module_src} )
4141
42- target_link_libraries (${python_module_name} PRIVATE DpctlExtCAPI )
42+ target_link_libraries (${python_module_name} PRIVATE DpnpTensorCAPI )
4343
4444if (_dpnp_sycl_targets)
4545 # make fat binary
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ set(_module_src ${CMAKE_CURRENT_SOURCE_DIR}/fft_py.cpp)
3333pybind11_add_module (${python_module_name} MODULE ${_module_src} )
3434add_sycl_to_target (TARGET ${python_module_name} SOURCES ${_module_src} )
3535
36- target_link_libraries (${python_module_name} PRIVATE DpctlExtCAPI )
36+ target_link_libraries (${python_module_name} PRIVATE DpnpTensorCAPI )
3737
3838if (_dpnp_sycl_targets)
3939 # make fat binary
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ set(_module_src
3636pybind11_add_module (${python_module_name} MODULE ${_module_src} )
3737add_sycl_to_target (TARGET ${python_module_name} SOURCES ${_module_src} )
3838
39- target_link_libraries (${python_module_name} PRIVATE DpctlExtCAPI )
39+ target_link_libraries (${python_module_name} PRIVATE DpnpTensorCAPI )
4040
4141if (_dpnp_sycl_targets)
4242 # make fat binary
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ set(_module_src
5555
5656pybind11_add_module (${python_module_name} MODULE ${_module_src} )
5757add_sycl_to_target (TARGET ${python_module_name} SOURCES ${_module_src} )
58- target_link_libraries (${python_module_name} PRIVATE DpctlExtCAPI )
58+ target_link_libraries (${python_module_name} PRIVATE DpnpTensorCAPI )
5959
6060if (_dpnp_sycl_targets)
6161 # make fat binary
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ set(_module_src
4141pybind11_add_module (${python_module_name} MODULE ${_module_src} )
4242add_sycl_to_target (TARGET ${python_module_name} SOURCES ${_module_src} )
4343
44- target_link_libraries (${python_module_name} PRIVATE DpctlExtCAPI )
44+ target_link_libraries (${python_module_name} PRIVATE DpnpTensorCAPI )
4545
4646if (_dpnp_sycl_targets)
4747 # make fat binary
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ set(_module_src
6767pybind11_add_module (${python_module_name} MODULE ${_module_src} )
6868add_sycl_to_target (TARGET ${python_module_name} SOURCES ${_module_src} )
6969
70- target_link_libraries (${python_module_name} PRIVATE DpctlExtCAPI )
70+ target_link_libraries (${python_module_name} PRIVATE DpnpTensorCAPI )
7171
7272if (WIN32 )
7373 if (${CMAKE_VERSION} VERSION_LESS "3.27" )
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ set(python_module_name _vm_impl)
9090pybind11_add_module (${python_module_name} MODULE ${_module_src} )
9191add_sycl_to_target (TARGET ${python_module_name} SOURCES ${_module_src} )
9292
93- target_link_libraries (${python_module_name} PRIVATE DpctlExtCAPI )
93+ target_link_libraries (${python_module_name} PRIVATE DpnpTensorCAPI )
9494
9595if (WIN32 )
9696 if (${CMAKE_VERSION} VERSION_LESS "3.27" )
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ set(_module_src
3636pybind11_add_module (${python_module_name} MODULE ${_module_src} )
3737add_sycl_to_target (TARGET ${python_module_name} SOURCES ${_module_src} )
3838
39- target_link_libraries (${python_module_name} PRIVATE DpctlExtCAPI )
39+ target_link_libraries (${python_module_name} PRIVATE DpnpTensorCAPI )
4040
4141if (_dpnp_sycl_targets)
4242 # make fat binary
Original file line number Diff line number Diff line change @@ -47,8 +47,7 @@ foreach(_cy_file ${_cython_sources})
4747 get_filename_component (_trgt ${_cy_file} NAME_WLE )
4848 build_dpctl_ext (${_trgt} ${_cy_file} "dpnp/tensor" RELATIVE_PATH ".." )
4949 target_include_directories (${_trgt} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} /include )
50- # target_link_libraries(DpctlCAPI INTERFACE ${_trgt}_headers)
51- target_link_libraries (DpctlExtCAPI INTERFACE ${_trgt} _headers )
50+ target_link_libraries (DpnpTensorCAPI INTERFACE ${_trgt} _headers )
5251endforeach ()
5352
5453if (WIN32 )
@@ -357,10 +356,9 @@ foreach(python_module_name ${_py_trgts})
357356 )
358357 endif ()
359358 # TODO: update source so they reference individual libraries instead of
360- # dpctl4pybind11.hpp. It will allow to simplify dependency tree
361- # NOTE: dpctl C-API is resolved at runtime via Python
362- # target_link_libraries(${python_module_name} PRIVATE DpctlCAPI)
363- target_link_libraries (${python_module_name} PRIVATE DpctlExtCAPI )
359+ # dpnp4pybind11.hpp. It will allow to simplify dependency tree
360+ # NOTE: dpnp tensor C-API is resolved at runtime via Python
361+ target_link_libraries (${python_module_name} PRIVATE DpnpTensorCAPI )
364362 if (DPNP_WITH_REDIST)
365363 set_target_properties (
366364 ${python_module_name}
You can’t perform that action at this time.
0 commit comments