This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <sys/time.h> | |
//#define ITERS 1000000 | |
void dgemv_(char *, int*, int *, double*, double*, int*, double*, int*, double*, double*, int*); | |
int main(int argc, char * argv[]) | |
{ | |
int m, n; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
void cblas_drotmg (double *d1, double *d2, double *x1, const double y1, double *param); | |
void drotmg_ (double *d1, double *d2, double *x1, const double* y1, double *param); | |
int main() | |
{ | |
int i; | |
double d1,d2,x1,y1; | |
double param[5]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#ifndef unlikely | |
#ifdef __GNUC__ | |
#define unlikely(x) __builtin_expect(!!(x), 0) | |
#else | |
#define unlikely(x) (x) | |
#endif | |
#endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
#include <string.h> | |
extern void dgeqrt3_(long * m, long *n, double * a, long *lda, double *t, long *ldt, long*info); | |
int main(int argc, char**argv) | |
{ | |
int in, i; | |
long n,info=1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cblas.h> | |
#include <stdio.h> | |
void main() | |
{ | |
int i=0; | |
double A[6] = {1.0,2.0,1.0,-3.0,4.0,-1.0}; | |
double B[6] = {1.0,2.0,1.0,-3.0,4.0,-1.0}; | |
double C[9] = {.5,.5,.5,.5,.5,.5,.5,.5,.5}; | |
cblas_dgemm(CblasColMajor, CblasNoTrans, CblasTrans,3,3,2,1,A, 3, B, 3,2,C,3); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*************************************************************************** | |
Copyright (c) 2013, The OpenBLAS Project | |
All rights reserved. | |
Redistribution and use in source and binary forms, with or without | |
modification, are permitted provided that the following conditions are | |
met: | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <sys/time.h> | |
#include <time.h> | |
#include "cblas.h" | |
int main(int argc, char* argv[]) | |
{ | |
int i; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "stdio.h" | |
#include "stdlib.h" | |
#include "sys/time.h" | |
#include "time.h" | |
extern void dgemm_(char*, char*, int*, int*,int*, double*, double*, int*, double*, int*, double*, double*, int*); | |
int main(int argc, char* argv[]) | |
{ | |
int i; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "stdio.h" | |
#include "stdlib.h" | |
#include "sys/time.h" | |
#include "time.h" | |
extern void dgemm_(char*, char*, long*, long*,long*, double*, double*, long*, double*, long*, double*, double*, long*); | |
long main(long argc, char* argv[]) | |
{ | |
long i; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include "cblas.h" | |
#include "lapacke.h" | |
int main(int argc, char* argv[]) | |
{ | |
int* ipiv; | |
int info; | |
int i, j; | |
int n; |
NewerOlder