Debian Codegraph @

packages/kokkos-kernels/perf_test/batched/dense/scripts/profile.sh

raw
1 exec=$1
2 b=$2
3 testfile=$exec.$b.txt
4 #rm -f $testfile
5
6 echo $exec blk $b # > $testfile
7 nvprof --metrics \
8 achieved_occupancy,\
9 dram_read_throughput,dram_write_throughput,gst_throughput,gld_throughput,l2_l1_read_throughput,l2_tex_read_throughput,l2_tex_write_throughput,local_load_throughput,local_store_throughput,shared_load_throughput,shared_store_throughput,\
10 gld_efficiency,shared_efficiency,\
11 l1_cache_hit_rate,tex_cache_hit_rate,\
12 sm_efficiency,warp_execution_efficiency,branch_efficiency,\
13 stall_inst_fetch,stall_memory_dependency,stall_exec_dependency,stall_memory_throttle,stall_pipe_busy,stall_not_selected \
14 ./$exec -B $b |& tee $testfile
15
16
17