cubecl_hip_sys

Function hipCtxGetFlags

Source
pub unsafe extern "C" fn hipCtxGetFlags(
    flags: *mut c_uint,
) -> hipError_t
Expand description

@brief Return flags used for creating default context.

@param [out] flags Pointer of flags

@returns #hipSuccess

@see hipCtxCreate, hipCtxDestroy, hipCtxPopCurrent, hipCtxGetCurrent, hipCtxGetCurrent, hipCtxSetCurrent, hipCtxPushCurrent, hipCtxSetCacheConfig, hipCtxSynchronize, hipCtxGetDevice

@warning This API is deprecated on the AMD platform, only for equivalent cuCtx driver API on the NVIDIA platform.