DPNP C++ backend kernel library 0.18.0dev0
Data Parallel Extension for NumPy*
Loading...
Searching...
No Matches
DPNPFuncData Struct Reference

Contains information about the C++ backend function. More...

#include <dpnp_iface_fptr.hpp>

Public Member Functions

 DPNPFuncData (const DPNPFuncType gen_type, void *gen_ptr, const DPNPFuncType type_no_fp64, void *ptr_no_fp64)
 
 DPNPFuncData (const DPNPFuncType gen_type, void *gen_ptr)
 

Public Attributes

DPNPFuncType return_type
 
void * ptr
 
DPNPFuncType return_type_no_fp64
 
void * ptr_no_fp64
 

Detailed Description

Contains information about the C++ backend function.

The structure defines the types that are used by get_dpnp_function_ptr.

Definition at line 233 of file dpnp_iface_fptr.hpp.

Constructor & Destructor Documentation

◆ DPNPFuncData() [1/3]

DPNPFuncData::DPNPFuncData ( const DPNPFuncType gen_type,
void * gen_ptr,
const DPNPFuncType type_no_fp64,
void * ptr_no_fp64 )
inline

Definition at line 235 of file dpnp_iface_fptr.hpp.

◆ DPNPFuncData() [2/3]

DPNPFuncData::DPNPFuncData ( const DPNPFuncType gen_type,
void * gen_ptr )
inline

Definition at line 243 of file dpnp_iface_fptr.hpp.

◆ DPNPFuncData() [3/3]

DPNPFuncData::DPNPFuncData ( )
inline

Definition at line 247 of file dpnp_iface_fptr.hpp.

Member Data Documentation

◆ ptr

void* DPNPFuncData::ptr

C++ backend function pointer

Definition at line 251 of file dpnp_iface_fptr.hpp.

◆ ptr_no_fp64

void* DPNPFuncData::ptr_no_fp64

alternative C++ backend function pointer when no fp64 support by device

Definition at line 254 of file dpnp_iface_fptr.hpp.

◆ return_type

DPNPFuncType DPNPFuncData::return_type

return type identifier which expected by the ptr function

Definition at line 249 of file dpnp_iface_fptr.hpp.

◆ return_type_no_fp64

DPNPFuncType DPNPFuncData::return_type_no_fp64

alternative return type identifier when no fp64 support by device

Definition at line 252 of file dpnp_iface_fptr.hpp.


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