|Download Help (Windows Only)|
Owning Palette: LVCUDA SDK
Requires: GPU Analysis Toolkit
Begins the process of unlocking device data. Use this VI as the last step in protecting the device data from modification or deletion while in use. Wire data to the CUDA U8 Device Ptr in input to determine the polymorphic instance to use. You can wire a CUDA device pointer, CUDA context, CUFFT handle, or CUBLAS handle to this VI.
For more information about how to use the LVCUDA SDK and LVGPU SDK VIs, refer to the KnowledgeBase article Customizing GPU Computing Using the GPU Analysis Toolkit at ni.com.
The connector pane displays the default data types for this polymorphic function.
|CUDA U8 Device Ptr in specifies a device pointer class with locked data. This input also accepts a CUDA context, a CUFFT handle, or a CUBLAS handle with locked data. This input can contain the following data types:
|CUDA U8 Device Ptr Data Reference specifies the device pointer, CUDA context, CUFFT handle, or CUBLAS handle data value reference to unlock.|
|CUDA Context specifies the device context class in which the device pointer, the CUFFT handle, or the CUBLAS handle were created.|
|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 device pointer class, CUDA context class, CUFFT handle class, or a CUBLAS handle class. This output returns the same data type that you wire to CUDA U8 Device Ptr in.|
|error out contains error information. This output provides standard error out functionality.|
The outputs from the Prepare Data For Lock VI provide the inputs for this VI. Refer to the Details section of the Prepare Data For Lock VI for more information about the locking and unlocking device data process.