Skip to content

Commit

Permalink
Sphinx doc: extra explanation about operators
Browse files Browse the repository at this point in the history
  • Loading branch information
SimeonEhrig committed Jan 12, 2022
1 parent cefbfe7 commit dc22169
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/source/basic/operators.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,11 @@ The functor object must fullfil the requirements of ``std::is_trivially_copyable
}

.. warning::
Global functions are not allowed as functor objects for the vikunja ``algorithm`` due to a limitation of the CUDA accelerator.
Global functions and ``std::function`` are not allowed as functor objects for the vikunja ``algorithm`` due to a limitation of the CUDA accelerator.

https://nvidia.github.io/libcudacxx/standard_api/utility_library/functional.html

Other methods, such as function pointers, have not been tested. Due to the different programming models of the aplaka accelerators, it is not possible to say whether they work with all of them or not without extensive testing.


Operator Types
Expand Down

0 comments on commit dc22169

Please sign in to comment.