public NvHostChannelDeviceFile(ServiceCtx context) : base(context) { _gpu = context.Device.Gpu; _memory = context.Memory; _timeout = 3000; _submitTimeout = 0; _timeslice = 0; }
public NvHostChannelDeviceFile(ServiceCtx context) : base(context) { _device = context.Device; _memory = context.Memory; _timeout = 3000; _submitTimeout = 0; _timeslice = 0; ChannelSyncpoints = new uint[MaxModuleSyncpoint]; _channelSyncpoint.Id = _device.System.HostSyncpoint.AllocateSyncpoint(false); _channelSyncpoint.UpdateValue(_device.System.HostSyncpoint); }
/// <summary> /// Sets the process memory manager, after the application process is initialized. /// This is required for any GPU memory access. /// </summary> /// <param name="cpuMemory">CPU memory manager</param> public void SetVmm(ARMeilleure.Memory.MemoryManager cpuMemory) { PhysicalMemory = new PhysicalMemory(cpuMemory); }