Is there build-in cross and dot products in CUDA like in opencl, so cuda kernels can use it? I have nothing found in the specification until now.
+1
A:
You can find definitions for these functions in cutil_math.h in the SDK.
There are routines for the dot product in CuBLAS.
codekaizen
2010-07-07 16:27:22