Added _cuda_ to the name of the executable to indicate that it's not clang's version.
This commit is contained in:
parent
81957b3a3d
commit
df4b4e4bb6
@ -155,7 +155,8 @@ endif
|
||||
# compiler=clang Enables compilation with clang.
|
||||
|
||||
ifeq ($(compiler), clang)
|
||||
BIN_SUFFIX := sm$(SM_ARCH)_clang_$(NVCC_VERSION)
|
||||
# NVCC_VERSION is used as the proxy for the CUDA version.
|
||||
BIN_SUFFIX := sm$(SM_ARCH)_clang_cuda_$(NVCC_VERSION)
|
||||
# Clangs needs few extra flags to point it to CUDA SDK
|
||||
# and link the binaries with CUDA runtime.
|
||||
CUDA_BASE=$(realpath $(join $(dir $(shell which nvcc)), ..))
|
||||
|
Loading…
Reference in New Issue
Block a user