Geometri primitives implementation

HI. I am having trouble implementing some geometric primitives using CUDA such as : convex hull, jarvis’s March , smallest enclosing box, all the nearest neighbours etc. If anyone is kind to provide some pseudocode or a code sample for some of these primitives ,I’d be much obligged.
Does anyone know if this library CUDPP has the primitives pridefined I’ve enumerated above ?

CUDPP doesn’t include any of the algorithms you describe (it’s a library of low-level data parallel primitives, not geometry).

You could calculate the smallest enclosing box pretty easily using a custom reduction in Thrust:
http://code.google.com/p/thrust/wiki/QuickStartGuide#Reductions