cuda test algorithm
Members - Reputation: 207
Posted 20 August 2012 - 03:34 AM
I'm creating a cuda algorithm that begins with a series of vertexes and for each vertex i wish find the two nearest vertexes.
I'm trying to process all vertexes in parallel for find a performant algorithm.
This is my first project in cuda.
what method you advice to me?
Members - Reputation: 152
Posted 20 August 2012 - 06:45 PM
Edit: Also if you want it to be efficient, you'll need to use techniques such as loop unrolling, because it looks like in serial code, it would be a nested loop. So you should also look at loop unrolling.
Edited by TheAsterite, 20 August 2012 - 06:52 PM.