diff options
author | fireice-uk <fireice-uk@users.noreply.github.com> | 2018-02-03 10:26:52 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-03 10:26:52 +0000 |
commit | 4d7fdd2dea4306923d3ccfc8f58658e3429a3587 (patch) | |
tree | ed6a59f5d6eac1045380edcca53e2912da69eb77 /xmrstak/backend | |
parent | db954eadf9f321cb8924b54604a721658d80e7ea (diff) | |
parent | 1ea14c8d23d8cbbb97ecf99b0a7673a031151ebe (diff) | |
download | xmr-stak-4d7fdd2dea4306923d3ccfc8f58658e3429a3587.zip xmr-stak-4d7fdd2dea4306923d3ccfc8f58658e3429a3587.tar.gz |
Merge pull request #1015 from psychocrypt/fix-outputOfAMDGpuName
fix output of gpu name
Diffstat (limited to 'xmrstak/backend')
-rw-r--r-- | xmrstak/backend/amd/amd_gpu/gpu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmrstak/backend/amd/amd_gpu/gpu.cpp b/xmrstak/backend/amd/amd_gpu/gpu.cpp index d9bc962..c39c567 100644 --- a/xmrstak/backend/amd/amd_gpu/gpu.cpp +++ b/xmrstak/backend/amd/amd_gpu/gpu.cpp @@ -518,13 +518,13 @@ std::vector<GpuContext> getAMDDevices(int index) printer::inst()->print_msg(L1,"WARNING: %s when calling clGetDeviceInfo to get CL_DEVICE_NAME for device %u.", err_to_str(clStatus), k); continue; } - printer::inst()->print_msg(L0,"Found OpenCL GPU %s.",ctx.name.c_str()); // if environment variable GPU_SINGLE_ALLOC_PERCENT is not set we can not allocate the full memory ctx.deviceIdx = k; ctx.freeMem = std::min(ctx.freeMem, maxMem); ctx.name = std::string(devNameVec.data()); ctx.DeviceID = device_list[k]; + printer::inst()->print_msg(L0,"Found OpenCL GPU %s.",ctx.name.c_str()); ctxVec.push_back(ctx); } } |