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

Download 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 a 1D or 2D array to memory, in the form of a buffer, on the device. If the array and the memory on the device store different amounts of data, this VI limits the transfer to the smaller of the two amounts. Wire data to the src in or dst in input to determine the polymorphic instance to use.

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

Details  Example

src in specifies the source elements to download to the device. src 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
dst in specifies the allocated memory for the elements to update on the device. For example, you can wire the device pointer output from the Allocate Memory VI to this input.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
src out returns the source elements stored in a 1D or 2D array.
dst out returns the updated elements in an array on the device.
error out contains error information. This output provides standard error out functionality.

Download 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 Download Data VI.


 

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