From 7a009fe45114081cfdfe6bf7bc6f530078c1505b Mon Sep 17 00:00:00 2001 From: wallentx Date: Wed, 6 Sep 2023 17:50:21 -0500 Subject: [PATCH] Switching buckets to 256u for 6GB VRAM cards --- cuda/CudaPlotConfig.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cuda/CudaPlotConfig.h b/cuda/CudaPlotConfig.h index b42a5d8a..ada88d61 100644 --- a/cuda/CudaPlotConfig.h +++ b/cuda/CudaPlotConfig.h @@ -5,7 +5,7 @@ #define BBCU_DEFAULT_GPU_BUFFER_COUNT 2 #define BBCU_K (32u) -#define BBCU_BUCKET_COUNT (128u) +#define BBCU_BUCKET_COUNT (256u) #define BBC_Y_BITS (BBCU_K+kExtraBits) #define BBC_Y_BITS_T7 (BBCU_K) #define BBC_BUCKET_BITS (CuBBLog2( BBCU_BUCKET_COUNT )) @@ -75,4 +75,4 @@ static_assert( BBCU_BUCKET_ALLOC_ENTRY_COUNT / BBCU_BUCKET_COUNT == BBCU_MAX_SLI #define ASSERT_DOES_NOT_OVERLAP( b0, b1, size ) #define _ASSERT_DOES_NOT_OVERLAP2( b0, b1, sz0, sz1 ) #define ASSERT_DOES_NOT_OVERLAP2( b0, b1, size0, size1 ) -#endif \ No newline at end of file +#endif