Halide
Halide::Runtime::AllocationHeader Struct Reference

A struct acting as a header for allocations owned by the Buffer class itself. More...

#include <HalideBuffer.h>

Public Member Functions

 AllocationHeader (void(*deallocate_fn)(void *))
 

Public Attributes

void(* deallocate_fn )(void *)
 
std::atomic< int > ref_count
 

Detailed Description

A struct acting as a header for allocations owned by the Buffer class itself.

Definition at line 80 of file HalideBuffer.h.

Constructor & Destructor Documentation

◆ AllocationHeader()

Halide::Runtime::AllocationHeader::AllocationHeader ( void(*)(void *)  deallocate_fn)
inline

Definition at line 85 of file HalideBuffer.h.

Member Data Documentation

◆ deallocate_fn

void(* Halide::Runtime::AllocationHeader::deallocate_fn) (void *)

Definition at line 81 of file HalideBuffer.h.

◆ ref_count

std::atomic<int> Halide::Runtime::AllocationHeader::ref_count

Definition at line 82 of file HalideBuffer.h.


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