Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Bernhard Manfred Gruber <[email protected]>
  • Loading branch information
SimeonEhrig and bernhardmgruber committed Jan 12, 2022
1 parent 66fddfd commit c494c78
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@
# igonre build and install folder
/build*
/install*

.vscode
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

![vikunja](docs/source/logo/vikunja_logo.png)

Vikunja is a performance portable algorithms library defines functions for a variety of purposes that operate on ranges of elements. It supports the execution on multi core CPUs and various GPUs.
Vikunja is a performance portable algorithms library that defines functions operating on ranges of elements for a variety of purposes . It supports the execution on multi core CPUs and various GPUs.

Vikunja uses [alpaka](https://github.com/alpaka-group/alpaka) to implement platform independent primitives such like `reduce` or `transform`.
Vikunja uses [alpaka](https://github.com/alpaka-group/alpaka) to implement platform independent primitives such as `reduce` or `transform`.

# Installation
## Install Alpaka
Expand All @@ -20,7 +20,8 @@ Alpaka requires a [boost installation](https://github.com/alpaka-group/alpaka#de

```bash
git clone --depth 1 --branch 0.8.0 https://github.com/alpaka-group/alpaka.git
cd vikunja/build
mkdir alpaka/build
cd alpaka/build
cmake ..
cmake --install .
```
Expand Down
20 changes: 16 additions & 4 deletions docs/source/basic/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,24 @@ Installation

Vikunja builds and installs itself using `CMake <https://cmake.org/>`_. Before you can install and use vikunja, you have to install the only dependency `alpaka <https://github.com/alpaka-group/alpaka>`_. Vikunja supports alpaka from version 0.6 until 0.8. It is recommend to use the latest alpaka version. Alpaka itself has also a single dependency, boost. Read the `alpaka documentation <https://github.com/alpaka-group/alpaka#dependencies>`_ to determine the supported boost version.

**Install alpaka:**

.. code-block:: bash
# alpaka requires a boost installation, see alpaka documentation
git clone --depth 1 --branch 0.8.0 https://github.com/alpaka-group/alpaka.git
mkdir alpaka/build
cd alpaka/build
cmake ..
cmake --install .
**Install vikunja:**

.. code-block:: bash
# assumed alpaka is installed via `cmake --install .` on a location, where cmake can find it
# git clone https://github.com/alpaka-group/vikunja.git
cd vikunja
mkdir build && cd build
git clone https://github.com/alpaka-group/vikunja.git
mkdir vikunja/build
cd vikunja/build
cmake ..
cmake --build .
cmake --install .
Expand Down
4 changes: 3 additions & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
:alt: vikunja logo


Vikunja is a performance portable algorithms library defines functions for a variety of purposes that operate on ranges of elements. It supports the execution on multi core CPUs and various GPUs.
Vikunja is a performance portable algorithms library that defines functions operating on ranges of elements for a variety of purposes . It supports the execution on multi core CPUs and various GPUs.

Vikunja uses `alpaka <https://github.com/alpaka-group/alpaka>`_ to implement platform independent primitives such as ``reduce`` or ``transform``.


vikunja - How to Read This Document
Expand Down

0 comments on commit c494c78

Please sign in to comment.