English 中文(简体)
CUDA是否支持再次入侵?
原标题:Does CUDA support recursion?

CUDA是否支持再次入侵?

最佳回答

它用于支持计算能力2.0和CUDA3.1的NVIDIA硬件:

New language features added to CUDA C / C++ include:

Support for function pointers and recursion make it easier to port many existing algorithms to Fermi GPUs

rel=“noreferer” http://developer.nvidia.com/object/cuda_3_1_downloads.html

Function pointers: http://developer.download.nvidia.com/compute/cuda/sdk/website/CUDA_Advanced_Topics.html#FunctionPointers

Recursion: I can t find a code sample on NVIDIA s website, but on the forum someone post this:

__device__ int fact(int f)
{
  if (f == 0)
    return 1;
  else
    return f * fact(f - 1);
}
问题回答

在CUDA 4.1中,CUDA支持只为__device__功能,而不是为__global__功能进行再保险。

只有在2.00英寸的兼容装置能力之后。

任何补习算法都可以用 st和 lo子实施。 这给我们带来了更多的痛苦,但如果你真的需要重新介入,这可以奏效。

Sure it does, but it requires the Kepler architecture to do so. Check out their latest example on the classic quick sort.

http://blogs.nvidia.com/2008/09/how-tesla-k20-speeds-up-quicksort-a-familiar-comp-sci-code/

就我所知,只有最新的Kepler GK110支持充满活力的平行主义,这样就能够发出这种休养的呼声,并在油轮内播下新胎。 在Kepler GK110之前,这是不可能的。 并且指出,并非所有Kepler建筑都支持这一点,只有GK110这样做。

If you need recursion, you probably need the Tesla K20. I m not sure if Fermi does supports it,never read of it. : But Kepler sure does. =)

CUDA 3.1 支持再次入侵

如果您的算法中选取回权,那么支持或不支持,则不是为万国邮联设计的,要么是重新设计你的长辈,要么是获得更好的万国邮联,要么是更好的(在许多情况下,我有更好的礼节),那么,万国邮联就会重新出现。

Yeah得到实际版本的支持。 但是,尽管有可能执行复职职能,但你必须铭记,不能预测执行过程中的记忆分配(为了了解再次入侵的真实深度,必须执行补休职能),因此,你的工作负担可能不足以达到你的目的,而且可能需要人工加固缺额。

是的,它确实支持再次入侵。 然而,在万国邮联上进行再保险不是一个好的想法。 由于每一条路面都会这样做。

紧接着,我就把1. 补充能力的NVIDIA GPU放在了上面。 它说,再次入侵尚未得到支持。 因此,它不会与操作时间有任何关系,而是硬件本身。





相关问题
Recursive same-table query in SQL Server 2008

I have the following table in a SQL Server 2008 database: Id Name ParentFolder -- ---- ------------ 1 Europe NULL 2 Asia NULL 3 Germany 1 4 UK 1 5 China ...

Finding a class within list

I have a class (Node) which has a property of SubNodes which is a List of the Node class I have a list of Nodes (of which each Node may or may not have a list of SubNodes within itself) I need to be ...

Selecting records during recursive stored procedure

I ve got a content management system that contains a hierarchical structure of categories, with sub-categories subject to different ordering options at each level. Currently, that s retrieved by a (...

热门标签