public static extern CuResult DevicePrimaryCtxReset(CuDevice dev);
public static extern CuResult DeviceGetByPCIBusId(out CuDevice dev, string pciBusId);
public static extern CuResult DevicePrimaryCtxSetFlags(CuDevice dev, CuContextFlags flags);
public static extern CuResult DevicePrimaryCtxGetState(CuDevice dev, out CuContextFlags flags, out bool active);
public static extern CuResult CtxGetDevice(out CuDevice device);
public static extern CuResult MemPrefetchAsync(CuDevicePtr devPtr, IntPtr count, CuDevice dstDevice, CuStream hStream);
public static extern CuResult DeviceGetNvSciSyncAttributes(IntPtr nvSciSyncAttrList, CuDevice device, int flags);
public static extern CuResult DeviceGetP2PAttribute(out int value, DeviceP2PAttribute attrib, CuDevice srcDevice, CuDevice dstDevice);
public static extern CuResult DeviceGetLuid(out byte luid, out uint deviceNodeMask, CuDevice device);
public static extern CuResult DeviceGetName(byte *name, int len, CuDevice device);
public static extern CuResult DeviceGetAttribute(out int pi, CuDeviceAttribute attrib, CuDevice device);
public static extern CuResult DeviceGet(out CuDevice device, int ordinal);
public static extern CuResult MemAdvise(CuDevicePtr devPtr, IntPtr count, MemoryAdvice advice, CuDevice device);
public static extern CuResult DeviceGetPCIBusId(byte *pciBusId, int len, CuDevice dev);
public static extern CuResult DeviceGetUuid(out Guid uuid, CuDevice device);
public static extern CuResult DeviceCanAccessPeer(out bool canAccessPeer, CuDevice dev, CuDevice peerDev);
public static extern CuResult DeviceTotalMemory(out IntPtr bytes, CuDevice device);
public CuDeviceDescription(CuDevice device) { Device = device; Name = device.GetName(); TotalMemory = device.GetTotalMemory(); }
public static extern CuResult DevicePrimaryCtxRetain(out CuContext pctx, CuDevice dev);
public static extern CuResult CtxCreate(out CuContext pctx, CuContextFlags flags, CuDevice dev);
public static extern CuResult D3D11GetDevice(out CuDevice cudaDevice, IntPtr pAdapter);