Browse Source

Improve the detection of sparc

tags/v0.2.2^2
Sylvestre Ledru 14 years ago
parent
commit
3692b4d631
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      driver/others/memory.c
  2. +1
    -1
      param.h

+ 1
- 1
driver/others/memory.c View File

@@ -1128,7 +1128,7 @@ static BLASULONG init_lock = 0UL;
static void _touch_memory(blas_arg_t *arg, BLASLONG *range_m, BLASLONG *range_n,
void *sa, void *sb, BLASLONG pos) {

#ifndef ARCH_POWER
#if !defined(ARCH_POWER) && !defined(ARCH_SPARC)

long size;
BLASULONG buffer;


+ 1
- 1
param.h View File

@@ -1482,7 +1482,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define GEMM_THREAD gemm_thread_mn
#endif

#if defined(SPARC) && defined(V9)
#if (defined(SPARC) && defined(V9)) || defined(__sparc_v9__)

#define SNUMOPT 2
#define DNUMOPT 2


Loading…
Cancel
Save