Fabcoin Core
0.16.2
P2P Digital Currency
|
#include <eqcuda.hpp>
Public Member Functions | |
eq_cuda_context (int thr_id, int dev_id, fn_validate validate, fn_cancel cancel) | |
void | freemem () |
~eq_cuda_context () | |
bool | solve (unsigned char *pblock, unsigned char *header, unsigned int headerlen) |
eq_cuda_context (int thr_id, int dev_id, fn_validate validate, fn_cancel cancel) | |
void | freemem () |
~eq_cuda_context () | |
bool | solve (unsigned char *pblock, unsigned char *header, unsigned int headerlen) |
Public Attributes | |
fn_validate | m_fnValidate |
fn_cancel | m_fnCancel |
int | thread_id |
int | device_id |
int | throughput |
int | totalblocks |
int | threadsperblock |
int | threadsperblock_digits |
size_t | equi_mem_sz |
u8 * | m_buf |
Private Attributes | |
equi< RB, SM > * | device_eq |
scontainerreal * | solutions |
CUcontext | pctx |
Definition at line 106 of file eqcuda.hpp.
eq_cuda_context< RB, SM, SSM, THREADS, PACKER >::eq_cuda_context | ( | int | thr_id, |
int | dev_id, | ||
fn_validate | validate, | ||
fn_cancel | cancel | ||
) |
eq_cuda_context< RB, SM, SSM, THREADS, PACKER >::~eq_cuda_context | ( | ) |
eq_cuda_context< RB, SM, SSM, THREADS, PACKER >::eq_cuda_context | ( | int | thr_id, |
int | dev_id, | ||
fn_validate | validate, | ||
fn_cancel | cancel | ||
) |
eq_cuda_context< RB, SM, SSM, THREADS, PACKER >::~eq_cuda_context | ( | ) |
void eq_cuda_context< RB, SM, SSM, THREADS, PACKER >::freemem | ( | ) |
void eq_cuda_context< RB, SM, SSM, THREADS, PACKER >::freemem | ( | ) |
bool eq_cuda_context< RB, SM, SSM, THREADS, PACKER >::solve | ( | unsigned char * | pblock, |
unsigned char * | header, | ||
unsigned int | headerlen | ||
) |
bool eq_cuda_context< RB, SM, SSM, THREADS, PACKER >::solve | ( | unsigned char * | pblock, |
unsigned char * | header, | ||
unsigned int | headerlen | ||
) |
|
private |
Definition at line 108 of file eqcuda.hpp.
int eq_cuda_context< RB, SM, SSM, THREADS, PACKER >::device_id |
Definition at line 124 of file eqcuda.hpp.
size_t eq_cuda_context< RB, SM, SSM, THREADS, PACKER >::equi_mem_sz |
Definition at line 129 of file eqcuda.hpp.
u8 * eq_cuda_context< RB, SM, SSM, THREADS, PACKER >::m_buf |
Definition at line 130 of file eqcuda.hpp.
fn_cancel eq_cuda_context< RB, SM, SSM, THREADS, PACKER >::m_fnCancel |
Definition at line 122 of file eqcuda.hpp.
fn_validate eq_cuda_context< RB, SM, SSM, THREADS, PACKER >::m_fnValidate |
Definition at line 121 of file eqcuda.hpp.
|
private |
Definition at line 110 of file eqcuda.hpp.
|
private |
Definition at line 109 of file eqcuda.hpp.
int eq_cuda_context< RB, SM, SSM, THREADS, PACKER >::thread_id |
Definition at line 123 of file eqcuda.hpp.
int eq_cuda_context< RB, SM, SSM, THREADS, PACKER >::threadsperblock |
Definition at line 127 of file eqcuda.hpp.
int eq_cuda_context< RB, SM, SSM, THREADS, PACKER >::threadsperblock_digits |
Definition at line 128 of file eqcuda.hpp.
int eq_cuda_context< RB, SM, SSM, THREADS, PACKER >::throughput |
Definition at line 125 of file eqcuda.hpp.
int eq_cuda_context< RB, SM, SSM, THREADS, PACKER >::totalblocks |
Definition at line 126 of file eqcuda.hpp.