![]() ![]() Host or the device, instead of only being allowed to be returned by value only on the host. When a library routine returns a scalar result, it can be returned by reference on the.This change allows library functions to execute This also allows the cuBLAS APIs to be reentrant.Ĭan be passed by reference on the host or the device, instead of only beingĪllowed to be passed by value on the host. User to have more control over the library setup when using multiple host threads and The handle to the cuBLAS library context is initialized using theįunction and is explicitly passed to every subsequent library function call.It has the following features that the legacy cuBLAS API The new cuBLAS library API can be used by including the header file Warning: The legacy cuBLAS API is deprecated and will be removed in a future This is analogous to how cuFFT and FFTW first create a plan and reuse for same size Operation are identified by the user, these options can be used repeatedly for different After a set of options for the intended GEMM Heuristics through parameter programmability. Input types, compute types, and also in choosing the algorithmic implementations and This library adds flexibility in matrix data layouts, The cuBLASLt is a lightweight library dedicated to GEneral Matrix-to-matrix Multiply (GEMM) Take care of dispatching the operation to, and transferring the data to, one or multiple GPUs present in the system, To use the cuBLASXt API, the application may have the data on the Host or any of the devices involved in the computation, The cuBLAS API also provides helper functions for writing and retrieving data from the GPU. To use the cuBLAS API, the application must allocate the required matrices and vectors in the GPU memory space, fill themĬall the sequence of desired cuBLAS functions, and then upload the results from the GPU memory space back to the host. The cuBLAS Library exposes three sets of API:ĬuBLAS API in this document (starting with CUDA 6.0), ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |