-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathP2PStream.cs
More file actions
21 lines (16 loc) · 635 Bytes
/
Copy pathP2PStream.cs
File metadata and controls
21 lines (16 loc) · 635 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using ILGPU.Runtime;
namespace SpawnDev.ILGPU.P2P;
/// <summary>
/// P2P accelerator stream — queues operations for remote peer execution.
/// </summary>
internal sealed class P2PStream : AcceleratorStream
{
internal P2PStream(Accelerator accelerator) : base(accelerator) { }
/// <inheritdoc/>
public override void Synchronize() { }
/// <inheritdoc/>
protected override ProfilingMarker AddProfilingMarkerInternal() =>
throw new NotSupportedException("Profiling markers not supported for P2P backend.");
/// <inheritdoc/>
protected override void DisposeAcceleratorObject(bool disposing) { }
}