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.
すべての mxArray をその型として CUDA のカーネル コードに渡そうとします。mxArray タイプのカーネルで処理することは論理的で可能ですか、それとも通常の C 配列に変換する方が良い方法ですか? 要するに、CUDAカーネルでmatlabデータを処理する最良の方法は何ですか?
sでは操作できませんmxArray。C ポインタを抽出してカーネルに渡すのが最善です。
mxArray