Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Could not build with CUDA_ARCH_LIST=Common #16852

Answered by leezu
hubutui asked this question in Q&A
Discussion options

You must be logged in to vote
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mcmodel=medium -Wl,--no-relax")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mcmodel=medium -Wl,--no-relax")

the , is required

Replies: 8 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by szha
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #16852 on September 05, 2020 19:32.