#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdexcept>
#include <vector>
#include <cuda.h>
#include <cuda_runtime.h>
#include <device_launch_parameters.h>
Go to the source code of this file.
#define _SNPRINTF snprintf |
#define checkCudaDriverErrors |
( |
|
call | ) |
|
Value:do { \
if (CUDA_SUCCESS != err) { \
_SNPRINTF(errorBuff,
sizeof(errorBuff) - 1, \
"CUDA error DRIVER: '%d' in func '%s' line %d", \
err, __FUNCTION__, __LINE__); \
} \
} while (0)
if(a.IndicesBefore(b, len, lenIndices))
Definition at line 48 of file eqcuda.hpp.
#define checkCudaErrors |
( |
|
call | ) |
|
Value:do { \
cudaError_t err =
call;
\ if (cudaSuccess != err) { \
_SNPRINTF(errorBuff,
sizeof(errorBuff) - 1, \
"CUDA error '%s' in func '%s' line %d", \
cudaGetErrorString(err), __FUNCTION__, __LINE__); \
throw std::runtime_error(errorBuff); \
} \
} while (0)
if(a.IndicesBefore(b, len, lenIndices))
Definition at line 36 of file eqcuda.hpp.
#define CONFIG_MODE_1 9, 1248, 12, 640, packer_cantor |
#define PROOFSIZE1 (1<<7) |
typedef bool(* fn_cancel) () |
typedef bool(* fn_validate) (std::vector< unsigned char >, unsigned char *, int) |
typedef unsigned char uchar |