Files
rocm-systems/projects/hip/samples/2_Cookbook/13_occupancy/Makefile
T
satyanveshd f378b67565 [sample] add new cookbook sample - occupancy (#1352)
* 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]
2019-08-29 01:01:49 +00:00

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)