Pooling restored
This commit is contained in:
1 parent
2e5affa005
commit
a9991c5b88
1 file changed
+1
-1
@@ -6,7 +6,7 @@ namespace PerfectNumbers.Core.Gpu;
|
|||||||
|
|
||||||
public static class GpuContextPool
|
public static class GpuContextPool
|
||||||
{
|
{
|
||||||
private static readonly bool PoolingEnabled = false;
|
private static readonly bool PoolingEnabled = true;
|
||||||
// Default device preference for generic GPU kernels (prime scans, NTT, etc.)
|
// Default device preference for generic GPU kernels (prime scans, NTT, etc.)
|
||||||
public static bool ForceCpu { get; set; } = false;
|
public static bool ForceCpu { get; set; } = false;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user