YAKL
Classes | Variables
array_ir Namespace Reference

The ArrayIR namespace holds the ArrayIR class and memory type constants associated with ArrayIR. This class holds library-agnostic Array metadata to make it easy to transfer array objects between different C++ libraries. More...

Classes

class  ArrayIR
 The ArrayIR class holds library-agnostic Array metadata to make it easy to transfer array objects between different C++ libraries. More...
 

Variables

constexpr int MEMORY_DEVICE = 1
 Declares that the data pointer is defined only in device memory. More...
 
constexpr int MEMORY_HOST = 0
 Declares that the data pointer is defined only in host memory. More...
 
constexpr int MEMORY_SHARED = 2
 Declares that the data pointer is defined in both host and device memory. More...
 

Detailed Description

The ArrayIR namespace holds the ArrayIR class and memory type constants associated with ArrayIR. This class holds library-agnostic Array metadata to make it easy to transfer array objects between different C++ libraries.

Variable Documentation

◆ MEMORY_DEVICE

constexpr int array_ir::MEMORY_DEVICE = 1
constexpr

Declares that the data pointer is defined only in device memory.

◆ MEMORY_HOST

constexpr int array_ir::MEMORY_HOST = 0
constexpr

Declares that the data pointer is defined only in host memory.

◆ MEMORY_SHARED

constexpr int array_ir::MEMORY_SHARED = 2
constexpr

Declares that the data pointer is defined in both host and device memory.