Add regression test for divisor cycle GPU generation

This commit is contained in:
Marek Lemańczyk committed 2025-09-13 11:07:32 +02:00
1 parent 3028397d6b
commit 84451aac4d
3 files changed
+60 -4

No files matched your search

+4 -4
View File
@@ -280,10 +280,10 @@ public class MersenneDivisorCycles
var bufferDiv = accelerator.Allocate1D(validDivisors);
var bufferCycle = accelerator.Allocate1D<ulong>(idx);
kernel(
count,
bufferDiv.View,
bufferCycle.View);
kernel(
idx,
bufferDiv.View,
bufferCycle.View);
accelerator.Synchronize();