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
 
__u32 heap_id_mask
 
__u32 flags
 
__u32 fd
 
__u32 unused
 

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 @len: size of the allocation @heap_id_mask: mask of heap ids to allocate from @flags: flags passed to heap @handle: pointer that will be populated with a cookie to use to refer to this allocation

Provided by userspace as an argument to the ioctl

Definition at line 69 of file ion.h.

Member Data Documentation

◆ fd

__u32 ion_allocation_data::fd

Definition at line 73 of file ion.h.

Referenced by mlir_aie_mem_alloc().

◆ flags

__u32 ion_allocation_data::flags

Definition at line 72 of file ion.h.

◆ heap_id_mask

__u32 ion_allocation_data::heap_id_mask

Definition at line 71 of file ion.h.

Referenced by mlir_aie_mem_alloc().

◆ len

__u64 ion_allocation_data::len

Definition at line 70 of file ion.h.

Referenced by mlir_aie_mem_alloc().

◆ unused

__u32 ion_allocation_data::unused

Definition at line 74 of file ion.h.


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