Improved OpenCL startup time.

This commit is contained in:
XMRig
2019-09-06 21:48:15 +07:00
parent 121bd87491
commit a05c40b7e2
3 changed files with 18 additions and 4 deletions

View File

@@ -52,6 +52,8 @@ public:
OclWorker &operator=(const OclWorker &other) = delete;
OclWorker &operator=(OclWorker &&other) = delete;
static std::atomic<bool> ready;
protected:
bool selfTest() override;
void start() override;