Skip to content

Commit

Permalink
Restore QPager threshold defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
WrathfulSpatula committed Nov 26, 2023
1 parent 605bfd8 commit e54bb7e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/qpager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,6 @@ class QPager : public QEngine, public std::enable_shared_from_this<QPager> {
#if ENABLE_OPENCL
if (rootEngine != QINTERFACE_CPU) {
maxPageQubits = log2(OCLEngine::Instance().GetDeviceContextPtr(devID)->GetMaxAlloc() / sizeof(complex));
maxPageQubits = (maxPageQubits > 1U) ? maxPageQubits - 1U : 1U;
maxPageQubits = (maxPageSetting < maxPageQubits) ? maxPageSetting : 1U;
}

Expand Down

0 comments on commit e54bb7e

Please sign in to comment.