public static extern CUResult cudaGraphicsD3D11RegisterResource(ref cudaGraphicsResource resource, IntPtr pD3DResource, uint flags);
 public static extern cudaError cudaGraphicsD3D9RegisterResource(ref cudaGraphicsResource resource, IntPtr pD3DResource, uint flags);
Beispiel #3
0
 public static extern cudaError cudaGraphicsUnregisterResource(ref cudaGraphicsResource resource);
Beispiel #4
0
 public static extern cudaError cudaGraphicsSubResourceGetMappedArray(ref cudaArray arrayPtr, ref cudaGraphicsResource resource, uint arrayIndex, uint mipLevel);
Beispiel #5
0
 public static extern cudaError cudaGraphicsResourceSetMapFlags(ref cudaGraphicsResource resource, uint flags);
Beispiel #6
0
 public static extern cudaError cudaGraphicsResourceGetMappedPointer(ref CUdeviceptr devPtr, SizeT size, ref cudaGraphicsResource resource);