f378b67565
* occupancy.cpp with Makefile
* occupancy sample changes according tothe comments
* Changes according to the review comments
* Occupancy Sample Changes
* Changes according to review comments
[ROCm/hip commit: f807cc1a7b]
21 строка
242 B
Makefile
21 строка
242 B
Makefile
HIP_PATH?= $(wildcard /opt/rocm/hip)
|
|
ifeq (,$(HIP_PATH))
|
|
HIP_PATH=../../..
|
|
endif
|
|
HIPCC=$(HIP_PATH)/bin/hipcc
|
|
|
|
EXE=./occupancy
|
|
|
|
.PHONY: test
|
|
|
|
all: test
|
|
|
|
$(EXE): occupancy.cpp
|
|
$(HIPCC) $^ -o $@
|
|
|
|
test: $(EXE)
|
|
$(EXE)
|
|
|
|
clean:
|
|
rm -f *.o $(EXE)
|