i try to copy cuda result to dx11 tex but do not get anything at dx11 part
i try to believe my dx11 part is right so i show my cuda part as below
beside the cuda version is 5.5 __CUDA_API_VERSION 5050
and i try to believe cuda’s param is right so i ignore it
cuInit()
cuCtxCreate()
cuGraphicsD3D11RegisterResource()
cuMemAllocPitch()
cuMemsetD32()
cuLaunchKernel()
cuGraphicsMapResources()
cuGraphicsSubResourceGetMappedArray()
cuMemcpy2D()
cuGraphicsUnmapResources()
this is cuda api step by step after there is dx11 part
i want to know is there any cuda api i have miss to result error