Cleanup. Unnecessary GC collection removed. It doesn't limit RAM usage.
This commit is contained in:
1 parent
1e9bd49145
commit
bacb2a1d18
1 file changed
-1
@@ -78,7 +78,6 @@ public sealed class PrimeOrderCalculatorAccelerator
|
||||
// GpuStaticTableInitializer.EnsureStaticTables(accelerator, kernels, stream);
|
||||
stream.Synchronize();
|
||||
stream.Dispose();
|
||||
GC.Collect(GC.MaxGeneration, GCCollectionMode.Aggressive | GCCollectionMode.Forced, blocking: true, compacting: true);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user