Files
rocm-systems/examples/transpose/Makefile.in
T
Jonathan R. Madsen fc7cc1e68f timemory submodule (#1)
- library now wraps fork() to warn about fork + OpenMPI
2021-08-17 17:34:34 -05:00

40 rivejä
744 B
Makefile

CXXFLAGS += -std=c++@CMAKE_CXX_STANDARD@ @transpose_CXX_FLAGS@
LINKFLAGS := @transpose_LINK_FLAGS@
all: transpose
debug: CXXFLAGS += -ggdb -g
debug: transpose
transpose: transpose.cpp
hipcc ${CXXFLAGS} -o $@ $^ ${LINKFLAGS}
.PHONY: clean
run:
./transpose
run.verbose:
AMD_LOG_LEVEL=3, AMD_LOG_MASK=128 ./transpose
rd:
rocgdb --args ./transpose
prof.trace:
rocprof --hip-trace --stats ./transpose
prof:
rocprof --obj-tracking on -i profile.txt ./transpose
prof.full:
rocprof --obj-tracking on -i profile.txt -m custom_metric.xml ./transpose
callgrind:
valgrind --tool=callgrind ./transpose
callgrind.ann:
callgrind_annotate --inclusive=yes --tree=both callgrind.out.* > callgrind.out
clean:
rm -f transpose *.o results.*