1

NVidia Tesla 2050 GPU カードを搭載した新しい Dell Precision ワークステーションをセットアップしています。R のパッケージ gputools をインストールしたいと思います。私のOSはopenSuse 11.3 with KDE 4.4です。

NVidia の CUDA ツールキット 3.2 をダウンロードして /usr/local/cuda にインストールし、最新バージョンの CULA ツール セット (バージョン R10) もダウンロードして /usr/local/cula にインストールしました。

install.packages("gputools") を使用して R 内から gputools をインストールしようとすると、次のエラー メッセージが表示されます。

classification.cu(735): error: argument of type "unsigned int *" is incompatible with parameter of type "size_t *"

classification.cu(735): error: argument of type "unsigned int *" is incompatible with parameter of type "size_t *"

classification.cu(1042): error: argument of type "unsigned int *" is incompatible with parameter of type "size_t *"

classification.cu(1042): error: argument of type "unsigned int *" is incompatible with parameter of type "size_t *"

4 errors detected in the compilation of "/tmp/tmpxft_00003d8d_00000000-12_classification.compute_12.cpp1.ii".
make: *** [classification.o] Error 2
ERROR: compilation failed for package ‘gputools’
* removing ‘/home/moswald/R/x86_64-unknown-linux-gnu-library/2.12/gputools’

The downloaded packages are in
        ‘/tmp/RtmphI30zE/downloaded_packages’
Warning message:
In install.packages("gputools", dependencies = TRUE) :
  installation of package 'gputools' had non-zero exit status

古いバージョンの CULA および CUDA ツールセットを使用しても役に立ちません。

4

2 に答える 2

1

頭のてっぺんから、NVidua CUDA SDK の 3.1 バージョンを試してみてください。新しいものとの相互作用があったと思います。

于 2010-12-15T22:36:17.640 に答える
1

大量のメモリを持つデバイス (6 GB のデバイス メモリを搭載した C2070 など) をサポートするために、CUDA-3.2 では、CUDA <= 3.1 で使用されていた「unsigned int」ではなく、「size_t」を使用してメモリの量を記述します。これは、CUDA-3.1 が期待されている場所で CUDA-3.2 を使用する典型的なケースのように見えます。追加することで、CUDA-3.2 コンパイラをハッキングできる場合があります。

-DCUDA_FORCE_API_VERSION=3010

nvcc コマンドラインに。

于 2010-12-16T07:48:07.997 に答える