Streams added to all kernels and GPU operations to separate threads from each other.
This commit is contained in:
1 parent
64d615c402
commit
de2a78b27b
30 files changed
+1097
-1002
No files matched your search
@@ -44,11 +44,6 @@ public sealed class ScratchBuffer
|
||||
SmallPrimeFactorPrimeSlots = _accelerator.Allocate1D<ulong>(newSize);
|
||||
SmallPrimeFactorExponentSlots = _accelerator.Allocate1D<int>(newSize);
|
||||
}
|
||||
// else
|
||||
// {
|
||||
// SmallPrimeFactorPrimeSlots.MemSetToZero();
|
||||
// SmallPrimeFactorExponentSlots.MemSetToZero();
|
||||
// }
|
||||
}
|
||||
|
||||
public void ResizeSpecialMaxFactors(int newSize)
|
||||
@@ -61,11 +56,6 @@ public sealed class ScratchBuffer
|
||||
SpecialMaxFactors = _accelerator.Allocate1D<ulong>(newSize);
|
||||
SpecialMaxCandidates = _accelerator.Allocate1D<ulong>(newSize);
|
||||
}
|
||||
// else
|
||||
// {
|
||||
// SpecialMaxFactors.MemSetToZero();
|
||||
// SpecialMaxCandidates.MemSetToZero();
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user