Skip to main content

hipExtSetLoggingParams

Function hipExtSetLoggingParams 

Source
pub unsafe extern "C" fn hipExtSetLoggingParams(
    log_level: usize,
    log_size: usize,
    log_mask: usize,
) -> hipError_t
Expand description

@brief Set HIP runtime logging parameters.

This function configures the logging behavior of the HIP runtime, including the verbosity level, buffer size, and which components to log.

@param [in] log_level The logging verbosity level. Higher values produce more detailed output. @param [in] log_size Reserved for future use. Currently not implemented. @param [in] log_mask A bitmask specifying which HIP runtime components to log.

@returns #hipSuccess, #hipErrorInvalidValue

@see hipExtEnableLogging, hipExtDisableLogging