I am trying to implement a simple code that will multiply the first column of a matrix A by a scalar alpha using cublas library function. I know how to allocate the memory and set up the matrix in GPU, but I am not sure what argument to be used in the cublasScal function.
I have transferred a m times n matrix A in CPU to matrix gA in GPU using