Question about CU_COMPUTEMODE_EXCLUSIVE_PROCESS CUDA Driver API device attributes

Hello,

I have a little question about the following device attribute for compute mode:

CU_COMPUTEMODE_EXCLUSIVE_PROCESS

The comments read:
"
// - CU_COMPUTEMODE_EXCLUSIVE_PROCESS: Compute-exclusive-process mode - Device
// can have only one context used by a single process at a time.
"

Does this mean “one cuda context per process allowed” ?

So in other words:

“one cuda context per (ms windows) application” ?

Bye,
Skybuck.

Hello,

I have a little question about the following device attribute for compute mode:

CU_COMPUTEMODE_EXCLUSIVE_PROCESS

The comments read:
"
// - CU_COMPUTEMODE_EXCLUSIVE_PROCESS: Compute-exclusive-process mode - Device
// can have only one context used by a single process at a time.
"

Does this mean “one cuda context per process allowed” ?

So in other words:

“one cuda context per (ms windows) application” ?

Bye,
Skybuck.

Maybe it can have multiple contexts, but only one active, who knows External Image :) External Image