Improve the detection of sparc
This commit is contained in:
parent
4b7677a916
commit
3692b4d631
|
@ -1128,7 +1128,7 @@ static BLASULONG init_lock = 0UL;
|
||||||
static void _touch_memory(blas_arg_t *arg, BLASLONG *range_m, BLASLONG *range_n,
|
static void _touch_memory(blas_arg_t *arg, BLASLONG *range_m, BLASLONG *range_n,
|
||||||
void *sa, void *sb, BLASLONG pos) {
|
void *sa, void *sb, BLASLONG pos) {
|
||||||
|
|
||||||
#ifndef ARCH_POWER
|
#if !defined(ARCH_POWER) && !defined(ARCH_SPARC)
|
||||||
|
|
||||||
long size;
|
long size;
|
||||||
BLASULONG buffer;
|
BLASULONG buffer;
|
||||||
|
|
2
param.h
2
param.h
|
@ -1482,7 +1482,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#define GEMM_THREAD gemm_thread_mn
|
#define GEMM_THREAD gemm_thread_mn
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(SPARC) && defined(V9)
|
#if (defined(SPARC) && defined(V9)) || defined(__sparc_v9__)
|
||||||
|
|
||||||
#define SNUMOPT 2
|
#define SNUMOPT 2
|
||||||
#define DNUMOPT 2
|
#define DNUMOPT 2
|
||||||
|
|
Loading…
Reference in New Issue