Skip to main content
morphinapg
Inspiring
August 4, 2025
Answered

I compiled a sample effect from the SDK (SDK_ProcAmp) but it doesn't run in GPU mode in Premiere.

  • August 4, 2025
  • 1 reply
  • 216 views

I'm able to successfully compile, and the effect runs in Premiere when I test it, but it runs in CPU mode only. Is there something I need to do with the sample project to make sure GPU will work? Or does it have to do with the other things used in compile like boost, directx compiler, cuda? Like maybe I need different versions than the latest versions?

Can someone familiar with the SDK help me? I plan to customize the effect to do what I need later, but for now I just want to get the sample project to work with the GPU, because GPU acceleration is important to what I will need later on.

Correct answer morphinapg

I was indeed able to accomplish the custom effect I needed by starting with the Vignette sample project!

1 reply

morphinapg
Inspiring
August 4, 2025

I've just realized that mDeviceInfo.outDeviceFramework is PrGPUDeviceFramework_CUDA, but the sample code doesn't provide anything CUDA specific, and I guess it won't use the DirectX block either. So basically, if I'd want it to run with GPU acceleration on my PC, I'd need to implement a CUDA version of the effect myself.

Which makes this a lot more complicated than I was hoping for. I just wanted to do some fairly simple math operations (but more precise than what can be done in a LUT) using a modified version of what the sample provided. This was just something I wanted to make to help my own process with something Premiere doesn't currently do, but without sample CUDA code to modify, I don't think I have enough knowledge to do what I want to do.

morphinapg
Inspiring
August 4, 2025

Ooh, it looks like the Vignette sample project DOES include CUDA code, so maybe that's a better starting point than ProcAmp. I'll have to see if I can work with that.

morphinapg
morphinapgAuthorCorrect answer
Inspiring
August 4, 2025

I was indeed able to accomplish the custom effect I needed by starting with the Vignette sample project!