From 4775486b6fe227458d85dc29e843c61550207f66 Mon Sep 17 00:00:00 2001 From: Cedric Augonnet Date: Fri, 17 Jan 2025 14:21:51 +0100 Subject: [PATCH] One of the constructor was missing a RMM_EXEC_CHECK_DISABLE annotation, resulting in (false positive ?) warnings: error: calling a __host__ function("rmm::device_buffer::operator =(rmm::device_buffer&&)") from a __host__ __device__ function("rmm::device_uvector ::operator =") is not allowed --- include/rmm/device_uvector.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/rmm/device_uvector.hpp b/include/rmm/device_uvector.hpp index 13f566150..2851f9780 100644 --- a/include/rmm/device_uvector.hpp +++ b/include/rmm/device_uvector.hpp @@ -95,6 +95,7 @@ class device_uvector { RMM_EXEC_CHECK_DISABLE device_uvector(device_uvector&&) noexcept = default; ///< @default_move_constructor + RMM_EXEC_CHECK_DISABLE device_uvector& operator=(device_uvector&&) noexcept = default; ///< @default_move_assignment{device_uvector}