08-24-2011 05:48 AM
I am having problem being acquainted with using CUDA in LabView. I've labview 8.6 and Cuda 4.0. I've already installed all the required applications to run cuda but can anyone pls post a sample vi where we use cuda to enter xls file in gpu, transpose the data of xls file and send it back to host. Pls help me out...
08-24-2011 10:18 AM
Executing a function on the GPU via CUDA is not the same as calling other external functions that run on the host.That's because the CUDA runtime engine has additional constraints that are not immediately satisfied by LabVIEW's multi-threaded execution.
There's an NILabs module - LabVIEW GPU Computing - which enabled calling CUDA-based functions from LabVIEW but it works with CUDA v2.x only. Unless your application and hardware allow you to use an older version of CUDA, it won't help solve your problem.
However, the module also contains documentation that explains the different ways you can use CUDA from LabVIEW. Some options to not require the use of the module but they too have limitations. Here's a link the NILab page where you can find more information: NILabs LabVIEW GPU Computing.
NI continues to research support for GPU computing from LabVIEW and is interested in specific applications that utilize GPUs. If you have a specific use cases, please joing the GPU Computing group linked to from the NILabs page and post your requirements.
08-25-2011 12:57 AM
So do i need to install cuda 2.x to run cuda in labview? if it is so, where can i get it?
08-25-2011 03:35 AM
I went through the link and have done exactly the same as it tells. However, I am getting errors even when I just try to get the device properties in labview. I am getting error 13 all the time. What might be the reason??
10-27-2011 12:50 PM
Hi, I am also getting errors. I got some examples to work on my GPU using ADVision toolkit and other dlls, but using LVCUDA it doesn't work. I get error 13 "Call Library Function Node in cuda.lvlib:Get CUDA Device.vi".
10-27-2011 08:13 PM
The same problem I installed older version of Cuda..i.e cuda 2.0 and it was solved...I don't know why but it solved my problem..so i think u should try that...
10-27-2011 08:14 PM
Hi,
Indeed, installed old CUDA 2.3 and now it works. Thanks though...