17%
11.05.2021
sizes (Listing 1). The second script (Listing 2) is the same as Listing 1, but uses double precision.
Listing 1: Single-Precision Square Matrix Multiply
# Example SGEMM
for N = [2, 4, 8, 16
17%
17.05.2017
, 5 ) / ( 8, 5 ) }
DATA {
(0,0): 0, 1, 2, 3, 4,
(1,0): 5, 6, 7, 8, 9,
(2,0): 10, 11, 12, 13, 14,
(3,0): 15, 16, 17, 18, 19,
(4,0): 20, 21, 22, 23, 24,
(5,0): 25, 26, 27, 28, 29,
(6