mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-23 03:59:41 +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,8 +68,8 @@ 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;
|
||||||
if (dt > 1000) {
|
if (dt > 1000) {
|
||||||
|
|
Loading…
Reference in a new issue