cudaVF_pinnedVector | cudaVD_pinnedVector | cudaVE_pinnedVector |
cudaVCF_pinnedVector | cudaVCD_pinnedVector | cudaVCE_pinnedVector |
cudaVPF_pinnedVector | cudaVPD_pinnedVector | cudaVPE_pinnedVector |
cudaVI_pinnedVector | cudaVBI_pinnedVector | cudaVSI_pinnedVector |
cudaVLI_pinnedVector | cudaVQI_pinnedVector | |
cudaVU_pinnedVector | cudaVUB_pinnedVector | cudaVUS_pinnedVector |
cudaVUL_pinnedVector | cudaVUQ_pinnedVector | cudaVUI_pinnedVector |
|
Function | Allocation of pinned host memory |
|
CUDA function C/C++ | #include <cudaVFstd.h>
fVector cudaVF_pinnedVector( fVector *h_X, ui size );
|
CUDA function Pascal/Delphi | uses VecLib;
function cudaVF_pinnedVector( var h_X:fVector; size:UIntSize ): fVector;
|
|
|
Error handling | If there is not enough memory available, or if size is zero, an error message "Not enough memory" is displayed and the program aborted.
|
|
Return value | Device pointer to the allocated memory |
|
|