Browse Source

Merge pull request #970 from martin-frbg/develop

Remove implicit inclusions of complex.h in various zdot implementations
tags/v0.2.20^2
Zhang Xianyi GitHub 9 years ago
parent
commit
4f38ae3199
5 changed files with 2 additions and 17 deletions
  1. +1
    -5
      kernel/arm/zdot.c
  2. +0
    -5
      kernel/mips/zdot.c
  3. +1
    -5
      kernel/mips/zdot_msa.c
  4. +0
    -1
      kernel/power/zdot.c
  5. +0
    -1
      kernel/x86_64/zdot.c

+ 1
- 5
kernel/arm/zdot.c View File

@@ -36,12 +36,8 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

#include "common.h"

#ifndef _MSC_VER
#include <complex.h>
FLOAT _Complex CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLONG inc_y)
#else
OPENBLAS_COMPLEX_FLOAT CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLONG inc_y)
#endif

{
BLASLONG i=0;
BLASLONG ix=0,iy=0;


+ 0
- 5
kernel/mips/zdot.c View File

@@ -27,12 +27,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

#include "common.h"

#ifndef _MSC_VER
#include <complex.h>
FLOAT _Complex CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLONG inc_y)
#else
OPENBLAS_COMPLEX_FLOAT CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLONG inc_y)
#endif
{
BLASLONG i=0;
BLASLONG ix=0,iy=0;


+ 1
- 5
kernel/mips/zdot_msa.c View File

@@ -95,12 +95,8 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
/* return double, x,y double */
/* zdotc - CONJ */
/* zdotu - !CONJ */
#ifndef _MSC_VER
#include <complex.h>
FLOAT _Complex CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLONG inc_y)
#else

OPENBLAS_COMPLEX_FLOAT CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLONG inc_y)
#endif
{
BLASLONG i = 0;
FLOAT dot[2];


+ 0
- 1
kernel/power/zdot.c View File

@@ -34,7 +34,6 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
**************************************************************************************/

#include "common.h"
#include <complex.h>


#if defined(POWER8)


+ 0
- 1
kernel/x86_64/zdot.c View File

@@ -27,7 +27,6 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


#include "common.h"
#include <complex.h>


#if defined(BULLDOZER)


Loading…
Cancel
Save