Skip to content

Commit

Permalink
Copyright and removing multi engine
Browse files Browse the repository at this point in the history
  • Loading branch information
WrathfulSpatula committed Jan 21, 2020
1 parent 38b70d6 commit e0d7105
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# -- Project information -----------------------------------------------------

project = u'qrack'
copyright = u'Daniel Strano 2017-2019 and the Qrack contributors. All rights reserved.'
copyright = u'Daniel Strano 2017-2020 and the Qrack contributors. All rights reserved.'
author = u'qrack'

# The short X.Y version
Expand Down
12 changes: 1 addition & 11 deletions docs/start.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ The ``qrack`` project supports two primary implementations: OpenCL-optimized and

.. code-block:: bash
qc/ $ cd qrack/build && cmake [-DENABLE_OPENCL=OFF] [-DENABLE_COMPLEX8=ON] [-DENABLE_COMPLEX_X2=OFF] [-DENABLE_PURE32=ON] [-DENABLE_VC4CL=ON] ..
qc/ $ cd qrack/build && cmake [-DENABLE_OPENCL=OFF] [-DENABLE_COMPLEX8=ON] [-DENABLE_COMPLEX_X2=OFF] [-DENABLE_PURE32=ON] [-DENABLE_RDRAND=ON] [-DENABLE_VC4CL=ON] ..
Qrack compiles with either double (``ENABLE_COMPLEX8=OFF``) or single (``ENABLE_COMPLEX8=ON``) accuracy complex numbers. Single float accuracy is used by default. Single float accuracy uses almost exactly half as much RAM, allowing one additional qubit. Single accuracy may also be faster or the only compatible option for certain OpenCL devices.

Expand Down Expand Up @@ -92,16 +92,6 @@ With or without this kind of filtering, the device or devices used by OpenCL-bas
int deviceID = 0;
QEngineOCL qEngine = QEngineOCL(qBitCount, initPermutation, random_generator_pointer, deviceID);
// "deviceIDs" is a std::vector<int> of indices of the desired device in the OCLEngine list.
// This also might be used for a simple form of load-balancing, like so:
std::vector<int> deviceIDs(4);
// Three equally-sized sub-engines go to device index 1, and a fourth sub-engine goes to device index 0.
// The number of sub-engines must be a power of two.
deviceIDs[0] = 1;
deviceIDs[0] = 1;
deviceIDs[0] = 1;
deviceIDs[0] = 0;
QEngineOCL qEngineMulti = QEngineOCLMulti(qBitCount, initPermutation, deviceIDs, random_generator_pointer);
Testing
~~~~~~~
Expand Down

0 comments on commit e0d7105

Please sign in to comment.