Added OclWorker class.

This commit is contained in:
XMRig 2019-08-25 03:50:49 +07:00
parent cf123b7d88
commit d27990b273
7 changed files with 201 additions and 33 deletions

View file

@ -63,7 +63,7 @@ static const char *tag = CYAN_BG_BOLD(" cpu ");
static const String kType = "cpu";
struct LaunchStatus
struct CpuLaunchStatus
{
public:
inline void reset()
@ -161,7 +161,7 @@ public:
Algorithm algo;
Controller *controller;
LaunchStatus status;
CpuLaunchStatus status;
std::mutex mutex;
std::vector<CpuLaunchData> threads;
String profileName;