Disable the optimization of muli-threading gemm on the Loongson3A.
authorXianyi Zhang <traits.zhang@gmail.com>
Sat, 30 Mar 2013 20:12:43 +0000 (20:12 +0000)
committerXianyi Zhang <traits.zhang@gmail.com>
Sat, 30 Mar 2013 20:12:43 +0000 (20:12 +0000)
driver/level3/gemm_thread_n.c

index f9007f8..3e11f9a 100644 (file)
@@ -71,7 +71,7 @@ int CNAME(int mode, blas_arg_t *arg, BLASLONG *range_m, BLASLONG *range_n, int (
     queue[num_cpu].args    = arg;
     queue[num_cpu].range_m = range_m;
     queue[num_cpu].range_n = &range[num_cpu];
-#if defined(LOONGSON3A)
+#if 0   //defined(LOONGSON3A)
     queue[num_cpu].sa      = sa        + GEMM_OFFSET_A1 * num_cpu;
     queue[num_cpu].sb      = queue[num_cpu].sa + GEMM_OFFSET_A1 * 5;
 #else
@@ -83,7 +83,7 @@ int CNAME(int mode, blas_arg_t *arg, BLASLONG *range_m, BLASLONG *range_n, int (
   }
   
   if (num_cpu) {
-#if defined(LOONGSON3A)
+#if 0 //defined(LOONGSON3A)
     queue[0].sa = sa;
     queue[0].sb = sa + GEMM_OFFSET_A1 * 5;
 #else