From 0fa90a446dcc8e690b8504bd94d335ed3be837dc Mon Sep 17 00:00:00 2001 From: Michael Schellenberger Costa Date: Thu, 7 Nov 2024 09:08:33 +0100 Subject: [PATCH] Improve `uninitialized_{async_}buffer` API (#2713) 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 --- cudax/test/containers/uninitialized_async_buffer.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cudax/test/containers/uninitialized_async_buffer.cu b/cudax/test/containers/uninitialized_async_buffer.cu index 6a63a5f99f..7659265e24 100644 --- a/cudax/test/containers/uninitialized_async_buffer.cu +++ b/cudax/test/containers/uninitialized_async_buffer.cu @@ -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; }