mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-08 08:23:34 -05:00
Added OclContext class.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user