Function cuCtxGetFlags

Source
pub unsafe extern "C" fn cuCtxGetFlags(flags: *mut c_uint) -> CUresult
Expand description

\brief Returns the flags for the current context

Returns in \p *flags the flags of the current context. See ::cuCtxCreate for flag values.

\param flags - Pointer to store flags of current context

\return ::CUDA_SUCCESS, ::CUDA_ERROR_DEINITIALIZED, ::CUDA_ERROR_NOT_INITIALIZED, ::CUDA_ERROR_INVALID_CONTEXT, ::CUDA_ERROR_INVALID_VALUE, \notefnerr

\sa ::cuCtxCreate, ::cuCtxGetApiVersion, ::cuCtxGetCacheConfig, ::cuCtxGetCurrent, ::cuCtxGetDevice, ::cuCtxGetLimit, ::cuCtxGetSharedMemConfig, ::cuCtxGetStreamPriorityRange, ::cuCtxSetFlags, ::cudaGetDeviceFlags