ROCm tensile replacement kernel development utils.
- rkgen generate replacement kernel template: *.sp3.
- sp3cc compile *.sp3 to *.inc
- rkbuild build *.co with *.inc
- rkperf perf the kernel with various kinds of problem sizes
- $ cd tensile_rkutils && source setup_env
- $ rkgen -f <path/to/config file: config/MT64x128x32.json> [-o path/to/output.sp3]
- $ sp3cc <path/to/*.sp3>
- $ cd 1_BenchmarkProblems/*/00_Final/source/assembly
- $ rkbuild <path/to/*.inc>
- $ cd 1_BenchmarkProblems/*/00_Final/build
- $ rkperf -g conf.json # Create profile
- Modify problem sizes in conf.json
- $ rkperf -f conf.json # Read the output *.csv using execl.