devicePrimaryCtxGetState

external fun devicePrimaryCtxGetState(dev: Int): Int

Get the state of the primary context. (cuDevicePrimaryCtxGetState)

Return

Int to store context state; 0 = inactive, 1 = active

Parameters

dev

Device to get primary context flags for