Add Vector type in SPMD to total of load vector size * lane width of number into memory for simd calculation.

This commit is contained in:
2026-02-13 21:47:05 +09:00
parent 75d33d0763
commit 4f964b2d2a
22 changed files with 3682 additions and 447 deletions

View File

@@ -28,7 +28,7 @@ public interface IJobParallelFor
public static class IJobExtensions
{
public static void Run<T>(this ref T job, int threadIndex)
where T : unmanaged, IJob
where T : struct, IJob
{
job.Execute(threadIndex);
}
@@ -37,7 +37,7 @@ public static class IJobExtensions
public static class IJobParallelForExtensions
{
public static void Run<T>(this ref T job, int totalIterations, int threadIndex)
where T : unmanaged, IJobParallelFor
where T : struct, IJobParallelFor
{
for (var i = 0; i < totalIterations; i++)
{