Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 0 additions & 34 deletions backends/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,6 @@ else()
message(FATAL_ERROR "Unsupported system.")
endif()


set(OpenCL_INCLUDE_DIR "${DPCPP_ROOT}/include/sycl")
set(OpenCL_LIBRARY "${DPCPP_ROOT}/lib/libOpenCL.so")

message(STATUS "OpenCL_INCLUDE_DIR: ${OpenCL_INCLUDE_DIR}")
message(STATUS "OpenCL_LIBRARY: ${OpenCL_LIBRARY}")

add_library(
DPPLSyclInterface
SHARED
Expand All @@ -108,13 +101,6 @@ add_library(
source/dppl_utils.cpp
)

# Install DPPLOpenCLInterface
add_library(
DPPLOpenCLInterface
SHARED
source/dppl_opencl_interface.c
)

# Install DPPLSyclInterface
target_include_directories(
DPPLSyclInterface
Expand All @@ -124,18 +110,6 @@ target_include_directories(
${NUMPY_INCLUDE_DIR}
)

target_include_directories(
DPPLOpenCLInterface
PRIVATE
${CMAKE_SOURCE_DIR}/include/
)

target_include_directories(
DPPLOpenCLInterface
PUBLIC
${OpenCL_INCLUDE_DIR}
)

if(WIN32)
message(
STATUS
Expand Down Expand Up @@ -165,14 +139,6 @@ install(
"${CMAKE_INSTALL_PREFIX}/lib/"
)

install(
TARGETS
DPPLOpenCLInterface
LIBRARY
DESTINATION
"${CMAKE_INSTALL_PREFIX}/lib/"
)

# Install all headers
file(GLOB HEADERS "${CMAKE_SOURCE_DIR}/include/*.h*")
foreach(HEADER ${HEADERS})
Expand Down
312 changes: 0 additions & 312 deletions backends/include/dppl_opencl_interface.h

This file was deleted.

Loading