Function hip_sys::hiprt::hipDevicePrimaryCtxSetFlags
source · pub unsafe extern "C" fn hipDevicePrimaryCtxSetFlags(
dev: i32,
flags: u32
) -> hipError_tExpand 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