TDLS 0.4.0
Tiny Device-callable Linear Solvers
Loading...
Searching...
No Matches
tdls::detail::DeducedSync< T > Class Template Reference

The barrier deduced from the compilation target, for a group of several threads. A group of one thread, possible with the runtime solver, does nothing. More...

#include <group.hpp>

Public Member Functions

TDLS_EXEC_CHECK_DISABLE TDLS_HOST_DEVICE TDLS_FORCE_INLINE_GPU constexpr DeducedSync (T *slots, const int threads) noexcept
 Joins the group: the GPU check of its lanes, or the CPU check of its workspace.
 
TDLS_EXEC_CHECK_DISABLE TDLS_HOST_DEVICE TDLS_FORCE_INLINE_GPU constexpr void operator() () const noexcept
 Barrier of the group.
 

Detailed Description

template<typename T>
class tdls::detail::DeducedSync< T >

The barrier deduced from the compilation target, for a group of several threads. A group of one thread, possible with the runtime solver, does nothing.

Template Parameters
Tscalar type of the workspace

Constructor & Destructor Documentation

◆ DeducedSync()

template<typename T >
TDLS_EXEC_CHECK_DISABLE TDLS_HOST_DEVICE TDLS_FORCE_INLINE_GPU constexpr tdls::detail::DeducedSync< T >::DeducedSync ( T * slots,
const int threads )
inlineconstexprnoexcept

Joins the group: the GPU check of its lanes, or the CPU check of its workspace.

Parameters
[in]slotsthe two barrier elements of the workspace, whose address also identifies the group
[in]threadsnumber of threads of the group

The documentation for this class was generated from the following file: