PandA-2024.02
examples
MachSuite
MachSuite
gemm
ncubed
gemm.h
Go to the documentation of this file.
1
//Standard Libraries
2
#include <stdio.h>
3
#include <stdlib.h>
4
#include "support.h"
5
6
//Define compute data type
7
#define TYPE double
8
9
//Specify row/column sizes
10
#define row_size 64
11
#define col_size 64
12
#define N row_size*col_size
13
14
//Define the input range to operate over
15
#define MIN 0.
16
#define MAX 1.0
17
18
//Set number of iterations to execute
19
#define MAX_ITERATION 1
20
21
void
gemm
(
TYPE
m1
[
N
],
TYPE
m2
[N],
TYPE
prod[N]);
23
// Test harness interface code.
24
25
struct
bench_args_t
{
26
TYPE
m1
[
N
];
27
TYPE
m2
[
N
];
28
TYPE
prod
[
N
];
29
};
bench_args_t::prod
TYPE prod[N]
Definition:
gemm.h:36
bench_args_t::m1
TYPE m1[N]
Definition:
gemm.h:34
N
#define N
Definition:
gemm.h:12
gemm
void gemm(TYPE m1[N], TYPE m2[N], TYPE prod[N])
Definition:
gemm.c:3
TYPE
#define TYPE
Definition:
gemm.h:7
m2
const unsigned long long m2
Definition:
digitrec_sw.c:13
bench_args_t::m2
TYPE m2[N]
Definition:
gemm.h:35
m1
const unsigned long long m1
Definition:
digitrec_sw.c:12
bench_args_t
Definition:
aes.h:18
Generated on Mon Feb 12 2024 13:02:50 for PandA-2024.02 by
1.8.13