How to transpose a matrix in CUDA/cublas?

前端 未结 3 1202
时光取名叫无心
时光取名叫无心 2020-12-17 02:54

Say I have a matrix with a dimension of A*B on GPU, where B (number of columns) is the leading dimension assuming a C style. Is there any method in

3条回答
  •  余生分开走
    2020-12-17 03:29

    The version of CUBLAS bundled with the CUDA 5 toolkit contains a BLAS-like method (cublasgeam) that could be used to transpose a matrix. It's documented here.

提交回复
热议问题