Commit 41e1546b authored by Daniel Strano's avatar Daniel Strano
Browse files

If not isOcl, then not isOclMulti



Signed-off-by: default avatarDaniel Strano <stranoj@gmail.com>
parent b88d2532
...@@ -28,7 +28,7 @@ namespace quantum { ...@@ -28,7 +28,7 @@ namespace quantum {
#if ENABLE_OPENCL #if ENABLE_OPENCL
bool isOcl = use_opencl && (Qrack::OCLEngine::Instance()->GetDeviceCount() > 0); bool isOcl = use_opencl && (Qrack::OCLEngine::Instance()->GetDeviceCount() > 0);
bool isOclMulti = use_opencl_multi && (Qrack::OCLEngine::Instance()->GetDeviceCount() > 1); bool isOclMulti = isOcl && use_opencl_multi && (Qrack::OCLEngine::Instance()->GetDeviceCount() > 1);
#else #else
bool isOcl = false; bool isOcl = false;
bool isOclMulti = false; bool isOclMulti = false;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment