diff options
author | psychocrypt <psychocryptHPC@gmail.com> | 2018-04-06 21:27:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-06 21:27:38 +0200 |
commit | 100b0da790870932c8416c271b6630bf36b89ad0 (patch) | |
tree | a326a88cadb7e977afb7b97377e49b73d90fe95d | |
parent | 6b0184ba4884d9383a5e51885f43da7538ee5fa8 (diff) | |
parent | 9ef2a83be3ddcc36546277f996c9387c38090014 (diff) | |
download | xmr-stak-100b0da790870932c8416c271b6630bf36b89ad0.zip xmr-stak-100b0da790870932c8416c271b6630bf36b89ad0.tar.gz |
Merge pull request #1324 from takeshibaconsuzuki/dev
Fix spelling mistake in gpu.cpp
-rw-r--r-- | xmrstak/backend/amd/amd_gpu/gpu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmrstak/backend/amd/amd_gpu/gpu.cpp b/xmrstak/backend/amd/amd_gpu/gpu.cpp index 006a7ed..13f018e 100644 --- a/xmrstak/backend/amd/amd_gpu/gpu.cpp +++ b/xmrstak/backend/amd/amd_gpu/gpu.cpp @@ -378,7 +378,7 @@ size_t InitOpenCLGpu(cl_context opencl_ctx, GpuContext* ctx, const char* source_ char options[512]; snprintf(options, sizeof(options), "-DITERATIONS=%d -DMASK=%d -DWORKSIZE=%llu -DSTRIDED_INDEX=%d -DMEM_CHUNK_EXPONENT=%d -DCOMP_MODE=%d -DMEMORY=%llu -DALGO=%d", - hashIterations, threadMemMask, int_port(ctx->workSize), ctx->stridedIndex, int(1u<<ctx->memChunk), ctx->compMode ? 1 : 0, + hashIterations, threadMemMask, int_port(ctx->workSize), ctx->stridedIndex, int(1u<<ctx->memChunk), ctx->compMode ? 1 : 0, int_port(hashMemSize), int(miner_algo)); /* create a hash for the compile time cache * used data: @@ -497,7 +497,7 @@ size_t InitOpenCLGpu(cl_context opencl_ctx, GpuContext* ctx, const char* source_ } else { - printer::inst()->print_msg(L1, "OpenCL device %u - Load precompiled cod from file %s",ctx->deviceIdx, cache_file.c_str()); + printer::inst()->print_msg(L1, "OpenCL device %u - Load precompiled code from file %s",ctx->deviceIdx, cache_file.c_str()); std::ostringstream ss; ss << clBinFile.rdbuf(); std::string s = ss.str(); |