pub unsafe extern "C" fn hipDevicePrimaryCtxGetState(
    dev: hipDevice_t,
    flags: *mut c_uint,
    active: *mut c_int
) -> hipError_t
Expand description

@} / /** @brief Get the state of the primary context.

@param [in] Device to get primary context flags for @param [out] Pointer to store flags @param [out] Pointer to store context state; 0 = inactive, 1 = active

@returns #hipSuccess

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