thrust <URL:http://code.google.com/p/thrust/> STLのようなコンテナが扱えるようになります。mallocとかfreeをしなくてすむようになるし、sortとかもついてきます。 インストールするには、 # Non-members may check out a read-only working copy anonymously over HTTP. svn checkout http://thrust.googlecode.com/svn/trunk/ thrust-read-only として、レポジトリを取得し、 cp -ri thrust-read-only/thrust /usr/local/cuda/include/ thrustフォルダの中身をCUDAのインクルードディレクトリに入れるとよいです。 GPUWorker <URL:http