gives the dot product of vec1 and vec2.
gives the matrix-vector product of mat and vec.
gives the matrix-matrix product of mat1 and mat2.
- The CUDALink application must be loaded using Needs["CUDALink`"].
- CUDADot works only on general vectors types such as "Float", "Double", ….
- CUDADot does not work on fixed vector structure types like "Float", "Integer32", ….
Basic Examples (4)
If input is CUDAMemory, then memory is returned as output:
Memory is retrieved using CUDAMemoryGet:
Memory must be freed with CUDAMemoryUnload: