[HIP] Search for hipcc in the preferred way

This commit is contained in:
Maneesh Gupta 2018-03-19 15:34:07 +05:30
parent d664544afd
commit 1dc35f0d99

View File

@ -1,7 +1,6 @@
# TODO: HIP with HCC
HIPCC = hipcc
HIP_PATH?= /opt/rocm/hip
HIPCC=$(HIP_PATH)/bin/hipcc
hip-stream: main.cpp HIPStream.cpp
$(HIPCC) $(CXXFLAGS) -std=c++11 -DHIP $^ $(EXTRA_FLAGS) -o $@