mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-20 13:11:34 +08:00
Add debug flag to enable compression in L0 USM allocations
Related-To: NEO-5069 Change-Id: Icbfeb8d72cd764bb3c90d5c699998455f81dd3ee Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
cbf838e5ab
commit
7d506e3608
18
shared/source/memory_manager/compression_selector.h
Normal file
18
shared/source/memory_manager/compression_selector.h
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Copyright (C) 2020 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 preferRenderCompressedBuffer(const AllocationProperties &properties);
|
||||
};
|
||||
|
||||
} // namespace NEO
|
Reference in New Issue
Block a user