Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ORNL Quantum Computing Institute
xacc
Commits
41e1546b
Commit
41e1546b
authored
Nov 26, 2021
by
Daniel Strano
Browse files
If not isOcl, then not isOclMulti
Signed-off-by:
Daniel Strano
<
stranoj@gmail.com
>
parent
b88d2532
Changes
1
Hide whitespace changes
Inline
Side-by-side
quantum/plugins/qrack/accelerator/QrackVisitor.cpp
View file @
41e1546b
...
...
@@ -28,7 +28,7 @@ namespace quantum {
#if ENABLE_OPENCL
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
bool
isOcl
=
false
;
bool
isOclMulti
=
false
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment