mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 09:58:55 +08:00
Updating files modified in 2018 only. Older files remain with old style copyright header Change-Id: Ic99f2e190ad74b4b7f2bd79dd7b9fa5fbe36ec92 Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
17 lines
449 B
C++
17 lines
449 B
C++
/*
|
|
* Copyright (C) 2017-2018 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "runtime/gmm_helper/gmm_lib.h"
|
|
|
|
namespace CacheSettings {
|
|
constexpr uint32_t l3CacheOn = GMM_RESOURCE_USAGE_OCL_BUFFER;
|
|
constexpr uint32_t l3CacheOff = GMM_RESOURCE_USAGE_OCL_BUFFER_CACHELINE_MISALIGNED;
|
|
constexpr uint32_t unknownMocs = GMM_RESOURCE_USAGE_UNKNOWN;
|
|
} // namespace CacheSettings
|
|
|
|
bool isL3Capable(void *ptr, size_t size); |