General: address feedback
This commit is contained in:
parent
0d99b7962d
commit
ca3db0d7c9
30 changed files with 167 additions and 165 deletions
|
@ -126,7 +126,7 @@ private:
|
|||
void WriteBlockImpl(GPUVAddr gpu_dest_addr, const void* src_buffer, std::size_t size);
|
||||
|
||||
template <bool is_big_page>
|
||||
[[nodiscard]] inline std::size_t PageEntryIndex(GPUVAddr gpu_addr) const {
|
||||
[[nodiscard]] std::size_t PageEntryIndex(GPUVAddr gpu_addr) const {
|
||||
if constexpr (is_big_page) {
|
||||
return (gpu_addr >> big_page_bits) & big_page_table_mask;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue