LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cuda problem in labview

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...

0 Kudos
Message 1 of 7
(3,423 Views)

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.

0 Kudos
Message 2 of 7
(3,402 Views)

So do i need to install cuda 2.x to run cuda in labview? if it is so, where can i get it? 

0 Kudos
Message 3 of 7
(3,374 Views)

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??

0 Kudos
Message 4 of 7
(3,366 Views)

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".

0 Kudos
Message 5 of 7
(3,312 Views)

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...

Message 6 of 7
(3,301 Views)

Hi,

Indeed, installed old CUDA 2.3 and now it works. Thanks though...

0 Kudos
Message 7 of 7
(3,299 Views)