SHOGUN  6.1.3
List of all members | Public Member Functions
GPUMemoryBase< T > Struct Template Referenceabstract

Detailed Description

template<typename T>
struct shogun::GPUMemoryBase< T >

Interface for GPU memory libraries.

Definition at line 35 of file SGMatrix.h.

Public Member Functions

 GPUMemoryBase ()
 
virtual GPUMemoryBase< T > * clone_vector (GPUMemoryBase< T > *gpu_ptr, index_t vlen) const =0
 

Constructor & Destructor Documentation

◆ GPUMemoryBase()

Default constructor

Definition at line 44 of file GPUMemoryBase.h.

Member Function Documentation

◆ clone_vector()

virtual GPUMemoryBase<T>* clone_vector ( GPUMemoryBase< T > *  gpu_ptr,
index_t  vlen 
) const
pure virtual

Clone GPU memory, i.e. vector or matrix

Parameters
gpu_ptrGPUMemoryBase structure pointer
Returns
A deep-copy of GPUMemoryBase structure pointer

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

SHOGUN Machine Learning Toolbox - Documentation