Skip to content

Commit 09a4358

Browse files
committed
add README for nvtxw project
1 parent 754eef2 commit 09a4358

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
1. NvtxwEvents.h, NvtxwEvents.cpp are copied from Nsight Systems source code. They need to be kept in sync between this project and Nsight Systems.
2+
3+
2. Need to set the NVTXW_BACKEND environment variable for the libNvtxwBackend.so library in the host directory a current build of Nsight Systems. For example:
4+
> export NVTXW_BACKEND=/opt/nvidia/nsight-systems/2024.6.0/host-linux-x64/libNvtxwBackend.so
5+
6+
3. Run like this:
7+
> ./target/jni/cmake-build/profiler/spark_rapids_profile_converter -w -o file3021460.nsys-rep [email protected]
8+
and get output similar to this:
9+
Backend implementation loaded! Applying config string...
10+
Loader config key/value pairs not provided
11+
Creating report: "file3021460.nsys-rep"
12+
- Created session: file3021460
13+
Session config key/value pairs not provided
14+
- Created stream: Stream1
15+
Domain: SparkRAPIDS
16+
Scope:
17+
- Destroyed stream: Stream1
18+
3946 events imported
19+
- Destroyed session: file3021460
20+
Backend implementation prepared for unload.
21+
22+
4. Load into nsight systems UI: nsys-ui file3021460.nsys-rep

0 commit comments

Comments
 (0)