0

Hi everyone,
I am writing some PDE code, and I am just starting to think about parallelizing it. The code
is extremely parallelizable by both CUDA (at the lowest level) and regular threading at the higher level.
Specifically, I am coding a matrix multiply, and the matrix is banded, so the multiply is just a sum over
the bands of some vector operations. In my optimistic mind, I imagine I could run the band multiplications
in parallel by putting them in separate threads, and adding the results later. But I also thought that I
could do the vector operations in CUDA. But will the separate threads, all calling CUDA, interfere with one
another? Will they get mixed together? Does CUDA know how to handle requests coming in from many different threads?
Do I have to pick either threads, OR CUDA, but not both?

Dave

2
Contributors
1
Reply
5
Views
3 Years
Discussion Span
Last Post by rubberman
0

I would suggest that you read the CUDA documentation. Most nVidia GPU's have 100's of CUDA cores, so if done properly, this should not be a problem. How many threads are you going to run?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.