Verified Commit 22b6f8b2 authored by Guilherme Amadio's avatar Guilherme Amadio
Browse files

Revert "Use virtual architecture to setup default CUDA_ARCH"

This reverts commit 8b7d0d05.
An unintended consequence is that now only PTX is generated by
default, unless CUDA_NVCC_FLAGS is used to generate code for
specific devices.
parent 8b7d0d05
Pipeline #1825687 passed with stage
in 9 minutes and 55 seconds
......@@ -133,7 +133,7 @@ if(CUDA)
set(CUDA_ARCH 30 CACHE STRING "CUDA device architecture.")
set(CUDA_ARCH "-arch=compute_${CUDA_ARCH}")
set(CUDA_ARCH "-arch=sm_${CUDA_ARCH}")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment