• Cagri's avatar
    Enabling rocTX markers for migraphx-driver via roctx knob (#946) · 4a71ec8c
    Cagri authored
    
    
    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: default avatarShucai Xiao <shucai@gmail.com>
    4a71ec8c
marker_roctx.cpp 1.62 KB