Skip to content

Commit

Permalink
Hot fix for gpu build wheel v2
Browse files Browse the repository at this point in the history
  • Loading branch information
taoboyang committed Dec 13, 2023
1 parent f5c0f2b commit 8b13e07
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bmf/hml/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ if(HMP_ENABLE_CUDA)
list(APPEND HMP_SRCS ${CUDA_SRCS} ${CUDA_KERN_SRCS})
list(APPEND HMP_HDRS ${CUDA_HDRS})
add_library(hmp ${HMP_SRCS} ${HMP_HDRS})
set_target_properties(hmp PROPERTIES
CUDA_STANDARD 17
CUDA_STANDARD_REQUIRED ON
)
else()
add_library(hmp ${HMP_SRCS} ${HMP_HDRS})
endif()
Expand Down

0 comments on commit 8b13e07

Please sign in to comment.