Skip to content

Commit

Permalink
Cmake cuda flags as GPU build is failing
Browse files Browse the repository at this point in the history
  • Loading branch information
Tushar Dey committed Jan 21, 2021
1 parent 4de6d1b commit 004cf83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ if(USE_CUDA)
set(CMAKE_CUDA_STANDARD_REQUIRED ON)
endif()
enable_language(CUDA)
set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} --expt-extended-lambda")
file(GLOB CONTRIB_THRUST_SRC ${TVM_SRC}/src/runtime/contrib/thrust/*.cu)
list(APPEND RUNTIME_CUDA_SRCS ${CONTRIB_THRUST_SRC})

Expand Down

0 comments on commit 004cf83

Please sign in to comment.