Skip to content

Commit

Permalink
Update dependencies: half 2.4.1, libloading 0.8.5 (#289)
Browse files Browse the repository at this point in the history
* half 2.4.1, libloading 0.8.5

* Fixing clippy warnings
  • Loading branch information
coreylowman authored Aug 20, 2024
1 parent 01d3bed commit 38adb49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@ f16 = ["dep:half"]
[dependencies]
spin = { version = "0.9.8", optional = true, features = ["rwlock"], default-features = false }
no-std-compat = { version = "0.4.1", optional = true, features = [ "alloc" ] }
half = { version = "2.3.1", optional = true, default-features = false, features = ["num-traits", "rand_distr"] }
libloading = "0.8.3"
half = { version = "2.4.1", optional = true, default-features = false, features = ["num-traits", "rand_distr"] }
libloading = "0.8.5"
4 changes: 2 additions & 2 deletions src/driver/result.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1020,10 +1020,10 @@ pub unsafe fn launch_kernel(
///
/// 1. The cuda function must be a valid handle returned from a non-unloaded module.
/// 2. This is asynchronous, so the results of calling this function happen
/// at a later point after this function returns.
/// at a later point after this function returns.
/// 3. All parameters used for this kernel should have been allocated by stream (I think?)
/// 4. The cuda kernel has mutable access to every parameter, that means every parameter
/// can change at a later point after callign this function. *Even non-mutable references*.
/// can change at a later point after callign this function. *Even non-mutable references*.
#[inline]
pub unsafe fn launch_cooperative_kernel(
f: sys::CUfunction,
Expand Down

0 comments on commit 38adb49

Please sign in to comment.