#include <cstdio>
#include <cstdlib>
int main(int argc, char *argv[])
{
try {
int device = argc > 1 ? atoi(argv[1]) : 0;
printf("Running LU InPlace\n");
printf("Running LU with Upper Lower Factorization\n");
lu(lower, upper, pivot, in);
fprintf(stderr,
"%s\n", e.
what());
throw;
}
return 0;
}