File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
2219if (NOT Dpctl_FOUND)
@@ -46,21 +43,15 @@ find_path(Dpctl_INCLUDE_DIR
4643 )
4744get_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-
5446set (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
5850include (FindPackageHandleStandardArgs )
5951find_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
6557mark_as_advanced (Dpctl_INCLUDE_DIR )
66- mark_as_advanced (Dpctl_TENSOR_INCLUDE_DIR )
You can’t perform that action at this time.
0 commit comments