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