2 Replies Latest reply on Apr 20, 2015 1:06 PM by BrightlandCo

    SDK_ProcAmp_GPU: documentation or example to interact with CUDA

    BrightlandCo

      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