PandA-2024.02
Data Structures | Macros | Functions
gemm.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include "support.h"
Include dependency graph for gemm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  bench_args_t
 

Macros

#define TYPE   double
 
#define row_size   64
 
#define col_size   64
 
#define N   row_size*col_size
 
#define block_size   8
 
#define NUMOFBLOCKS   N/block_size/block_size
 
#define MIN   0.
 
#define MAX   1.0
 
#define MAX_ITERATION   1
 

Functions

void bbgemm (TYPE m1[N], TYPE m2[N], TYPE prod[N])
 

Macro Definition Documentation

◆ block_size

#define block_size   8

Definition at line 19 of file gemm.h.

Referenced by bbgemm().

◆ col_size

#define col_size   64

◆ MAX

#define MAX   1.0

Definition at line 24 of file gemm.h.

◆ MAX_ITERATION

#define MAX_ITERATION   1

Definition at line 27 of file gemm.h.

Referenced by main().

◆ MIN

#define MIN   0.

Definition at line 23 of file gemm.h.

◆ N

#define N   row_size*col_size

Definition at line 18 of file gemm.h.

◆ NUMOFBLOCKS

#define NUMOFBLOCKS   N/block_size/block_size

Definition at line 20 of file gemm.h.

Referenced by hist(), and update().

◆ row_size

#define row_size   64

◆ TYPE

#define TYPE   double

Definition at line 13 of file gemm.h.

Function Documentation

◆ bbgemm()

void bbgemm ( TYPE  m1[N],
TYPE  m2[N],
TYPE  prod[N] 
)

Definition at line 10 of file gemm.c.

References block_size, k, m1, m2, row_size, and TYPE.

Referenced by run_benchmark().

Here is the caller graph for this function:

Generated on Mon Feb 12 2024 13:03:10 for PandA-2024.02 by doxygen 1.8.13