Add custom job scheduling and dependency combiners
- Introduce `CombinedDependenciesJob` for efficient dependency handling and memory management - Add `ScheduleCustom<T>` for user-defined job execution/free logic - Refactor `JobInfo` and `JobDataPool<T>` for safer resource management and custom function support - Improve SPMD extension type constraint formatting - Update SPMD project content path and increment assembly versions - Add unit tests for combined dependencies and custom jobs - Remove `[Timeout]` from tests to prevent spurious failures - Add TODO for future `WideLane` optimizations - Replace legacy .sln with .slnx for better solution structure
This commit is contained in:
@@ -7,7 +7,6 @@ namespace Misaki.HighPerformance.Test.UnitTest.Buffer;
|
||||
public class TestAllocationManager
|
||||
{
|
||||
[TestMethod]
|
||||
[Timeout(1000, CooperativeCancellation = true)]
|
||||
public void PersistentAllocationTest()
|
||||
{
|
||||
var ptr1 = new MemoryBlock(1024, 8, AllocationHandle.Persistent);
|
||||
@@ -24,7 +23,6 @@ public class TestAllocationManager
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
[Timeout(1000, CooperativeCancellation = true)]
|
||||
public void TempAllocationTest()
|
||||
{
|
||||
var ptr1 = new MemoryBlock(1024, 8, AllocationHandle.Temp);
|
||||
@@ -43,7 +41,6 @@ public class TestAllocationManager
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
[Timeout(1000, CooperativeCancellation = true)]
|
||||
public void FreeListAllocationTest()
|
||||
{
|
||||
var ptr1 = new MemoryBlock(1024, 8, AllocationHandle.FreeList);
|
||||
@@ -60,7 +57,6 @@ public class TestAllocationManager
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
[Timeout(1000, CooperativeCancellation = true)]
|
||||
public void StackAllocationTest()
|
||||
{
|
||||
var thread = new Thread(() =>
|
||||
|
||||
Reference in New Issue
Block a user