summaryrefslogtreecommitdiff
path: root/Tests/FindBLAS/Test/main.c
blob: 7360deec6252fad36f7cc214d0a60d21ed78b97b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <assert.h>
#include <string.h>

// declare what parts of the blas C-API we need
void cblas_dswap(const int N, double* X, const int incX, double* Y,
                 const int incY);

int main()
{
  double x[4] = { 1, 2, 3, 4 };
  double y[4] = { 8, 7, 7, 6 };
  cblas_dswap(4, x, 1, y, 1);
  return 0;
}