We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e75a8a commit 9cdeb3fCopy full SHA for 9cdeb3f
examples/tutorials/05-switch-channel/Makefile
@@ -1,14 +1,7 @@
1
CUDA_HOME ?= /usr/local/cuda
2
-ROCM_HOME ?= /opt/rocm
3
4
-# Check if nvcc exists, otherwise use hipcc
5
-ifeq ($(shell which $(CUDA_HOME)/bin/nvcc 2>/dev/null),)
6
- COMPILER := $(ROCM_HOME)/bin/hipcc
7
- ARCH_FLAG := -D__HIP_PLATFORM_AMD__=1
8
-else
9
- COMPILER := $(CUDA_HOME)/bin/nvcc
10
- ARCH_FLAG := -arch=native
11
-endif
+COMPILER := $(CUDA_HOME)/bin/nvcc
+ARCH_FLAG := -arch=native
12
13
TARGET = bidir_switch_channel
14
SRC = bidir_switch_channel.cu
0 commit comments