Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

SDK_ProcAmp_GPU: documentation or example to interact with CUDA

Participant ,
Apr 20, 2015 Apr 20, 2015

Hi- I see the SDK_ProcAmpGPU example uses OpenCL and casts the memory info as cl_mem for GPU processing:

  void* frameData = 0;

  mGPUDeviceSuite->GetGPUPPixData(*outFrame, &frameData);

  cl_mem buffer = (cl_mem)frameData;

When using CUDA, what is the proper struct/class to cast the frameData for use with CUDA?

Thanks,

John

TOPICS
SDK
643
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Apr 20, 2015 Apr 20, 2015

It will be a CUdeviceptr as returned by cuMemAlloc

Translate
Adobe Employee ,
Apr 20, 2015 Apr 20, 2015

It will be a CUdeviceptr as returned by cuMemAlloc

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Apr 20, 2015 Apr 20, 2015
LATEST

Thanks Steve!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines