I need to implement concurrent matrix multiplication in C using multiple processes. I understand that because each process has its own private address space, I will have to use some form of interprocess communication (IPC). I did some looking around and couldn’t find many implementations that didn’t use threads. I was wondering if anyone knew the most best way to go about this, either using shared memory, message passing, or pipes? I am not asking for a solution, but rather, if anyone knows, which of these methods will be more efficient with matrix multiplication. Or if there is a common standard way to do this with multiple processes?
I need to implement concurrent matrix multiplication in C using multiple processes. I understand
Share
The most efficient way of concurrently processing matrix multiplications would be shared memory. In this way, you don’t have to serialize your matrix through a pipe/message and you can directly apply your multiplications on your shared memory space.