pub unsafe extern "C" fn hipDevicePrimaryCtxSetFlags(
dev: hipDevice_t,
flags: c_uint,
) -> hipError_t
Expand description
@brief Set flags for the primary context.
@param [in] dev Device for which the primary context flags are set @param [in] flags New flags for the device
@returns #hipSuccess, #hipErrorContextAlreadyInUse
@see hipCtxCreate, hipCtxDestroy, hipCtxGetFlags, hipCtxPopCurrent, hipCtxGetCurrent, hipCtxSetCurrent, hipCtxPushCurrent, hipCtxSetCacheConfig, hipCtxSynchronize, hipCtxGetDevice
@warning This API is deprecated on the AMD platform, only for equivalent driver API on the NVIDIA platform.