diff options
Diffstat (limited to 'test/src/__support/RPC/rpc_smoke_test.cpp')
-rw-r--r-- | test/src/__support/RPC/rpc_smoke_test.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/test/src/__support/RPC/rpc_smoke_test.cpp b/test/src/__support/RPC/rpc_smoke_test.cpp index 54821e21f9cc..58b318c7cfa6 100644 --- a/test/src/__support/RPC/rpc_smoke_test.cpp +++ b/test/src/__support/RPC/rpc_smoke_test.cpp @@ -13,12 +13,8 @@ namespace { enum { lane_size = 8, port_count = 4 }; -struct Packet { - uint64_t unused; -}; - -using ProcAType = LIBC_NAMESPACE::rpc::Process<false, Packet>; -using ProcBType = LIBC_NAMESPACE::rpc::Process<true, Packet>; +using ProcAType = LIBC_NAMESPACE::rpc::Process<false>; +using ProcBType = LIBC_NAMESPACE::rpc::Process<true>; static_assert(ProcAType::inbox_offset(port_count) == ProcBType::outbox_offset(port_count)); @@ -26,7 +22,7 @@ static_assert(ProcAType::inbox_offset(port_count) == static_assert(ProcAType::outbox_offset(port_count) == ProcBType::inbox_offset(port_count)); -enum { alloc_size = ProcAType::allocation_size(port_count) }; +enum { alloc_size = ProcAType::allocation_size(port_count, 1) }; alignas(64) char buffer[alloc_size] = {0}; } // namespace |