projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e078339
)
Add cblas_xerbla()
author
Martin Kroeker
<martin@ruby.chemie.uni-freiburg.de>
Wed, 26 Apr 2017 17:58:59 +0000
(19:58 +0200)
committer
GitHub
<noreply@github.com>
Wed, 26 Apr 2017 17:58:59 +0000
(19:58 +0200)
interface/xerbla.c
[new file with mode: 0644]
patch
|
blob
diff --git a/interface/xerbla.c
b/interface/xerbla.c
new file mode 100644
(file)
index 0000000..
b2687fb
--- /dev/null
+++ b/
interface/xerbla.c
@@ -0,0
+1,22
@@
+#ifdef CBLAS
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <stdarg.h>
+#include "common.h"
+
+void CNAME(blasint p, char *rout, char *form, ...)
+{
+ va_list args;
+
+ va_start(args, form);
+
+ if (p)
+ fprintf(stderr, "Parameter %d to routine %s was incorrect\n", p, rout);
+ vfprintf(stderr, form, argptr);
+ va_end(args);
+ exit(-1);
+}
+#endif
+