removed CUDA_PATH sentinel from HIP.make

This commit is contained in:
Peter Steinbach 2017-02-28 10:04:36 +01:00
parent ee7cd066ac
commit 350a151c3b

View File

@ -3,13 +3,7 @@
HIPCC = hipcc
ifndef CUDA_PATH
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
hip-stream: main.cpp HIPStream.cpp
$(HIPCC) $(CXXFLAGS) -std=c++11 -DHIP $^ $(EXTRA_FLAGS) -o $@
.PHONY: clean