Enabling rocTX markers for migraphx-driver via roctx knob (#946)
Added features:
This enables wrapping each migraphx operator with rocTX markers.
It adds new knob trace to migraphx-driver binary.
Limitation:
rocTX standalone does not output a file, it needs to be used with rocprof. Example command line:
/opt/rocm/bin/rocprof -i ./in.txt --hip-trace --roctx-trace --flush-rate 10ms --timestamp on -d cagri_out --obj-tracking on /opt/rocm/bin/migraphx-driver trace ./resnet50-v2-7.onnx --onnx --gpu
Co-authored-by:
Shucai Xiao <shucai@gmail.com>
Showing
src/driver/CMakeLists.txt
100644 → 100755
src/driver/marker_roctx.cpp
0 → 100644
src/driver/marker_roctx.hpp
0 → 100755
src/dynamic_loader.cpp
100644 → 100755
src/include/migraphx/program.hpp
100644 → 100755
src/program.cpp
100644 → 100755
test/marker.cpp
0 → 100755
tools/include/marker.hpp
0 → 100755
Please register or sign in to comment