Skip to content

Commit

Permalink
add explicit keyword to ChunkSize
Browse files Browse the repository at this point in the history
  • Loading branch information
tcclevenger committed Aug 7, 2024
1 parent 987e613 commit b255181
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/API/core/policies/RangePolicy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Synopsis
.. code-block:: cpp
struct Kokkos::ChunkSize {
ChunkSize(int value_);
explicit ChunkSize(int value_);
};
template<class ... Args>
Expand Down Expand Up @@ -95,7 +95,7 @@ Public Class Members
Constructors
~~~~~~~~~~~~

.. cppkokkos:function:: ChunkSize(int value_)
.. cppkokkos:function:: explicit ChunkSize(int value_)
Provide a hint for optimal chunk-size to be used during scheduling.
For the SYCL backend, the workgroup size used in a ``parallel_for`` kernel can be set via this passed to ``RangePolicy``.
Expand Down

0 comments on commit b255181

Please sign in to comment.