pub unsafe extern "C" fn cudaLogsDumpToFile(
iterator: *mut cudaLogIterator,
pathToFile: *const c_char,
flags: c_uint,
) -> cudaError_tExpand description
Dump accumulated driver logs into a file.
Logs generated by the driver are stored in an internal buffer and can be copied out using this API. This API dumps all driver logs starting from iterator into pathToFile provided.
ยงParameters
iterator: Optional auto-advancing iterator specifying the starting log to read. NULL value dumps all logs.pathToFile: Path to output file for dumping logs.flags: Reserved for future use, must be 0.