Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Upload Data VI

LabVIEW 2012 GPU Analysis Toolkit Help

Edition Date: June 2012

Part Number: 373575A-01

»View Product Info
Download Help (Windows Only)

Owning Palette: LVCUDA

Requires: GPU Analysis Toolkit

Transfers data from memory on the device, in the form of a buffer, to a 1D or 2D LabVIEW array. If the array and the device memory store different amounts of data, this VI limits the transfer to the smaller of the two amounts. Wire data to the dst in or src in input to determine the polymorphic instance to use.

The connector pane displays the default data types for this polymorphic function.

Details  Example

dst in specifies the source elements. The array you wire to this input defines how much data to upload. dst in accepts a 1D or 2D array of 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 numbers
src in specifies the allocated memory for the updated elements on the device. For example, you can wire the results output from a VI that performs calculations to this input to specify the allocated memory in which to store the updated elements.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
dst out returns the 1D or 2D array of updated destination elements. This output returns the same data type that you wire to dst in.
src out returns the source elements on the device to a LabVIEW array.
error out contains error information. This output provides standard error out functionality.

Upload Data Details

For more information about this VI, refer to the Designing the Block Diagram to Compute on a GPU Device topic.

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.

Example

Refer to the Multi-channel FFT VI in the labview\examples\lvgpu\Multi-channel FFT directory for an example of using the Upload Data VI.


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit