Skip to content

Commit

Permalink
Implement NVTXW export (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
evanramos-nvidia authored Oct 10, 2024
1 parent 4ad0248 commit 3396c8b
Show file tree
Hide file tree
Showing 4 changed files with 537 additions and 4 deletions.
125 changes: 121 additions & 4 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 = { version = "0.1", 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 3396c8b

Please sign in to comment.