removed CUDA_PATH sentinel from HIP.make
This commit is contained in:
parent
ee7cd066ac
commit
350a151c3b
8
HIP.make
8
HIP.make
@ -3,13 +3,7 @@
|
|||||||
|
|
||||||
HIPCC = hipcc
|
HIPCC = hipcc
|
||||||
|
|
||||||
ifndef CUDA_PATH
|
hip-stream: main.cpp HIPStream.cpp
|
||||||
ifeq (,$(wildcard /usr/local/bin/nvcc))
|
|
||||||
$(error /usr/local/bin/nvcc not found, set CUDA_PATH instead)
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
hip-stream: main.cpp HIPStream.cu
|
|
||||||
$(HIPCC) $(CXXFLAGS) -std=c++11 -DHIP $^ $(EXTRA_FLAGS) -o $@
|
$(HIPCC) $(CXXFLAGS) -std=c++11 -DHIP $^ $(EXTRA_FLAGS) -o $@
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user