Merge branch 'loongson3a' of github.com:xianyi/OpenBLAS into loongson3a
This commit is contained in:
commit
048742f38f
|
@ -684,13 +684,17 @@ void blas_set_parameter(void){
|
||||||
#if defined(ARCH_MIPS64)
|
#if defined(ARCH_MIPS64)
|
||||||
void blas_set_parameter(void){
|
void blas_set_parameter(void){
|
||||||
#if defined(LOONGSON3A)
|
#if defined(LOONGSON3A)
|
||||||
|
#ifdef SMP
|
||||||
if(blas_num_threads == 1){
|
if(blas_num_threads == 1){
|
||||||
|
#endif
|
||||||
//single thread
|
//single thread
|
||||||
dgemm_r = 1000;
|
dgemm_r = 1000;
|
||||||
|
#ifdef SMP
|
||||||
}else{
|
}else{
|
||||||
//multi thread
|
//multi thread
|
||||||
dgemm_r = 300;
|
dgemm_r = 300;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue