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