Added OclContext class.
This commit is contained in:
parent
2a07bc4ef3
commit
cf123b7d88
9 changed files with 161 additions and 16 deletions
|
@ -33,6 +33,9 @@
|
|||
#include "crypto/common/Nonce.h"
|
||||
|
||||
|
||||
typedef struct _cl_context *cl_context;
|
||||
|
||||
|
||||
namespace xmrig {
|
||||
|
||||
|
||||
|
@ -52,6 +55,7 @@ public:
|
|||
inline bool operator!=(const OclLaunchData &other) const { return !isEqual(other); }
|
||||
inline bool operator==(const OclLaunchData &other) const { return isEqual(other); }
|
||||
|
||||
cl_context ctx = nullptr;
|
||||
const Algorithm algorithm;
|
||||
const bool cache;
|
||||
const Miner *miner;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue