#include <cublas_v2.h>
#include <cuda_runtime.h>
#include <cusolverDn.h>
#include <thrust/complex.h>
Go to the source code of this file.
◆ cublasErrcheck
#define cublasErrcheck |
( |
|
res | ) |
|
Value: { \
cublasAssert((res), __FILE__, __LINE__); \
}
◆ cudaCheckOnDebug
#define cudaCheckOnDebug |
( |
| ) |
|
◆ cudaErrcheck
#define cudaErrcheck |
( |
|
res | ) |
|
Value: { \
if (res != cudaSuccess) \
{ \
fprintf(stderr, " Unexpected Device Error %s:%d: %s, %s\n", __FILE__, __LINE__, cudaGetErrorName(res), \
cudaGetErrorString(res)); \
exit(res); \
} \
}
◆ cusolverErrcheck
#define cusolverErrcheck |
( |
|
res | ) |
|
Value: { \
cusolverAssert((res), __FILE__, __LINE__); \
}
◆ THREADS_PER_BLOCK
#define THREADS_PER_BLOCK 256 |
◆ cublasAssert()
void cublasAssert |
( |
cublasStatus_t |
res, |
|
|
const char * |
file, |
|
|
int |
line |
|
) |
| |
|
inline |
◆ cusolverAssert()
void cusolverAssert |
( |
cusolverStatus_t |
code, |
|
|
const char * |
file, |
|
|
int |
line |
|
) |
| |
|
inline |