vecmem 1.18.0
Loading...
Searching...
No Matches
copy.hpp
1/*
2 * VecMem project, part of the ACTS project (R&D line)
3 *
4 * (c) 2021-2025 CERN for the benefit of the ACTS project
5 *
6 * Mozilla Public License Version 2.0
7 */
8#pragma once
9
10// VecMem include(s).
11#include "vecmem/utils/copy.hpp"
12#include "vecmem/vecmem_cuda_export.hpp"
13
14namespace vecmem::cuda {
15
18
19protected:
21 void do_copy(std::size_t size, const void* from, void* to,
22 type::copy_type cptype) const final;
24 void do_memset(std::size_t size, void* ptr, int value) const final;
25
26}; // class copy
27
28} // namespace vecmem::cuda
An allocator class that wraps a memory resource.
Definition allocator.hpp:37
Class implementing (synchronous) host <-> device memory copies.
Definition copy.hpp:42
Specialisation of vecmem::copy for CUDA.
Definition copy.hpp:17
Namespace holding types that work on/with CUDA.
Definition cuda_device_atomic_ref.hpp:19