Is there build-in cross and dot products in CUDA?
Is there build-in cross and dot products in CUDA like in opencl, so cu开发者_运维百科da kernels can use it? I have nothing found in the specification until now.
You can find definitions for these functions in cutil_math.h in the SDK.
There are routines for the dot product in CuBLAS.
精彩评论