Initialize Memory VI
- Updated2023-02-21
- 2 minute(s) read
Initialize Memory VI
Owning Palette: LVCUDA
Requires: GPU Analysis Toolkit
Sets each byte of each element in memory on the device. This VI sets each byte up to the number of elements provided.
you must manually select the polymorphic instance you want to use.
The connector pane displays the default data types for this polymorphic function.

![]() |
CUDA U8 Device Ptr in specifies a class with access to allocated memory on the device. This input can contain the following data types:
|
![]() |
byte value specifies the initialization value. The default is 0. |
![]() |
elements specifies the number of elements to initialize. The default is 0. |
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. |
![]() |
CUDA U8 Device Ptr out returns a class with access to initialized memory. |
![]() |
error out contains error information. This output provides standard error out functionality. |
Initialize Memory Details
For more information about the CUDA API, refer to the NVIDIA GPU Computing Documentation website at nvidia.com and download the CUDA API Reference Manual.





