File tree Expand file tree Collapse file tree 2 files changed +1
-23
lines changed
Expand file tree Collapse file tree 2 files changed +1
-23
lines changed Original file line number Diff line number Diff line change @@ -38,28 +38,8 @@ function (check_for_dpcpp)
3838 endif ()
3939endfunction ()
4040
41- function (check_for_numpy_inc)
42- string (COMPARE EQUAL "${NUMPY_INCLUDE_DIR} " "" no_numpy_inc)
43- if (${no_dpcpp_root} )
44- message (FATAL_ERROR "Set the NUMPY_INCLUDE_DIR argument providing the \
45- path to NumPy Headers." )
46- else ()
47- message (STATUS "NUMPY_INCLUDE_DIR: ${NUMPY_INCLUDE_DIR} " )
48- endif ()
49-
50- string (COMPARE EQUAL "${PYTHON_INCLUDE_DIR} " "" no_python_inc)
51- if (${no_dpcpp_root} )
52- message (FATAL_ERROR "Set the PYTHON_INCLUDE_DIR argument providing the \
53- path to Python Headers." )
54- else ()
55- message (STATUS "PYTHON_INCLUDE_DIR: ${PYTHON_INCLUDE_DIR} " )
56- endif ()
57- endfunction ()
58-
5941# Check for dpcpp in the specified DPCPP_ROOT
6042check_for_dpcpp()
61- # Check if the locations of Numpy and Python headers were provided
62- check_for_numpy_inc()
6343
6444if (WIN32 )
6545 set (CMAKE_CXX_COMPILER:PATH "${DPCPP_ROOT} /bin/dpcpp" )
@@ -104,8 +84,6 @@ target_include_directories(
10484 DPPLSyclInterface
10585 PRIVATE
10686 ${CMAKE_SOURCE_DIR} /include /
107- ${PYTHON_INCLUDE_DIR}
108- ${NUMPY_INCLUDE_DIR}
10987)
11088
11189if (WIN32 )
Original file line number Diff line number Diff line change @@ -387,7 +387,7 @@ cdef class SyclQueue:
387387 ret._context = ctx
388388 ret._device = dev
389389 return ret
390-
390+
391391 def __dealloc__ (self ):
392392 DPPLQueue_Delete(self ._queue_ref)
393393
You can’t perform that action at this time.
0 commit comments