mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-08 22:08:02 +00:00
opencl: remove cl_kernels structure definition and mention.
No longer used. TODO: check if clState would benefit from having kernel name.
This commit is contained in:
parent
1333ed576d
commit
c9ccf551d7
9
miner.h
9
miner.h
@ -378,15 +378,6 @@ enum dev_enable {
|
|||||||
DEV_RECOVER,
|
DEV_RECOVER,
|
||||||
};
|
};
|
||||||
|
|
||||||
enum cl_kernels {
|
|
||||||
KL_NONE,
|
|
||||||
KL_ALEXKARNEW,
|
|
||||||
KL_ALEXKAROLD,
|
|
||||||
KL_CKOLIVAS,
|
|
||||||
KL_PSW,
|
|
||||||
KL_ZUIKKIS,
|
|
||||||
};
|
|
||||||
|
|
||||||
enum dev_reason {
|
enum dev_reason {
|
||||||
REASON_THREAD_FAIL_INIT,
|
REASON_THREAD_FAIL_INIT,
|
||||||
REASON_THREAD_ZERO_HASH,
|
REASON_THREAD_ZERO_HASH,
|
||||||
|
1
ocl.h
1
ocl.h
@ -30,7 +30,6 @@ typedef struct {
|
|||||||
size_t max_work_size;
|
size_t max_work_size;
|
||||||
size_t wsize;
|
size_t wsize;
|
||||||
size_t compute_shaders;
|
size_t compute_shaders;
|
||||||
enum cl_kernels chosen_kernel;
|
|
||||||
} _clState;
|
} _clState;
|
||||||
|
|
||||||
extern char *file_contents(const char *filename, int *length);
|
extern char *file_contents(const char *filename, int *length);
|
||||||
|
Loading…
Reference in New Issue
Block a user