2019-06-03 20:51:05 +01:00
|
|
|
#ifndef _BLAS_H_
|
|
|
|
#define _BLAS_H_
|
2019-06-03 16:58:59 +01:00
|
|
|
/// @file blas.h
|
|
|
|
/// @brief Defining the implementations for linear algebra functions depending on the machine architecture.
|
|
|
|
///
|
|
|
|
|
|
|
|
|
|
|
|
#include "blas_comm.h"
|
|
|
|
#include "blas_u32.h"
|
|
|
|
|
|
|
|
#define gf16v_mul_scalar _gf16v_mul_scalar_u32
|
|
|
|
#define gf16v_madd _gf16v_madd_u32
|
|
|
|
|
|
|
|
#define gf256v_add _gf256v_add_u32
|
|
|
|
#define gf256v_mul_scalar _gf256v_mul_scalar_u32
|
|
|
|
#define gf256v_madd _gf256v_madd_u32
|
|
|
|
|
|
|
|
#define gf256v_predicated_add _gf256v_predicated_add_u32
|
|
|
|
#define gf16v_dot _gf16v_dot_u32
|
|
|
|
|
|
|
|
|
|
|
|
#endif // _BLAS_H_
|
|
|
|
|