mirror of
https://github.com/intel/compute-runtime.git
synced 2025-06-28 17:58:30 +08:00

- create allocator dynamically in AUB & TBX CSRs Change-Id: I3b01a3fc2f4824b552ef27cbda5bdcc140e92e53
19 lines
329 B
C++
19 lines
329 B
C++
/*
|
|
* Copyright (C) 2018 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include <cstdint>
|
|
|
|
namespace MemoryBanks {
|
|
constexpr uint32_t BankNotSpecified{0};
|
|
constexpr uint32_t MainBank{0};
|
|
|
|
inline uint32_t getBank(uint32_t deviceOrdinal) {
|
|
return MemoryBanks::MainBank;
|
|
}
|
|
} // namespace MemoryBanks
|