mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-23 03:01:20 +08:00
Additionally remove dependencies on opencl code from aub and tbx code. Related-To: NEO-3964 Change-Id: Ie81b7d274e2f22b6090df0e07c45123618af5cae Signed-off-by: Filip Hazubski <filip.hazubski@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
|