Math.NET Numerics
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

17 lines
324 B

#ifndef WRAPPER_CUDA_H
#define WRAPPER_CUDA_H
#include "wrapper_common.h"
#include "cuda_runtime.h"
#include "cusolver_common.h"
#define SAFECUDACALL(error,call) {*error = call; if(*error){goto exit;}}
typedef struct
{
cudaError_t error;
cublasStatus_t blasStatus;
cusolverStatus_t solverStatus;
} CudaResults;
#endif