Search code examples
asynchronouscudacublas

Asynchronous cuBLAS calls


I want to make calls to cuBLAS routines asynchronously. Is it possible? If yes, how can I achieve that?


Solution

  • Use the cublasSetStream function before the cublas calls.

    cublasSetStream(cublasHandle, cudaStream);