フィルターのクリア

How use the function “getdata” (imaqtool) to transfer data directly on GPU

2 ビュー (過去 30 日間)
Tutu
Tutu 2019 年 6 月 4 日
回答済み: Tutu 2019 年 7 月 12 日
I am currently using the function "getdata" from the imaqtool library to get my camera data, and make some postprocessing on my GPU.
Hence, I would like to get the data directly transfer from the buffer CPU memory to my GPU memory.
It is my understanding that "getdata" move data from CPU memory (buffer) to CPU memory. Hence, it should be trivial to transfer these data to my GPU directly.
However, I cannot find anything about it.
Any help is appreciated.
  2 件のコメント
Joss Knight
Joss Knight 2019 年 6 月 8 日
When you say "It is my understanding that "getdata" move data from CPU memory (buffer) to CPU memory" did you mean "It is my understanding that "getdata" move data from GPU memory (buffer) to CPU memory"?
If so, this isn't possible, you have to go via system memory and then call gpuArray.
Tutu
Tutu 2019 年 6 月 10 日
No, I meant CPU memory. The camera data are stored in a buffer in the CPU memory. "getdata" moves these data to the CPU memory.

サインインしてコメントする。

採用された回答

Tutu
Tutu 2019 年 7 月 12 日
This is simply not possible, right now, with MATLAB R2019a.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGPU Computing についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by