mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-16 04:08:35 +08:00
Source location of Linux kernel DRM/i915 interface headers: https://repositories.intel.com/graphics/kernel-api/index.html Related-To: NEO-4744 Change-Id: I08a9ab651d8594e9a04d6a83dc48682d4fa53702 Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
20 lines
363 B
C++
20 lines
363 B
C++
/*
|
|
* Copyright (C) 2018-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include <cstdint>
|
|
|
|
namespace MemoryBanks {
|
|
constexpr uint32_t BankNotSpecified{0};
|
|
constexpr uint32_t MainBank{0};
|
|
constexpr uint32_t Bank0{1};
|
|
|
|
inline uint32_t getBank(uint32_t deviceOrdinal) {
|
|
return MemoryBanks::MainBank;
|
|
}
|
|
} // namespace MemoryBanks
|