CUDA中是否有最大数量的流? [英] Is there a maximum number of streams in CUDA?

查看:118
本文介绍了CUDA中是否有最大数量的流?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在CUDA中是否可以创建最大数量的流?

Is there a maximum number of streams that can be created in CUDA?

要澄清一下,我的意思是CUDA流与允许您执行内核和内存的流相同

To clarify I mean CUDA streams as in the stream that allows you to execute kernels and memory operations.

推荐答案

我在任何文档中都没有看到限制,但这并不意味着所有流将同时执行,因为那是硬硬件限制(多处理器,寄存器等)。

I haven't seen a limit in any documentation, but that doesn't mean all streams will execute concurrently, since that is a hard hardware limit (Multiprocessors, registers, etc).

这篇关于CUDA中是否有最大数量的流?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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