Library/ManagedCuda/PrimaryContext.cs
/// <summary>
/// Get the state of the primary context<para/>
/// Returns in flags the flags for the primary context of device, and in
/// active whether it is active.  See ::cuDevicePrimaryCtxSetFlags for flag
/// values.
/// </summary>
/// <param name="deviceID">Device to get primary context flags for</param>
/// <param name="flags">Pointer to store flags</param>
/// <param name="active">Pointer to store context state</param>
Get the state of the primary context
Returns in flags the flags for the primary context of device, and in
active whether it is active.  See ::cuDevicePrimaryCtxSetFlags for flag
values.
Get the state of the primary context Returns in flags the flags for the primary context of device and in active whether it is active . See :: cuDevicePrimaryCtxSetFlags for flag values .
public static void GetState(int deviceID, out CUCtxFlags flags, out bool active)
		{
			CUdevice device = GetCUdevice(deviceID);
			GetState(device, out flags, out active);
		}
public static void GetState ( int deviceID , out CUCtxFlags flags , out bool active ) { CUdevice device = GetCUdevice ( deviceID ) ; GetState ( device , out flags , out active ) ; }
Get the state of the primary context
Returns in flags the flags for the primary context of device, and in
active whether it is active.
Get the state of the primary context Returns in flags the flags for the primary context of device and in active whether it is active .
deviceID
int
Device to get primary context flags for
Device to get primary context flags for
CUCtxFlags
out
bool
out
flags
Pointer to store flags
Pointer to store flags
active
Pointer to store context state
Pointer to store context state