Changeset 088760e for src/aubio_priv.h


Ignore:
Timestamp:
Oct 31, 2018, 10:26:52 PM (5 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/constantq
Children:
c03d191
Parents:
45c2c5c (diff), 7a54b37 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into feature/constantq

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/aubio_priv.h

    r45c2c5c r088760e  
    7171#endif
    7272
    73 #ifdef HAVE_ACCELERATE
     73#if defined(HAVE_ACCELERATE)
    7474#define HAVE_ATLAS 1
     75#define HAVE_BLAS 1
    7576#include <Accelerate/Accelerate.h>
    7677#elif defined(HAVE_ATLAS_CBLAS_H)
     78#elif defined(HAVE_BLAS)
     79#if defined(HAVE_ATLAS_CBLAS_H)
    7780#define HAVE_ATLAS 1
    7881#include <atlas/cblas.h>
    79 #else
    80 #undef HAVE_ATLAS
     82#elif defined(HAVE_OPENBLAS_CBLAS_H)
     83#include <openblas/cblas.h>
     84#elif defined(HAVE_CBLAS_H)
     85#include <cblas.h>
     86#endif
    8187#endif
    8288
     
    114120#endif /* HAVE_ACCELERATE */
    115121
     122#if defined(HAVE_BLAS)
     123#ifndef HAVE_AUBIO_DOUBLE
    116124#ifdef HAVE_ATLAS
    117 #ifndef HAVE_AUBIO_DOUBLE
    118125#define aubio_catlas_set      catlas_sset
     126#endif /* HAVE_ATLAS */
    119127#define aubio_cblas_copy      cblas_scopy
    120128#define aubio_cblas_swap      cblas_sswap
    121129#define aubio_cblas_dot       cblas_sdot
    122130#else /* HAVE_AUBIO_DOUBLE */
     131#ifdef HAVE_ATLAS
    123132#define aubio_catlas_set      catlas_dset
     133#endif /* HAVE_ATLAS */
    124134#define aubio_cblas_copy      cblas_dcopy
    125135#define aubio_cblas_swap      cblas_dswap
    126136#define aubio_cblas_dot       cblas_ddot
    127137#endif /* HAVE_AUBIO_DOUBLE */
    128 #endif /* HAVE_ATLAS */
     138#endif /* HAVE_BLAS */
    129139
    130140#if defined HAVE_INTEL_IPP
     
    161171#if !defined(HAVE_MEMCPY_HACKS) && !defined(HAVE_ACCELERATE) && !defined(HAVE_ATLAS) && !defined(HAVE_INTEL_IPP)
    162172#define HAVE_NOOPT 1
    163 #else
    164 #undef HAVE_NOOPT
    165173#endif
    166174
Note: See TracChangeset for help on using the changeset viewer.