diff --git a/cuda/harvesting/CudaThresher.cu b/cuda/harvesting/CudaThresher.cu index 7298250d..b023290e 100644 --- a/cuda/harvesting/CudaThresher.cu +++ b/cuda/harvesting/CudaThresher.cu @@ -101,8 +101,12 @@ public: bool AllocateBuffers( const uint k, uint maxCompressionLevel ) override { + // Only support C7 max for now + if( maxCompressionLevel > 7 ) + return false; + // #NOTE: For now we always preallocate for the maximum compression level - maxCompressionLevel = 9; + maxCompressionLevel = 7; if( _maxCompressionLevel >= maxCompressionLevel ) return true;