CUDA是否允许在同一GPU上同时使用多个应用程序? [英] Does CUDA allow multiple applications on same gpu at the same time?

查看:1386
本文介绍了CUDA是否允许在同一GPU上同时使用多个应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有NVIDIA的 Tesla K20m GPU 卡。从 CUDA 5.0 开始,允许来自同一GPU上同一应用程序的多个进程。 CUDA是否允许在同一GPU上同时执行不同的应用程序?

I have Tesla K20m GPU card from NVIDIA. In CUDA 5.0 onwards multiple processes from the same application on same GPU is allowed. Does CUDA allow execution of different applications on same GPU at the same time?

推荐答案

取决于您的意思是在同一时间时间'。如果您的意思是两个应用程序同时在同一张卡上具有CUDA上下文,那么可以。

Depends what do you mean by 'at the same time'. If you mean 'two applications have CUDA contexts on same card at the same time' then yes.

尽管您可能想使用 MPS 以获得全部好处并减少上下文切换。另请参见这个问题

Though you may want to use MPS to get full benefits and reduce context switching. See also this question.

这篇关于CUDA是否允许在同一GPU上同时使用多个应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆