C++ Run-time Library
Loading...
Searching...
No Matches
Classes | Enumerations
fletcher Namespace Reference

Contains all Fletcher classes and functions for use in run-time applications. More...

Classes

class  Context
 A Context for a platform where a RecordBatches can be prepared for processing by the Kernel. More...
 
struct  DeviceBuffer
 A buffer on the device. More...
 
class  Kernel
 The Kernel class is used to manage the computational kernel of the accelerator. More...
 
class  Platform
 A Fletcher Platform. Links during run-time and abstracts access to lower-level platform-specific libraries / API's. More...
 
struct  Status
 Status return value of all Fletcher run-time functions. More...
 

Enumerations

enum class  MemType { ANY , CACHE }
 Enumeration for different types of memory management. More...
 

Detailed Description

Contains all Fletcher classes and functions for use in run-time applications.

Enumeration Type Documentation

◆ MemType

enum class fletcher::MemType
strong

Enumeration for different types of memory management.

Enumerator
ANY 

Apply the least effort to make the data available to the device.

For platforms where the device may access host memory directly, ANY will not copy data to device on-board memory to make it available to the device. If the platform requires a copy to on-board memory, then this will behave the same as the CACHE option.

CACHE 

Cache the data to on-board memory of the device.

If available, this forces the data to be copied to device on-board memory (e.g. some seperate DRAM chips sitting on the accelerator PCB next to the FPGA, but it could be HBM on top of the FPGA fabric in the same chip, or BRAM. This depends on the platform).

Selecting CACHE may result in higher performance if there is data reuse by the kernel, but may result in lower performance if the data is not reused by the kernel (for example fully streamable kernels).

Definition at line 32 of file context.h.