MLIR-AIE
Public Attributes | List of all members
ion_allocation_data Struct Reference

DOC: Ion Userspace API. More...

#include "/home/runner/work/mlir-aie/mlir-aie/runtime_lib/test_lib/ion.h"

+ Collaboration diagram for ion_allocation_data:

Public Attributes

__u64 len
 size of the allocation
 
__u32 heap_id_mask
 mask of heap ids to allocate from
 
__u32 flags
 flags passed to heap
 
__u32 fd
 file descriptor for this allocation
 
__u32 unused
 unused field
 

Detailed Description

DOC: Ion Userspace API.

create a client by opening /dev/ion most operations handled via following ioctls struct ion_allocation_data - metadata passed from userspace for allocations

Provided by userspace as an argument to the ioctl

Definition at line 52 of file ion.h.

Member Data Documentation

◆ fd

__u32 ion_allocation_data::fd

file descriptor for this allocation

Definition at line 56 of file ion.h.

Referenced by mlir_aie_mem_alloc().

◆ flags

__u32 ion_allocation_data::flags

flags passed to heap

Definition at line 55 of file ion.h.

◆ heap_id_mask

__u32 ion_allocation_data::heap_id_mask

mask of heap ids to allocate from

Definition at line 54 of file ion.h.

Referenced by mlir_aie_mem_alloc().

◆ len

__u64 ion_allocation_data::len

size of the allocation

Definition at line 53 of file ion.h.

Referenced by mlir_aie_mem_alloc().

◆ unused

__u32 ion_allocation_data::unused

unused field

Definition at line 57 of file ion.h.


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