v0.9.0
Macros | Functions
cblas_sasum.c File Reference
#include "cblas.h"
#include "cblas_f77.h"

Go to the source code of this file.

Macros

#define F77_N   N
 
#define F77_incX   incX
 

Functions

float cblas_sasum (const int N, const float *X, const int incX)
 

Macro Definition Documentation

◆ F77_incX

#define F77_incX   incX

◆ F77_N

#define F77_N   N

Function Documentation

◆ cblas_sasum()

float cblas_sasum ( const int  N,
const float *  X,
const int  incX 
)

Definition at line 12 of file cblas_sasum.c.

13 {
14  float asum;
15 #ifdef F77_INT
16  F77_INT F77_N=N, F77_incX=incX;
17 #else
18  #define F77_N N
19  #define F77_incX incX
20 #endif
21  F77_sasum_sub( &F77_N, X, &F77_incX, &asum);
22  return asum;
23 }
#define F77_N
void F77_sasum_sub(FINT, const float *, FINT, float *)
#define F77_incX
const int N
Definition: speed_test.cpp:3