Inner Product Computation

32 views
Skip to first unread message

lu56...@gmail.com

unread,
Feb 15, 2022, 5:21:33 PM2/15/22
to SPDZ/SCALE-MAMBA Discussion Group
Hi,

I want to implement an application that includes the computation of some inner products of two secret shared vectors. Besides multiplying the pairwise elements in parallel, may I know if SCALE-MAMBA has more optimized protocol for it?

Thanks!
Donghang.

Nigel Smart

unread,
Feb 16, 2022, 4:08:11 AM2/16/22
to sp...@googlegroups.com
In Mamba you would need to use vectorized instructions.
  - See the vectorized bits in the manual.

In the Rust variant you can multiply two vectors or matrices component
wise in parallel, and then form the sum via a loop. As sums are virtually
for free the expensive bit is the thing done in parallel

Nigel
--
You received this message because you are subscribed to the Google Groups "SPDZ/SCALE-MAMBA Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spdz+uns...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/spdz/4e5060a7-de5e-4206-a46f-718e2d0a2b8dn%40googlegroups.com.

OpenPGP_signature
Reply all
Reply to author
Forward
0 new messages