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.
jCuda で関数 pointer.to(int[ ]) を使用して、1 次元の「結果」配列としましょう。「結果」の最初の n 個の場所にデータのチャンクを書き込み、次のデータのチャンクを Result[0 + チャンク] 以降に書き込みます。
C と違って Result+chunk とは言えません。では、中間の場所にどのようにインデックスを付けるのですか?