-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ea40f9c
commit 0f1a40e
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
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. 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: | ||
> export NVTXW_BACKEND=/opt/nvidia/nsight-systems/2024.6.0/host-linux-x64/libNvtxwBackend.so | ||
|
||
3. Run like this: | ||
> ./target/jni/cmake-build/profiler/spark_rapids_profile_converter -w -o file3021460.nsys-rep [email protected] | ||
and get output similar to this: | ||
Backend implementation loaded! Applying config string... | ||
Loader config key/value pairs not provided | ||
Creating report: "file3021460.nsys-rep" | ||
- Created session: file3021460 | ||
Session config key/value pairs not provided | ||
- Created stream: Stream1 | ||
Domain: SparkRAPIDS | ||
Scope: | ||
- Destroyed stream: Stream1 | ||
3946 events imported | ||
- Destroyed session: file3021460 | ||
Backend implementation prepared for unload. | ||
|
||
4. Load into nsight systems UI: nsys-ui file3021460.nsys-rep |