Skip to content

Commit e5a7a2d

Browse files
committed
remove tensor from dpctl cmake
1 parent 80d60d4 commit e5a7a2d

1 file changed

Lines changed: 2 additions & 11 deletions

File tree

cmake/dpctl-config.cmake

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,12 @@
88
# True if DPCTL was found.
99
# ``Dpctl_INCLUDE_DIR``
1010
# The include directory needed to use dpctl.
11-
# ``Dpctl_TENSOR_INCLUDE_DIR``
12-
# The include directory for tensor kernels implementation.
1311
# ``Dpctl_VERSION``
1412
# The version of dpctl found.
1513
#
1614
# The module will also explicitly define two cache variables:
1715
#
1816
# ``Dpctl_INCLUDE_DIR``
19-
# ``Dpctl_TENSOR_INCLUDE_DIR``
2017
#
2118

2219
if(NOT Dpctl_FOUND)
@@ -46,21 +43,15 @@ find_path(Dpctl_INCLUDE_DIR
4643
)
4744
get_filename_component(_dpctl_dir ${_dpctl_include_dir} DIRECTORY)
4845

49-
find_path(Dpctl_TENSOR_INCLUDE_DIR
50-
kernels utils
51-
PATHS "${_dpctl_dir}/tensor/libtensor/include"
52-
)
53-
5446
set(Dpctl_INCLUDE_DIRS ${Dpctl_INCLUDE_DIR})
5547

5648
# handle the QUIETLY and REQUIRED arguments and set Dpctl_FOUND to TRUE if
5749
# all listed variables are TRUE
5850
include(FindPackageHandleStandardArgs)
5951
find_package_handle_standard_args(Dpctl
6052
REQUIRED_VARS
61-
Dpctl_INCLUDE_DIR Dpctl_TENSOR_INCLUDE_DIR
62-
VERSION_VAR Dpctl_VERSION
53+
Dpctl_INCLUDE_DIR VERSION_VAR
54+
Dpctl_VERSION
6355
)
6456

6557
mark_as_advanced(Dpctl_INCLUDE_DIR)
66-
mark_as_advanced(Dpctl_TENSOR_INCLUDE_DIR)

0 commit comments

Comments
 (0)