Skip to main content

cusparseCreate

Function cusparseCreate 

Source
pub unsafe extern "C" fn cusparseCreate(
    handle: *mut cusparseHandle_t,
) -> cusparseStatus_t
Expand description

This function initializes the cuSPARSE library and creates a handle on the cuSPARSE context. It must be called before any other cuSPARSE API function is invoked. It allocates hardware resources necessary for accessing the GPU.

ยงParameters

  • handle: The pointer to the handle to the cuSPARSE context.