Skip to main content
igorr60572095
Inspiring
May 18, 2018
Answered

How to create dynamic buffer for cuda, opencl, metal?

  • May 18, 2018
  • 1 reply
  • 904 views

Hi, everyone!

I am creating a plugin which is gpu-accelerated by referencing SDK_ProcAmp sample plugin.

Currently the plugin is making effects by applying some operator to inFrame and pasting it to outFrame  in GPU.

I'd like to create a buffer frame, which has twice size, between inFrame and outFrame.

How can I do this?

(for example, I used clCreateBuffer in openCL, but it is working only on NVidia and intel HD graphic device and not working on AMD well.)

Does PPre SDK provide this function?

Regards,

Igor.

This topic has been closed for replies.
Correct answer igorr60572095

I solved this problem.

thanks.

1 reply

igorr60572095
Inspiring
May 24, 2018

I just moved this question from other forum.

looking forward to hearing back.

Regards,

Igor.

igorr60572095
igorr60572095AuthorCorrect answer
Inspiring
May 26, 2018

I solved this problem.

thanks.