alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
alpaka::concepts::Allocator Concept Reference
#include <
Traits.hpp
>
Concept definition
template
<
typename
TAllocator>
concept
alpaka::concepts::Allocator
= std::copyable<TAllocator>
&&
requires
(TAllocator alloc,
void
* ptr, std::size_t bytes, std::size_t align) {
{
alloc.allocate(bytes, align)
} -> std::same_as<void*>;
alloc.deallocate(ptr);
}
alpaka::concepts::Allocator
Definition
Traits.hpp:26
Detailed Description
Definition at line
26
of file
Traits.hpp
.
alpaka
concepts
Allocator
Generated on Thu Oct 8 2026 14:47:07 for alpaka by
1.12.0