From 4a9281c52e92058b99383b0e992653f8652313c6 Mon Sep 17 00:00:00 2001 From: waredjeb <39335169+waredjeb@users.noreply.github.com> Date: Thu, 31 Oct 2019 11:54:07 +0100 Subject: [PATCH] Replace use of CUDA API wrapper unique_ptrs with CUDAUtilities unique_ptrs (cms-patatrack#396) Replace cuda::memory::device::make_unique() calls with cudautils::make_device_unique() Replace cuda::memory::host::make_unique() with cudautils::make_host_unique() --- RecoPixelVertexing/PixelVertexFinding/test/VertexFinder_t.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RecoPixelVertexing/PixelVertexFinding/test/VertexFinder_t.h b/RecoPixelVertexing/PixelVertexFinding/test/VertexFinder_t.h index 14263ed7b3d18..2f545d121a177 100644 --- a/RecoPixelVertexing/PixelVertexFinding/test/VertexFinder_t.h +++ b/RecoPixelVertexing/PixelVertexFinding/test/VertexFinder_t.h @@ -98,8 +98,8 @@ int main() { auto current_device = cuda::device::current::get(); - auto onGPU_d = cuda::memory::device::make_unique(current_device, 1); - auto ws_d = cuda::memory::device::make_unique(current_device, 1); + auto onGPU_d = cudautils::make_device_unique(1, nullptr); + auto ws_d = cudautils::make_device_unique(1, nullptr); #else auto onGPU_d = std::make_unique(); auto ws_d = std::make_unique();