Skip to content

Commit 100b0da

Browse files
authored
Merge pull request #1324 from takeshibaconsuzuki/dev
Fix spelling mistake in gpu.cpp
2 parents 6b0184b + 9ef2a83 commit 100b0da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xmrstak/backend/amd/amd_gpu/gpu.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ size_t InitOpenCLGpu(cl_context opencl_ctx, GpuContext* ctx, const char* source_
378378
char options[512];
379379
snprintf(options, sizeof(options),
380380
"-DITERATIONS=%d -DMASK=%d -DWORKSIZE=%llu -DSTRIDED_INDEX=%d -DMEM_CHUNK_EXPONENT=%d -DCOMP_MODE=%d -DMEMORY=%llu -DALGO=%d",
381-
hashIterations, threadMemMask, int_port(ctx->workSize), ctx->stridedIndex, int(1u<<ctx->memChunk), ctx->compMode ? 1 : 0,
381+
hashIterations, threadMemMask, int_port(ctx->workSize), ctx->stridedIndex, int(1u<<ctx->memChunk), ctx->compMode ? 1 : 0,
382382
int_port(hashMemSize), int(miner_algo));
383383
/* create a hash for the compile time cache
384384
* used data:
@@ -497,7 +497,7 @@ size_t InitOpenCLGpu(cl_context opencl_ctx, GpuContext* ctx, const char* source_
497497
}
498498
else
499499
{
500-
printer::inst()->print_msg(L1, "OpenCL device %u - Load precompiled cod from file %s",ctx->deviceIdx, cache_file.c_str());
500+
printer::inst()->print_msg(L1, "OpenCL device %u - Load precompiled code from file %s",ctx->deviceIdx, cache_file.c_str());
501501
std::ostringstream ss;
502502
ss << clBinFile.rdbuf();
503503
std::string s = ss.str();

0 commit comments

Comments
 (0)