Skip to main content

cusparseLoggerSetFile

Function cusparseLoggerSetFile 

Source
pub unsafe extern "C" fn cusparseLoggerSetFile(
    file: *mut FILE,
) -> cusparseStatus_t
Expand description

Experimental: The function sets the logging output file. Note: once registered using this function call, the provided file handle must not be closed unless the function is called again to switch to a different file handle.

ยงParameters

  • file: Pointer to an open file. File should have write permission.