pub unsafe extern "C" fn hipCtxCreate(
ctx: *mut hipCtx_t,
flags: c_uint,
device: hipDevice_t,
) -> hipError_t
Expand description
@brief Create a context and set it as current/default context
@param [out] ctx Context to create @param [in] flags Context creation flags @param [in] device device handle
@return #hipSuccess
@see hipCtxDestroy, hipCtxGetFlags, hipCtxPopCurrent, hipCtxGetCurrent, hipCtxPushCurrent, hipCtxSetCacheConfig, hipCtxSynchronize, hipCtxGetDevice
@warning This API is deprecated on the AMD platform, only for equivalent cuCtx driver API on the NVIDIA platform.