LabVIEW GPU Analysis Toolkit API Reference

Content Type
Programming Language
Current manual

Read Data VI

Read Data VI

Owning Palette: LVCUDA SDK

Requires: GPU Analysis Toolkit

Retrieves the member data from a device data class. 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. This input also accepts a CUDA context class, a CUFFT handle class, or a CUBLAS handle class. This input can contain the following data types:

  • 8-bit unsigned integers
  • 16-bit unsigned integers
  • 32-bit unsigned integers
  • 8-bit signed integers
  • 16-bit signed integers
  • 32-bit signed integers
  • Single-precision, floating-point numbers
  • Double-precision, floating-point numbers
  • Complex single-precision, floating-point numbers
  • Complex double-precision, floating-point
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.
CUDA U8 Device Ptr Data returns the class data for the class you wire to CUDA U8 Device Ptr in.
error out contains error information. This output provides standard error out functionality.
Was this information helpful?