#include <cuda_runtime.h>
#include <cusparse_v2.h>
#include <cublas_v2.h>
#include <vector>
#include "common/error.h"
#include "common/log.h"
#include <string>
Go to the source code of this file.
◆ CUDA_CHECK_STATUS
#define CUDA_CHECK_STATUS |
( |
|
status | ) |
CudaCheckStatus(status, __FILE__, __LINE__) |
◆ CUDA_CHECK_SUCCESS
#define CUDA_CHECK_SUCCESS |
( |
|
err, |
|
|
|
desc |
|
) |
| |
Value:if(err != cudaSuccess)\
{\
UG_THROW("Error in " << __FUNCTION__ << ": CUDA ERROR " << err <<":\n" <<\
ug::CUDAError(err) <<
"\n----------------------------\n" << desc <<
"\n");\
}
const char * CUDAError(int err)
Definition: cuda_error.cpp:35
◆ USE_CUSPARSE