From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

GPU

Hi 

 

How do I implement a simple for loop in parallelism on GPU. I can implement it on the CPU but I need to use the GPU for Parallelism.

 

Regards

Ritesh

0 Kudos
Message 1 of 6
(2,669 Views)

Ritesh,

 

do you have the GPU Analysis Toolkit? If so, do you have a NVIDIA CUDA graphic card or something else?

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 6
(2,652 Views)
Hi yes I got the GPu analysis toolkit for nvidia
0 Kudos
Message 3 of 6
(2,635 Views)

Ritesh,

 

did you search for examples for this? There is also a very general tutorial on this. Have you read it? Did you check the links in the "next steps" section?

If you run an example using the GPU functions, do they work?

 

thanks,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 4 of 6
(2,623 Views)

Hi 

 

Yes I did look through and the examples but nothing to help me get started. My goal is to implement IMAQ pattern matching a 100 or more times in one iteration (On the GPU). But I also want to start small and by doing a simple calculation on the GPU

 

Regards

Ritesh

0 Kudos
Message 5 of 6
(2,603 Views)

Hi reigngt09,

 

Here are some discussion forums and other resources that might help you get started with GPU Analysis toolkit.

 

https://decibel.ni.com/content/message/50977#50977

 

https://decibel.ni.com/content/message/50844#50844

 

http://niweb.natinst.com/confluence/download/attachments/54200285/NVIDIA_CUDA_Programming_Guide_1.1....

 

Let me know if it is helpful

Ryan
Applications Engineer
National Instruments
0 Kudos
Message 6 of 6
(2,581 Views)