DPU C++ Host API  2025.1.0
dpu Namespace Reference

Contains all that is needed to manage DPUs. More...

Classes

class  DpuError
 Exception thrown by the methods of this module. More...
 
class  DpuProgram
 Representation of a DPU program. More...
 
class  DpuSet
 A set of DPUs. More...
 
class  DpuSetAsync
 Interface of a DPU set for asynchronous operations. More...
 
class  DpuSetOps
 Operations on a DPU set that can be run synchronously or asynchronously. More...
 
class  DpuSymbol
 Representation of a symbol in a DPU program. More...
 

Typedefs

using CallbackFn = std::function< void(DpuSet &, unsigned)>
 Function used in DpuSetAsync::call as callback.
 

Functions

template<class F >
static bool __get_block (struct sg_block_info *out, uint32_t dpu_index, uint32_t block_index, void *args)
 

Variables

const unsigned ALLOCATE_ALL = DPU_ALLOCATE_ALL
 Constant used to allocate all available DPUs in DpuSet::allocate and DpuSet::allocateRanks.
 

Detailed Description

Contains all that is needed to manage DPUs.