Exemple #1
0
 public static extern CuResult DevicePrimaryCtxReset(CuDevice dev);
Exemple #2
0
 public static extern CuResult DeviceGetByPCIBusId(out CuDevice dev, string pciBusId);
Exemple #3
0
 public static extern CuResult DevicePrimaryCtxSetFlags(CuDevice dev, CuContextFlags flags);
Exemple #4
0
 public static extern CuResult DevicePrimaryCtxGetState(CuDevice dev, out CuContextFlags flags, out bool active);
Exemple #5
0
 public static extern CuResult CtxGetDevice(out CuDevice device);
Exemple #6
0
 public static extern CuResult MemPrefetchAsync(CuDevicePtr devPtr, IntPtr count, CuDevice dstDevice, CuStream hStream);
Exemple #7
0
 public static extern CuResult DeviceGetNvSciSyncAttributes(IntPtr nvSciSyncAttrList, CuDevice device, int flags);
Exemple #8
0
 public static extern CuResult DeviceGetP2PAttribute(out int value, DeviceP2PAttribute attrib, CuDevice srcDevice, CuDevice dstDevice);
Exemple #9
0
 public static extern CuResult DeviceGetLuid(out byte luid, out uint deviceNodeMask, CuDevice device);
Exemple #10
0
 public static extern CuResult DeviceGetName(byte *name, int len, CuDevice device);
Exemple #11
0
 public static extern CuResult DeviceGetAttribute(out int pi, CuDeviceAttribute attrib, CuDevice device);
Exemple #12
0
 public static extern CuResult DeviceGet(out CuDevice device, int ordinal);
Exemple #13
0
 public static extern CuResult MemAdvise(CuDevicePtr devPtr, IntPtr count, MemoryAdvice advice, CuDevice device);
Exemple #14
0
 public static extern CuResult DeviceGetPCIBusId(byte *pciBusId, int len, CuDevice dev);
Exemple #15
0
 public static extern CuResult DeviceGetUuid(out Guid uuid, CuDevice device);
Exemple #16
0
 public static extern CuResult DeviceCanAccessPeer(out bool canAccessPeer, CuDevice dev, CuDevice peerDev);
Exemple #17
0
 public static extern CuResult DeviceTotalMemory(out IntPtr bytes, CuDevice device);
Exemple #18
0
 public CuDeviceDescription(CuDevice device)
 {
     Device      = device;
     Name        = device.GetName();
     TotalMemory = device.GetTotalMemory();
 }
Exemple #19
0
 public static extern CuResult DevicePrimaryCtxRetain(out CuContext pctx, CuDevice dev);
Exemple #20
0
 public static extern CuResult CtxCreate(out CuContext pctx, CuContextFlags flags, CuDevice dev);
Exemple #21
0
 public static extern CuResult D3D11GetDevice(out CuDevice cudaDevice, IntPtr pAdapter);