Consider the clear_three function next. void clear_three (int m[N] [N] [N]) f int i; int *ptr; ptr =&( m[0][0][0]); for
Posted: Thu Jul 14, 2022 2:12 pm
Consider the clear_three function next. void clear_three (int m[N] [N] [N]) f int i; int *ptr; ptr =&( m[0][0][0]); for (i=0;i<i=i∗ N∗ N;i++) *ptr++ =0; 3 Sort the clear_one, clear_two, and clear_three functions with regard to their spatial locality and reference patterns. Drag the appropriate items to their respective bins. View Available Hint(s)