Example #1
0
 public static extern CUResult cuMemFree(CUDeviceptr dptr);
Example #2
0
 public static extern CUResult cudaGetDevice(ref CUDeviceptr dptr);
Example #3
0
 public static extern CUResult cuMemcpyDtoH(void *dstHost, ref CUDeviceptr devSrc, uint bytesize);
Example #4
0
 public static extern CUResult cuMemcpyHtoD(ref CUDeviceptr device, void *srcHost, uint bytesize);
Example #5
0
 public static extern CUResult cuMemAlloc(ref CUDeviceptr dptr, uint bytesize);
Example #6
0
 public static extern CUResult cuDeviceGet(ref CUDeviceptr device, int ordinal);