mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
19 lines
420 B
C++
19 lines
420 B
C++
/*
|
|
* Copyright (C) 2020-2021 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "shared/source/memory_manager/allocation_properties.h"
|
|
#include "shared/source/memory_manager/graphics_allocation.h"
|
|
|
|
namespace NEO {
|
|
class CompressionSelector {
|
|
public:
|
|
static bool preferCompressedAllocation(const AllocationProperties &properties, const HardwareInfo &hwInfo);
|
|
};
|
|
|
|
} // namespace NEO
|