Skip to content

Commit

Permalink
Fixes #689: Completed removal of cuda::memory::async:
Browse files Browse the repository at this point in the history
* Operations affected include: `allocate()`, `free()`, typed_set()`, `set()`, zero()`
* Combined (kinda-)synchronous and asynchronous operations using an `optional_ref<stream_t>` extra parameter, defauling to `{}`/`nullopt` for the synchronous version
* Already done with `copy()` in an earlier commit
* `prefetch()` and `prefetch_to_host()` also affected, but no additional parameter is necesary
* Operations affected include: `allocate()`, `free()`, typed_set()`, `set()`, zero()`
* Comment tweaks
* Removed some redundant code
  • Loading branch information
eyalroz committed Nov 16, 2024
1 parent efaf7f6 commit e9c1643
Show file tree
Hide file tree
Showing 3 changed files with 192 additions and 201 deletions.
Loading

0 comments on commit e9c1643

Please sign in to comment.