Loading...
Searching...
No Matches
RdmaRingDepth.hpp
Go to the documentation of this file.
1#pragma once
2
15#include <cstdint>
16
17namespace score::gfx::interop
18{
19
23{
24 int full{};
25 int large{};
26};
27
30inline int rdmaRingDepthForFrame(std::uint32_t frameByteSize, RdmaRingDepths d) noexcept
31{
32 return frameByteSize >= (32u << 20) ? d.large : d.full;
33}
34
35} // namespace score::gfx::interop
int rdmaRingDepthForFrame(std::uint32_t frameByteSize, RdmaRingDepths d) noexcept
Definition RdmaRingDepth.hpp:30
Definition RdmaRingDepth.hpp:23