aboutsummaryrefslogtreecommitdiff
path: root/sys/libmath/blas.c
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2020-05-01 16:26:24 -0700
committerNicholas Noll <nbnoll@eml.cc>2020-05-01 16:26:24 -0700
commit6b739739968a0cc9b4d9909d8f4ffec30f4461dd (patch)
treebd30b31896b3c52292898bde404ce5dcbf76b04e /sys/libmath/blas.c
parent5355432d71cb1e3347b73536ce5be4af1aefcadc (diff)
moved to static build with musl and integrated cscopes into dev tools
Diffstat (limited to 'sys/libmath/blas.c')
-rw-r--r--sys/libmath/blas.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/libmath/blas.c b/sys/libmath/blas.c
index a672101..c2f7e6c 100644
--- a/sys/libmath/blas.c
+++ b/sys/libmath/blas.c
@@ -1,6 +1,6 @@
#include <u.h>
#include <libn.h>
-#include <vendor/cblas.h>
+#include <vendor/blas/cblas.h>
#include <x86intrin.h>
@@ -64,6 +64,7 @@ blas·scalevec(int len, double *x, double a)
* Daxpy
* y = ax + y
*/
+
static
void
@@ -416,7 +417,7 @@ main()
double *x, *y, *m[3];
double res[2], tprof[2];
- openblas_set_num_threads(1);
+ // openblas_set_num_threads(1);
x = malloc(sizeof(*x)*NCOL);
y = malloc(sizeof(*x)*NCOL);