Inherits NativeExternWrapper< Rx::LFR::ICudaDataImages >.
Constructor.
- Parameters
-
pxNative | [in,out] If non-null, the pointer to the native representation. |
Rx::LFR::Net::ICudaDataImages::~ICudaDataImages |
( |
| ) |
|
|
inline |
Downloads the image with the given image ID.
- Parameters
-
eImgID | The image ID. |
xImg | [in,out] If non-null, the image. |
virtual void Rx::LFR::Net::ICudaDataImages::Free |
( |
EImage |
eImgID | ) |
|
|
inlinevirtual |
Frees memory used by image defined by eImgID. This invalidates the image.
- Parameters
-
virtual void Rx::LFR::Net::ICudaDataImages::FreeAll |
( |
| ) |
|
|
inlinevirtual |
Frees the memory used by all images. This invalidates all images.
virtual size_t Rx::LFR::Net::ICudaDataImages::GetDevicePointerPitch |
( |
EImage |
eImgID | ) |
|
|
inlinevirtual |
Gets device pointer pitch, which is the width in bytes of the allocation. Given a row and column of an array element of type T, the address is computed as:
T* pElement = (T*)((char*)BaseAddress + Row * pitch) + Column;
- Parameters
-
- Returns
- The device pointer pitch.
virtual System::IntPtr Rx::LFR::Net::ICudaDataImages::GetImageDevicePointer |
( |
EImage |
eImgID | ) |
|
|
inlinevirtual |
Gets the CUDA device pointer to the data of the image defined by the given ID.
The pointer maps to the memory on a CUDA device and cannot be used on the host.
- Parameters
-
- Returns
- The image device pointer.
Gets the image format of the image defined by the given ID.
- Parameters
-
- Returns
- The image format.
virtual bool Rx::LFR::Net::ICudaDataImages::IsValid |
( |
EImage |
eImgID | ) |
|
|
inlinevirtual |
Query if the image with the given image ID is valid.
- Parameters
-
- Returns
- True if valid, false if not.
Uploads the image with the given image ID.
- Parameters
-
eImgID | The image ID. |
xImg | [in,out] If non-null, the image. |