Implemented CUDA config generation.

This commit is contained in:
XMRig
2019-10-26 03:12:55 +07:00
parent d1d8e07d98
commit b1d4aa2711
16 changed files with 208 additions and 42 deletions

View File

@@ -44,6 +44,14 @@ xmrig::CudaThreads::CudaThreads(const rapidjson::Value &value)
}
xmrig::CudaThreads::CudaThreads(const std::vector<CudaDevice> &devices, const Algorithm &algorithm)
{
for (const auto &device : devices) {
device.generate(algorithm, *this);
}
}
bool xmrig::CudaThreads::isEqual(const CudaThreads &other) const
{
if (isEmpty() && other.isEmpty()) {