12#include "vecmem/memory/sycl/details/memory_resource_base.hpp"
13#include "vecmem/vecmem_sycl_export.hpp"
35 std::size_t alignment)
override final;
SYCL memory resource base class.
Definition memory_resource_base.hpp:22
Wrapper class for ::sycl::queue.
Definition queue_wrapper.hpp:23
Memory resource shared between the host and a specific SYCL device.
Definition shared_memory_resource.hpp:18
VECMEM_SYCL_EXPORT shared_memory_resource(const queue_wrapper &queue={})
Constructor on top of a user-provided queue.
virtual VECMEM_SYCL_EXPORT void * do_allocate(std::size_t nbytes, std::size_t alignment) override final
Function performing the memory allocation.
VECMEM_SYCL_EXPORT ~shared_memory_resource()
Destructor.
Namespace holding types that work on/with oneAPI/SYCL.
Definition sycl_builtin_device_atomic_ref.hpp:17
std::vector< T, vecmem::polymorphic_allocator< T > > vector
Alias type for vectors with our polymorphic allocator.
Definition vector.hpp:35