diff --git a/crates/cuda_builder/Cargo.toml b/crates/cuda_builder/Cargo.toml index a875072..1c9e0d8 100644 --- a/crates/cuda_builder/Cargo.toml +++ b/crates/cuda_builder/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cuda_builder" -version = "0.1.0" +version = "0.2.0" edition = "2021" authors = ["Riccardo D'Ambrosio ", "The rust-gpu Authors"] license = "MIT OR Apache-2.0" @@ -9,7 +9,7 @@ repository = "https://github.com/Rust-GPU/Rust-CUDA" readme = "../../README.md" [dependencies] -rustc_codegen_nvvm = { version = "0.1", path = "../rustc_codegen_nvvm" } +rustc_codegen_nvvm = { version = "0.2", path = "../rustc_codegen_nvvm" } nvvm = { path = "../nvvm", version = "0.1" } serde = { version = "1.0.130", features = ["derive"] } serde_json = "1.0.68" diff --git a/crates/cuda_std/CHANGELOG.md b/crates/cuda_std/CHANGELOG.md index 27ff7ea..fee9fa9 100644 --- a/crates/cuda_std/CHANGELOG.md +++ b/crates/cuda_std/CHANGELOG.md @@ -4,6 +4,8 @@ Notable changes to this project will be documented in this file. ## Unreleased +## 0.2.0 - 12/5/21 + - Added `#[externally_visible]` in conjunction with cg_nvvm dead code elimination changes to mark that a function is externally visible. - Added `#[address_space(...)]` in conjunction with cg_nvvm address space changes. Only meant for internal use diff --git a/crates/cuda_std/Cargo.toml b/crates/cuda_std/Cargo.toml index f184e30..6695407 100644 --- a/crates/cuda_std/Cargo.toml +++ b/crates/cuda_std/Cargo.toml @@ -9,7 +9,7 @@ readme = "../../README.md" [dependencies] vek = { version = "0.15.1", default-features = false, features = ["libm"] } -cuda_std_macros = { version = "0.1", path = "../cuda_std_macros" } +cuda_std_macros = { version = "0.2", path = "../cuda_std_macros" } half = "1.7.1" bitflags = "1.3.2" paste = "1.0.5" diff --git a/crates/cuda_std_macros/Cargo.toml b/crates/cuda_std_macros/Cargo.toml index e45cfa8..fa31230 100644 --- a/crates/cuda_std_macros/Cargo.toml +++ b/crates/cuda_std_macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cuda_std_macros" -version = "0.1.0" +version = "0.2.0" edition = "2018" license = "MIT OR Apache-2.0" description = "Macros for cuda_std" diff --git a/crates/cust/CHANGELOG.md b/crates/cust/CHANGELOG.md index f5a03f9..1a12fda 100644 --- a/crates/cust/CHANGELOG.md +++ b/crates/cust/CHANGELOG.md @@ -4,12 +4,15 @@ Notable changes to this project will be documented in this file. ## [Unreleased] +## 0.2.1 - 12/5/21 + - Added `Device::as_raw`. - Added `MemoryAdvise` for unified memory advising. - Added `MemoryAdvise::prefetch_host` and `MemoryAdvise::prefetch_device` for telling CUDA to explicitly fetch unified memory somewhere. - Added `MemoryAdvise::advise_read_mostly`. - Added `MemoryAdvise::preferred_location` and `MemoryAdvise::unset_preferred_location`. Note that advising APIs are only present on high end GPUs such as V100s. +- `StreamFlags::NON_BLOCKING` has been temporarily disabled because of [soundness concerns](https://github.com/Rust-GPU/Rust-CUDA/issues/15). ## 0.2.0 - 11/26/21 diff --git a/crates/cust/Cargo.toml b/crates/cust/Cargo.toml index 651c8d7..a38d17c 100644 --- a/crates/cust/Cargo.toml +++ b/crates/cust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cust" -version = "0.2.0" +version = "0.2.1" # Big thanks to the original author of rustacuda <3 authors = ["Riccardo D'Ambrosio ", "Brook Heisler "] edition = "2018" diff --git a/crates/rustc_codegen_nvvm/CHANGELOG.md b/crates/rustc_codegen_nvvm/CHANGELOG.md index 1c126a3..2f59034 100644 --- a/crates/rustc_codegen_nvvm/CHANGELOG.md +++ b/crates/rustc_codegen_nvvm/CHANGELOG.md @@ -4,6 +4,8 @@ Notable changes to this project will be documented in this file. ## Unreleased +## 0.2.0 - 12/5/21 + ### Address Spaces CUDA Address Spaces have been mostly implemented. Statics that are not mut statics and do not rely on @@ -40,6 +42,7 @@ However, if you rely on libm for determinism, you must disable the overriding, s This also makes PTX much smaller generally, in our example path tracer, it slimmed the PTX file from about `3800` LoC to `2300` LoC. - Trace-level debug is compiled out for release now, decreasing the size of the codegen dll and improving compile times. +- Updated to nightly 12/5/21 ## 0.1.1 - 11/26/21 diff --git a/crates/rustc_codegen_nvvm/Cargo.toml b/crates/rustc_codegen_nvvm/Cargo.toml index eb84073..bae31e7 100644 --- a/crates/rustc_codegen_nvvm/Cargo.toml +++ b/crates/rustc_codegen_nvvm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustc_codegen_nvvm" -version = "0.1.1" +version = "0.2.0" authors = ["Riccardo D'Ambrosio ", "The Rust Project Developers"] edition = "2018" license = "MIT OR Apache-2.0" diff --git a/examples/cuda/cpu/add/Cargo.toml b/examples/cuda/cpu/add/Cargo.toml index f99a6f4..c9faefa 100644 --- a/examples/cuda/cpu/add/Cargo.toml +++ b/examples/cuda/cpu/add/Cargo.toml @@ -8,4 +8,4 @@ cust = { version = "0.2", path = "../../../../crates/cust" } nanorand = "0.6.1" [build-dependencies] -cuda_builder = { version = "0.1", path = "../../../../crates/cuda_builder" } +cuda_builder = { version = "0.2", path = "../../../../crates/cuda_builder" } diff --git a/examples/cuda/cpu/path_tracer/Cargo.toml b/examples/cuda/cpu/path_tracer/Cargo.toml index db2f3c9..5851fee 100644 --- a/examples/cuda/cpu/path_tracer/Cargo.toml +++ b/examples/cuda/cpu/path_tracer/Cargo.toml @@ -19,4 +19,4 @@ rayon = "1.5.1" sysinfo = "0.20.5" [build-dependencies] -cuda_builder = { version = "0.1", path = "../../../../crates/cuda_builder" } +cuda_builder = { version = "0.2", path = "../../../../crates/cuda_builder" }