Skip to content

Commit

Permalink
Improve uninitialized_{async_}buffer API (NVIDIA#2713)
Browse files Browse the repository at this point in the history
This implements some improvements to the buffers.

* We want to be able to convert them if the properties match.
* Add some improvements regarding symbol visibility
* Add a way to grow a vector
* Ensure we can simply swap them
  • Loading branch information
miscco authored and fbusato committed Nov 9, 2024
1 parent 4cd4248 commit 0fa90a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cudax/test/containers/uninitialized_async_buffer.cu
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ constexpr int get_property(
{
return 42;
}
constexpr int get_property(const cuda::experimental::mr::device_memory_resource&, my_property)
constexpr int get_property(const cuda::experimental::mr::async_memory_resource&, my_property)
{
return 42;
}
Expand Down

0 comments on commit 0fa90a4

Please sign in to comment.