Skip to content

Commit

Permalink
add coalesing rai_build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cwpearson committed Apr 22, 2020
1 parent 2df9295 commit 20e7e82
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions coalescing/rai_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
rai:
version: 0.2
image: cwpearson/nvidia-performance-tools:amd64-10.1-master-c4d1bb1
resources:
cpu:
architecture: amd64
gpu:
count: 1
network: false
cache: false
commands:
build:
- which nv-nsight-cu-cli
- nv-nsight-cu-cli --version
- nvidia-smi
- cp -r /src .
- cmake /src -DCMAKE_BUILD_TYPE=Release
- make
- echo "Check Nsight Configurations"
- bash -c "nv-nsight-cu-cli --devices 0 --query-metrics --query-metrics-mode all > metrics.txt"
- echo "Nsight Compute Results"
- nv-nsight-cu-cli --kernel-id "::indirect:1" --metrics l1tex__t_sectors_pipe_lsu_mem_global_op_ld.sum,l1tex__t_requests_pipe_lsu_mem_global_op_ld.sum main | tee coalesced.txt
- nv-nsight-cu-cli --kernel-id "::indirect:2" --metrics l1tex__t_sectors_pipe_lsu_mem_global_op_ld.sum,l1tex__t_requests_pipe_lsu_mem_global_op_ld.sum main | tee uncoalesced.txt
- nv-nsight-cu-cli --kernel-id "::indirect:1" --section ".*" -o coalesced main
- nv-nsight-cu-cli --kernel-id "::indirect:2" --section ".*" -o uncoalesced main

0 comments on commit 20e7e82

Please sign in to comment.