Improved OpenCL startup time.

This commit is contained in:
XMRig 2019-09-06 21:48:15 +07:00
parent 62f086f607
commit d9adf14551
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;