Question: Forked Block Matrix Multiplication Function - C programming - Blocked matrix multiplication using fork to spawn subprocesses. The basic goal is to allow multiple processes

Forked Block Matrix Multiplication Function - C programming - Blocked matrix multiplication using fork to spawn subprocesses. The basic goal is to allow multiple processes to work on blocks on the output matrix simultaneously. You will use the fork system call to create child processes. Note that fork is not a normal Windows system call. You will definitely need to use shm_open and mmap to handle the output matrix. Using a single semaphore for the entire output matrix is not optimal in terms of speed; ideally you want to assign a semaphore for each element of the matrix

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!