Skip to content

Commit

Permalink
Fix Cmake for windows OD
Browse files Browse the repository at this point in the history
Signed-off-by: Ahmed, Daiyaan <[email protected]>
  • Loading branch information
daiyaan-ahmed6 committed Jan 9, 2024
1 parent 261586a commit 5b21ba1
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
cmake_minimum_required(VERSION 3.10)
project(foo LANGUAGES CXX )
project(foo)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsycl")
find_program(dpct_bin_path NAMES dpct PATHS)
get_filename_component(bin_path_of_dpct ${dpct_bin_path} DIRECTORY)
set(dpct_cmake_file_path "${bin_path_of_dpct}/../cmake/dpct.cmake")
include(${dpct_cmake_file_path})
find_package(CUDAToolkit)
include_directories(${CUDNN_INCLUDE_DIR})

set(SOURCES
${CMAKE_SOURCE_DIR}/main.dp.cpp
Expand Down

0 comments on commit 5b21ba1

Please sign in to comment.