Perform the elementwise product between two matrix.
dResult = gpuDotMult(A,B)
Can be :
Pointer on the matrix stored in device memory (GPU).
Pointer on the matrix stored in host memory (CPU).
Can be :
Pointer on the matrix stored in device memory (GPU).
Pointer on the matrix stored in host memory (CPU).
dResult is the result of computation stored in device memory (GPU).
gpuDotMult
perform an elementwise multiplication between two matrix or between a scalar and a matrix.
In the case where A or B are scalar this function use cuBLAS to perform operations.