Fabcoin Core  0.16.2
P2P Digital Currency
Classes | Macros | Typedefs
libclwrapper.h File Reference
#include "cl.hpp"
#include <time.h>
#include <functional>
#include "sodium.h"
#include "param.h"
#include "blake.h"
#include <cassert>
#include "uint256.h"
Include dependency graph for libclwrapper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  element
 
struct  bucket
 
struct  debug_s
 
class  cl_gpuminer
 

Macros

#define __CL_ENABLE_EXCEPTIONS
 
#define CL_USE_DEPRECATED_OPENCL_2_0_APIS
 
#define EQUIHASH_N   200
 
#define EQUIHASH_K   9
 
#define NUM_COLLISION_BITS   (EQUIHASH_N / (EQUIHASH_K + 1))
 
#define NUM_INDICES   (1 << EQUIHASH_K)
 
#define NUM_VALUES   (1 << (NUM_COLLISION_BITS+1))
 
#define NUM_BUCKETS   (1 << NUM_COLLISION_BITS)
 
#define DIGEST_SIZE   25
 

Typedefs

typedef uint8_t uchar
 
typedef uint32_t uint
 
typedef uint64_t ulong
 
typedef struct element element_t
 
typedef uint64_t digest_t[(DIGEST_SIZE+sizeof(uint64_t)-1)/sizeof(uint64_t)]
 
typedef struct bucket bucket_t
 
typedef struct debug_s debug_t
 
typedef uint32_t eh_index
 

Macro Definition Documentation

#define __CL_ENABLE_EXCEPTIONS

Definition at line 3 of file libclwrapper.h.

#define CL_USE_DEPRECATED_OPENCL_2_0_APIS

Definition at line 4 of file libclwrapper.h.

#define DIGEST_SIZE   25

Definition at line 44 of file libclwrapper.h.

#define EQUIHASH_K   9

Definition at line 37 of file libclwrapper.h.

#define EQUIHASH_N   200

Definition at line 36 of file libclwrapper.h.

#define NUM_BUCKETS   (1 << NUM_COLLISION_BITS)

Definition at line 43 of file libclwrapper.h.

#define NUM_COLLISION_BITS   (EQUIHASH_N / (EQUIHASH_K + 1))

Definition at line 39 of file libclwrapper.h.

#define NUM_INDICES   (1 << EQUIHASH_K)

Definition at line 40 of file libclwrapper.h.

#define NUM_VALUES   (1 << (NUM_COLLISION_BITS+1))

Definition at line 42 of file libclwrapper.h.

Typedef Documentation

typedef struct bucket bucket_t
typedef struct debug_s debug_t
typedef uint64_t digest_t[(DIGEST_SIZE+sizeof(uint64_t)-1)/sizeof(uint64_t)]

Definition at line 47 of file libclwrapper.h.

typedef uint32_t eh_index

Definition at line 66 of file libclwrapper.h.

typedef struct element element_t

Definition at line 46 of file libclwrapper.h.

typedef uint8_t uchar

Definition at line 27 of file libclwrapper.h.

typedef uint32_t uint

Definition at line 28 of file libclwrapper.h.

typedef uint64_t ulong

Definition at line 29 of file libclwrapper.h.