Define double OpenCL threads in simple way.
This commit is contained in:
parent
e7b2b4fc3d
commit
1ad30d50a6
11 changed files with 73 additions and 67 deletions
|
@ -28,7 +28,7 @@
|
|||
|
||||
|
||||
#include <memory.h>
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
|
||||
|
||||
#include "base/tools/String.h"
|
||||
|
@ -41,7 +41,7 @@ namespace xmrig {
|
|||
class JobResult
|
||||
{
|
||||
public:
|
||||
inline JobResult() {}
|
||||
JobResult() = delete;
|
||||
|
||||
inline JobResult(const Job &job, uint32_t nonce, const uint8_t *result) :
|
||||
algorithm(job.algorithm()),
|
||||
|
@ -66,7 +66,7 @@ public:
|
|||
const uint8_t index = 0;
|
||||
|
||||
private:
|
||||
uint8_t m_result[32];
|
||||
uint8_t m_result[32] = { 0 };
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue