Add tag to error message.

This commit is contained in:
XMRig 2020-06-05 19:02:32 +07:00
parent 936670f0fd
commit ba017708bb
No known key found for this signature in database
GPG key ID: 446A53638BE94409

View file

@ -68,7 +68,7 @@ bool xmrig::CudaKawPowRunner::set(const Job &job, uint8_t *blob)
const bool result = CudaLib::kawPowPrepare(m_ctx, cache.data(), cache.size(), cache.dag_size(epoch), height, dag_sizes);
if (!result) {
LOG_ERR("Failed to initialize DAG: %s", CudaLib::lastError(m_ctx));
LOG_ERR("%s " YELLOW("KawPow") RED(" failed to initialize DAG: ") RED_BOLD("%s"), Tags::nvidia(), CudaLib::lastError(m_ctx));
}
const int64_t dt = Chrono::steadyMSecs() - start_ms;