pub unsafe extern "C" fn hipDevicePrimaryCtxSetFlags(
    dev: i32,
    flags: u32
) -> hipError_t
Expand description

@brief Set flags for the primary context.

@param [in] Device for which the primary context flags are set @param [in] New flags for the device

@returns #hipSuccess, #hipErrorContextAlreadyInUse

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