mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-23 12:09:22 +00:00
Add tag to error message.
This commit is contained in:
parent
936670f0fd
commit
ba017708bb
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
const bool result = CudaLib::kawPowPrepare(m_ctx, cache.data(), cache.size(), cache.dag_size(epoch), height, dag_sizes);
|
||||||
if (!result) {
|
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;
|
const int64_t dt = Chrono::steadyMSecs() - start_ms;
|
||||||
|
|
Loading…
Reference in a new issue