2023-04-18 03:23:12 -05:00
=========
CudaTools
=========
This is the documentation for CudaTools, a header-only library and framework
for the development of CPU-CUDA compatible applications. Using CudaTools enables
the creation of a single unified code that has both CPU and CUDA compilation targets with minimal need to
introduce `` #ifdef `` statements when code is essentially identical between the targets.
2023-04-18 03:28:18 -05:00
For information on the library itself and its usage, view `documentation <https://acem.ece.illinois.edu/docs/CudaTools> `__ . The small code snippets and samples
2023-04-18 03:23:12 -05:00
seen in the documentation are in the folder `` samples `` .
Dependencies
============
- Eigen
In the future, we will make this dependency optional, but still provide support
for it. As of now, it is necessary.
Building the Documentation
==========================
The documentation is built with `Doxygen <https://doxygen.nl/> `__ and `Sphinx <https://www.sphinx-doc.org/en> `__ .
So, first make sure you have Doxygen installed on your system, and make sure it is added
to your system path. Then, you will have to create a Python virtual environment
in the repository folder
.. code-block :: bash
$ python3 -m venv .venv
After installing the required Python packages
.. code-block :: bash
2023-05-26 00:35:23 -05:00
$ pip install -r requirements.txt
2023-04-18 03:23:12 -05:00
you can now run the script
.. code-block :: bash
$ ./build_docs