mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Minor fixups
This commit is contained in:
parent
310aff9b6f
commit
3e9a05d1ad
@ -228,7 +228,7 @@ Int32 HardwareCodecDeflateQpl::doDecompressDataSynchronous(const char * source,
|
||||
{
|
||||
_tpause(1, __rdtsc() + 1000);
|
||||
status = qpl_check_job(job_ptr);
|
||||
}while (status == QPL_STS_BEING_PROCESSED);
|
||||
} while (status == QPL_STS_BEING_PROCESSED);
|
||||
|
||||
if (status != QPL_STS_OK)
|
||||
{
|
||||
|
@ -65,8 +65,6 @@ class HardwareCodecDeflateQpl
|
||||
public:
|
||||
/// RET_ERROR stands for hardware codec fail, needs fallback to software codec.
|
||||
static constexpr Int32 RET_ERROR = -1;
|
||||
/// Maximum times to check if hardware job complete, otherwise fallback to software codec.
|
||||
static constexpr UInt32 MAX_CHECKS = UINT16_MAX;
|
||||
|
||||
HardwareCodecDeflateQpl(SoftwareCodecDeflateQpl & sw_codec_);
|
||||
~HardwareCodecDeflateQpl();
|
||||
|
Loading…
Reference in New Issue
Block a user