Browse Source

Add cblas_xerbla()

tags/v0.2.20^2
Martin Kroeker GitHub 8 years ago
parent
commit
a809431e34
1 changed files with 22 additions and 0 deletions
  1. +22
    -0
      interface/xerbla.c

+ 22
- 0
interface/xerbla.c View File

@@ -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


Loading…
Cancel
Save