Skip to content

Commit

Permalink
Move zluda_dump to the new CUDA infrastructure
Browse files Browse the repository at this point in the history
  • Loading branch information
vosen committed Jan 7, 2022
1 parent 9390db9 commit 869efbe
Show file tree
Hide file tree
Showing 14 changed files with 3,338 additions and 2,997 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[workspace]

members = [
"cuda_base",
"cuda_types",
"detours-sys",
"hip_runtime-sys",
"level_zero-sys",
Expand Down
14 changes: 14 additions & 0 deletions cuda_base/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[package]
name = "cuda_base"
version = "0.0.0"
authors = ["Andrzej Janik <vosen@vosen.pl>"]
edition = "2018"

[dependencies]
quote = "1.0"
syn = { version = "1.0", features = ["full", "visit-mut"] }
proc-macro2 = "1.0"
rustc-hash = "1.1.0"

[lib]
proc-macro = true
1 change: 1 addition & 0 deletions cuda_base/README
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bindgen /usr/local/cuda/include/cuda.h -o src/cuda.rs --with-derive-eq --whitelist-function="^cu.*" --whitelist-var="^CU.*" --size_t-is-usize --default-enum-style=newtype --no-layout-tests --no-doc-comments --no-derive-debug --new-type-alias "^CUdevice_v\d+$|^CUdeviceptr_v\d+$" --must-use-type "cudaError_enum" -- -D__CUDA_API_VERSION_INTERNAL
Loading

0 comments on commit 869efbe

Please sign in to comment.