Helper class to manage the GPU memory-backed buffers for Polyline2 data.
More...
#include <MRCudaPolyline.h>
|
| static MRCUDA_API Expected< Polyline2DataHolder > | fromLines (const Polyline2 &polyline) |
| |
| static MRCUDA_API size_t | heapBytes (const Polyline2 &polyline) |
| | Computes the GPU memory amount required to allocate data for the polyline.
|
| |
Helper class to manage the GPU memory-backed buffers for Polyline2 data.
◆ data()
| MRCUDA_API Polyline2Data MR::Cuda::Polyline2DataHolder::data |
( |
| ) |
const |
◆ fromLines()
Allocates data buffers in the GPU memory and copies data to it. Returns error if the CUDA runtime couldn't allocate memory or copy host data.
◆ heapBytes()
| static MRCUDA_API size_t MR::Cuda::Polyline2DataHolder::heapBytes |
( |
const Polyline2 & | polyline | ) |
|
|
static |
Computes the GPU memory amount required to allocate data for the polyline.
◆ operator Polyline2Data()
| MR::Cuda::Polyline2DataHolder::operator Polyline2Data |
( |
| ) |
const |
|
inline |
◆ reset()
| MRCUDA_API void MR::Cuda::Polyline2DataHolder::reset |
( |
| ) |
|
The documentation for this class was generated from the following file: