08-30-2011 09:47 PM
I copied array to CUDA memory using Copy 1D array to CUDA memory.vi block diagram but its output node has only destRef out and error out..What does destRef gives and how to access the array data in GPU to do mathematical operations? I have cuda 2.0 installed especially to use CUDA in LabView 8.6. Plz help me out...
08-31-2011 05:55 PM
destRef is destination reference and is used for specifying the destination.
A user manual for commands can be found here http://niweb.natinst.com/confluence/download/attachments/54200285/NVIDIA_CUDA_Programming_Guide_1.1....
08-31-2011 07:50 PM
Whats the use of specifying the destination? Can we get the value of array in that destination? I need to do mathematical operation on arrays in GPU. Please help me out...Also the link you've posted does not work. Can you post an alternate link please?
09-01-2011 02:47 PM
Here's a link to an even better article: https://decibel.ni.com/content/docs/DOC-6064
It also has some examples that should help you.
Also, this is the explanation for destRef
"Common use case where GPU computing is successful involve user-define CUDA functionsthat consume one or more arrays of data. In some cases, this storage on the GPU deviceand be used between CUDA calls so the allocation is performed once before the first callto the function. Herein lies the necessity for data references that are tied to a computecontext."
-Lt. Daniel