Added OclWorker class.
This commit is contained in:
parent
cf123b7d88
commit
d27990b273
7 changed files with 201 additions and 33 deletions
|
@ -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;
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
#include "backend/common/Worker.h"
|
||||
#include "backend/common/WorkerJob.h"
|
||||
#include "backend/cpu/CpuLaunchData.h"
|
||||
#include "base/net/stratum/Job.h"
|
||||
#include "net/JobResult.h"
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue