BabelStream/src/hip/Makefile
Tom Lin 5318404249 Use ./src instead of ./cpp
Create subdir for each cpp-based implementation
2021-05-26 17:46:07 +01:00

12 lines
210 B
Makefile

HIP_PATH?= /opt/rocm/hip
HIPCC=$(HIP_PATH)/bin/hipcc
hip-stream: ../main.cpp HIPStream.cpp
$(HIPCC) $(CXXFLAGS) -O3 -std=c++11 -DHIP $^ $(EXTRA_FLAGS) -o $@ -I. -I..
.PHONY: clean
clean:
rm -f hip-stream