[HIP] Search for hipcc in the preferred way
This commit is contained in:
parent
d664544afd
commit
1dc35f0d99
5
HIP.make
5
HIP.make
@ -1,7 +1,6 @@
|
|||||||
|
|
||||||
# TODO: HIP with HCC
|
HIP_PATH?= /opt/rocm/hip
|
||||||
|
HIPCC=$(HIP_PATH)/bin/hipcc
|
||||||
HIPCC = hipcc
|
|
||||||
|
|
||||||
hip-stream: main.cpp HIPStream.cpp
|
hip-stream: main.cpp HIPStream.cpp
|
||||||
$(HIPCC) $(CXXFLAGS) -std=c++11 -DHIP $^ $(EXTRA_FLAGS) -o $@
|
$(HIPCC) $(CXXFLAGS) -std=c++11 -DHIP $^ $(EXTRA_FLAGS) -o $@
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user