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