Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在CUDA中使用动态并行时,您可以实现诸如mergeSort 之类的递归算法。我已经实现了它,并且我的程序不适用于大于blah的输入。 我的问题是实现可以在递归树中有多少深度?有什么限制吗?(我的程序适用于较小的输入。)
来自专业的 CUDA C 编程:
动态并行的最大嵌套深度限制为 24,但实际上大多数内核将受到设备运行时系统在每个新级别所需的内存量的限制。. .