I haven’t actually started CUDA programming, but I was wondering if there is are dot product and cross product functions? It doesn’t seem so from http://188.8.131.52/search?q=cache:dPC87E…clnk&cd=3&gl=us. I assume it’s slower defining them manually for float3/float4’s?
I have found the GLSL quick ref very helpful (www.opengl.org/sdk/libs/OpenSceneGraph/glsl_quickref.pdf); if someone could make one for CUDA (a nVidia employee?) I (and hopefully many others) would appreciate it.