diff --git a/Src/ILGPU.Tests/MemoryBufferOperations.tt b/Src/ILGPU.Tests/MemoryBufferOperations.tt index da355499e..7bd5a6ec9 100644 --- a/Src/ILGPU.Tests/MemoryBufferOperations.tt +++ b/Src/ILGPU.Tests/MemoryBufferOperations.tt @@ -264,13 +264,15 @@ namespace ILGPU.Tests } <# foreach (var type in copyTypes) { #> - [Theory] + [SkippableTheory] <# foreach (var length in lengths) { #> [InlineData(<#= length #>)] <# } #> [KernelMethod(nameof(Copy2D_Kernel))] public void Copy2D_<#= type.Name #>(int length) { + Skip.If(length > Accelerator.MaxGroupSize.Y); + var extent = new LongIndex2D(length, length); Func> converter = c => (<#= type.Type #>)c; var expected = InitializeArray2D(length, converter); @@ -334,13 +336,17 @@ namespace ILGPU.Tests } <# foreach (var type in copyTypes) { #> - [Theory] + [SkippableTheory] <# foreach (var length in lengths) { #> [InlineData(<#= length #>)] <# } #> [KernelMethod(nameof(Copy3D_Kernel))] public void Copy3D_<#= type.Name #>(int length) { + Skip.If( + length > Accelerator.MaxGroupSize.Y || + length > Accelerator.MaxGroupSize.Z); + var extent = new LongIndex3D(length, length, length); Func> converter = c => (<#= type.Type #>)c; var expected = InitializeArray3D(length, converter);