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)
38
38
endif ()
39
39
endfunction ()
40
40
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
-
59
41
# Check for dpcpp in the specified DPCPP_ROOT
60
42
check_for_dpcpp ()
61
- # Check if the locations of Numpy and Python headers were provided
62
- check_for_numpy_inc ()
63
43
64
44
if (WIN32 )
65
45
set (CMAKE_CXX_COMPILER :PATH "${DPCPP_ROOT} /bin/dpcpp" )
@@ -104,8 +84,6 @@ target_include_directories(
104
84
DPPLSyclInterface
105
85
PRIVATE
106
86
${CMAKE_SOURCE_DIR} /include/
107
- ${PYTHON_INCLUDE_DIR}
108
- ${NUMPY_INCLUDE_DIR}
109
87
)
110
88
111
89
if (WIN32 )
Original file line number Diff line number Diff line change @@ -387,7 +387,7 @@ cdef class SyclQueue:
387
387
ret._context = ctx
388
388
ret._device = dev
389
389
return ret
390
-
390
+
391
391
def __dealloc__ (self ):
392
392
DPPLQueue_Delete(self ._queue_ref)
393
393
You can’t perform that action at this time.
0 commit comments