compute-runtime/shared/source/memory_manager/compression_selector.h

21 lines
342 B
C++

/*
* Copyright (C) 2020-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
namespace NEO {
struct AllocationProperties;
class CompressionSelector {
public:
static bool preferCompressedAllocation(const AllocationProperties &properties);
static bool allowStatelessCompression();
};
} // namespace NEO