• Guilherme Amadio's avatar
    Use virtual architecture to setup default CUDA_ARCH · 8b7d0d05
    Guilherme Amadio authored
    This allows to set CUDA_NVCC_FLAGS containing something like
    -code=sm_75 to compile not to PTX, but to binary code for a
    particular GPU architecture. This is useful to avoid large
    startup times due to the CUDA runtime compiling the PTX just
    in time later.
    8b7d0d05