| cudaVF_pinnedVector0 | cudaVD_pinnedVector0 | cudaVE_pinnedVector0 |
| cudaVCF_pinnedVector0 | cudaVCD_pinnedVector0 | cudaVCE_pinnedVector0 |
| cudaVPF_pinnedVector0 | cudaVPD_pinnedVector0 | cudaVPE_pinnedVector0 |
| cudaVI_pinnedVector0 | cudaVBI_pinnedVector0 | cudaVSI_pinnedVector0 |
| cudaVLI_pinnedVector0 | cudaVQI_pinnedVector0 | |
| cudaVU_pinnedVector0 | cudaVUB_pinnedVector0 | cudaVUS_pinnedVector0 |
| cudaVUL_pinnedVector0 | cudaVUQ_pinnedVector0 | cudaVUI_pinnedVector0 |
|
| Function | Allocation of pinned host memory and initialisation with 0 |
|
| CUDA function C/C++ | #include <cudaVFstd.h>
fVector cudaVF_pinnedVector0( fVector *h_X, ui size );
|
| CUDA function Pascal/Delphi | uses VecLib;
function cudaVF_pinnedVector0( 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 |
|
|