Short answer is no. You can't run two CUDA process unless the developer put some contention method to avoid such collisions

Long answer in the CUDA handbook:
Some devices of compute capability 2.0 can execute multiple kernels concurrently. Applications may query this capability by calling cudaGetDeviceProperties() and checking theconcurrentKernels property.
The maximum number of kernel launches that a device can execute concurrently is four.
A kernel from one CUDA context cannot execute concurrently with a kernel from another CUDA context.
Kernels that use many textures or a large amount of local memory are less likely to execute concurrently with other kernels.
---------------------------------------------------------------------
Pedro Paulo de Magalhães Oliveira Junior
Diretor de Operações
Netfilter & SpeedComm Telecom
-- www.netfilter.com.br
-- For mobile: http://www.netfilter.com.br/mobile




On Tue, Nov 23, 2010 at 12:03, Marcus N Schmidt <m.schmidt@erasmusmc.nl> wrote:
I should note that we have a single GeForce GTX 470 card on the workstation and have installed the latest CUDA drivers and toolkit (3.2).

Marcus N Schmidt
Department of Child & Adolescent Psychiatry
Erasmus MC
Rotterdam, The Netherlands



On Nov 23, 2010, at 2:51 PM, Marcus N Schmidt wrote:

Hello,

Is there a limit to how many processes can use CUDA at the same time? I just setup a new Linux workstation and am delving into FreeSurfer w/ CUDA. I'm getting the following error:

Acquiring CUDA device
Using default device
CUDA Error in file 'devicemanagement.cu' on line 46 : all CUDA-capable devices are busy or unavailable.
Linux rietveld 2.6.18-194.26.1.el5 #1 SMP Tue Nov 9 12:54:20 EST 2010 x86_64 x86_64 x86_64 GNU/Linux

Thanks,
Marcus

Marcus N Schmidt
Erasmus MC
Rotterdam, The Netherlands





_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.