File tree 1 file changed +14
-0
lines changed
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -16,3 +16,17 @@ apt-get install -y nsight-compute nsight-systems-cli
16
16
apt-get clean
17
17
18
18
rm -rf /var/lib/apt/lists/*
19
+
20
+ # "Wrong event order has been detected when adding events to the collection"
21
+ # workaround during nsys report post-processing with 2024.1.1 and CUDA 12.3
22
+ NSYS202411=/opt/nvidia/nsight-systems-cli/2024.1.1
23
+ if [[ -d " ${NSYS202411} " ]]; then
24
+ LIBCUPTI123=/opt/nvidia/nsight-compute/2023.3.0/host/target-linux-x64/libcupti.so.12.3
25
+ if [[ ! -f " ${LIBCUPTI123} " ]]; then
26
+ echo " 2024.1.1 workaround expects to be running inside 12.3.0 container"
27
+ exit 1
28
+ fi
29
+ # Use libcupti.so.12.3 because this is a CUDA 12.3 container
30
+ ln -s " ${LIBCUPTI123} " " ${NSYS202411} /target-linux-x64/libcupti.so.12.3"
31
+ mv " ${NSYS202411} /target-linux-x64/libcupti.so.12.4" " ${NSYS202411} /target-linux-x64/_libcupti.so.12.4"
32
+ fi
You can’t perform that action at this time.
0 commit comments