RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
Public Member Functions | Public Attributes | List of all members
RAJA::FreeAlignedType< T, index_type > Struct Template Reference

#include <MemUtils_CPU.hpp>

Inheritance diagram for RAJA::FreeAlignedType< T, index_type >:
RAJA::FreeAligned

Public Member Functions

void operator() (T *ptr)
 
- Public Member Functions inherited from RAJA::FreeAligned
void operator() (void *ptr)
 

Public Attributes

index_type size = 0
 

Detailed Description

template<typename T, typename index_type>
struct RAJA::FreeAlignedType< T, index_type >

Deleter function object for memory allocated with allocate_aligned_type that calls the destructor for the fist size objects in the storage.

Member Function Documentation

◆ operator()()

template<typename T , typename index_type >
void RAJA::FreeAlignedType< T, index_type >::operator() ( T *  ptr)
inline

Member Data Documentation

◆ size

template<typename T , typename index_type >
index_type RAJA::FreeAlignedType< T, index_type >::size = 0

The documentation for this struct was generated from the following file: