Skip to content

Commit

Permalink
Implement NVTXW export
Browse files Browse the repository at this point in the history
  • Loading branch information
evanramos-nvidia committed Oct 8, 2024
1 parent bb995da commit ca6c5ba
Show file tree
Hide file tree
Showing 4 changed files with 532 additions and 0 deletions.
116 changes: 116 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ rust-version = "1.74"
default = []
client = ["dep:reqwest", "dep:url"]
server = ["dep:actix-cors", "dep:actix-web"]
nvtxw = ["dep:nvtxw"]

[dependencies]
egui = "0.25.0"
Expand Down Expand Up @@ -53,6 +54,8 @@ url = { version = "2", optional = true }
actix-web = { version = "4", optional = true }
actix-cors = { version = "0.6", optional = true }

# nvtxw:
nvtxw = { git = "https://github.com/NVIDIA/NVTX.git", branch = "nvtxw-rs", optional = true }

# native:
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
Expand Down
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ pub mod deferred_data;
pub mod file_data;
pub mod http;
pub mod merge_data;
#[cfg(feature = "nvtxw")]
pub mod nvtxw;
#[cfg(not(target_arch = "wasm32"))]
pub mod parallel_data;
pub mod timestamp;
Loading

0 comments on commit ca6c5ba

Please sign in to comment.