0

I'm trying to find the documentation for all of the functions available for the CUDA kernels.
The CUDA Reference manual seem to include only the host functions and the CUDA programming guide only includes some details such as the accuracy of these functions but not their documentation.

Am I missing something or does this piece of documentation simply doesn't exist?

4

1 に答える 1

3

CUDA プログラミング ガイドの付録 B と C には、カーネル内で実行できる関数のドキュメントが含まれています。ほとんどの場合、テクスチャ フェッチ、アトミック インストラクション、ワープ ボーティング、同期、C 標準ライブラリの数学演算などに使用されます。

これらの関数の意味は、C 標準ライブラリのドキュメントの別の場所で説明されているため、ドキュメントは非常にまばらです。これらの関数のいくつかは、非常に難解です。他人の意味は名前から推測できます。わからないものについては、「site:opengroup.org nextafter」などのクエリを使用して、man ページをグーグルで検索できます。*nix マシンを使用していて、C ライブラリのドキュメントがインストールされている場合は、入力man nextafterも機能します。

于 2009-11-04T16:30:40.777 に答える