alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
Traits.hpp File Reference

Go to the source code of this file.

Classes

struct  alpaka::ConceptMemAlloc
 

Namespaces

namespace  alpaka
 The alpaka accelerator library.
 
namespace  alpaka::trait
 The accelerator traits.
 

Functions

template<typename TAlloc , typename T >
ALPAKA_FN_HOST auto alpaka::free (TAlloc const &alloc, T const *const ptr) -> void
 Frees the memory identified by the given pointer.
 
template<typename T , typename TAlloc >
ALPAKA_FN_HOST auto alpaka::malloc (TAlloc const &alloc, std::size_t const &sizeElems) -> T *