kokkos-execution 0.0.1
Loading...
Searching...
No Matches
Tests::GraphImpl Namespace Reference

Classes

struct  GraphEventDiscardMatcher
 Similar to EventDiscardMatcher, for graph-related events. More...
class  BulkTest
class  BulkTest_bulk_schedule_Test
class  BulkTest_bulk_starts_on_Test
class  DomainTest
class  DomainTest_not_default_domain_like_then_Test
class  DomainTest_not_default_domain_like_bulk_Test
class  DomainTest_has_apply_sender_for_sync_wait_Test
class  DomainTest_has_transform_sender_for_then_Test
class  DomainTest_has_transform_sender_for_bulk_Test
class  EventsTest
class  EventsTest_create_instantiate_and_submit_Test
class  EventsTest_create_and_add_nodes_Test
class  ParallelForTest
class  ParallelForTest_parallel_for_schedule_Test
class  ParallelForTest_parallel_for_starts_on_Test
class  ParallelForTest_parallel_for_schedule_tagged_operator_Test
class  Scheduler_round_trip_property_Test
class  SyncWaitTest
class  SyncWaitTest_sync_wait_Test
class  ThenTest
class  ThenTest_then_schedule_Test
class  ThenTest_then_starts_on_Test

Typedefs

using graph_context_t = Kokkos::Execution::GraphContext<TEST_EXECUTION_SPACE>
using graph_scheduler_t = Kokkos::Execution::GraphImpl::Scheduler<TEST_EXECUTION_SPACE>
using graph_schedule_sender_t = typename graph_scheduler_t::Sender
using graph_schedule_sender_attrs_t = typename graph_schedule_sender_t::Attributes

Functions

consteval bool test_sndr_traits ()
consteval bool test_sndr_nothrow_transformable ()
consteval bool test_sndr_nothrow_connectable ()
consteval bool test_bulk_opstate_traits ()
consteval bool test_noexcept ()
template<template< typename... > class SndrAdptr, bool IsDispatchingSender, typename... Args>
consteval bool test_sndr_traits ()
template<typename ViewType>
consteval bool test_closure_traits ()
consteval bool test_scheduler_schedule ()
consteval bool test_schedule_sender_attrs ()
consteval bool test_scheduler_queries ()
consteval bool test_schedule_sender_attrs_queries ()
consteval bool test_then_opstate_traits ()

Typedef Documentation

◆ graph_context_t

Definition at line 24 of file test_scheduler.cpp.

◆ graph_schedule_sender_attrs_t

using Tests::GraphImpl::graph_schedule_sender_attrs_t = typename graph_schedule_sender_t::Attributes

Definition at line 27 of file test_scheduler.cpp.

◆ graph_schedule_sender_t

using Tests::GraphImpl::graph_schedule_sender_t = typename graph_scheduler_t::Sender

Definition at line 26 of file test_scheduler.cpp.

◆ graph_scheduler_t

Definition at line 25 of file test_scheduler.cpp.

Function Documentation

◆ test_bulk_opstate_traits()

bool Tests::GraphImpl::test_bulk_opstate_traits ( )
consteval
Test
Check that the stdexec::connect result is Kokkos::Execution::GraphImpl::OpState, and the Kokkos node types are hierarchical and fully typed on predecessors.

Definition at line 138 of file test_bulk.cpp.

◆ test_closure_traits()

template<typename ViewType>
bool Tests::GraphImpl::test_closure_traits ( )
consteval

◆ test_noexcept()

◆ test_schedule_sender_attrs()

bool Tests::GraphImpl::test_schedule_sender_attrs ( )
consteval

◆ test_schedule_sender_attrs_queries()

bool Tests::GraphImpl::test_schedule_sender_attrs_queries ( )
consteval

◆ test_scheduler_queries()

bool Tests::GraphImpl::test_scheduler_queries ( )
consteval
Test
Check Kokkos::Execution::GraphImpl::Scheduler queries.

Definition at line 67 of file test_scheduler.cpp.

◆ test_scheduler_schedule()

bool Tests::GraphImpl::test_scheduler_schedule ( )
consteval
Test
Check that the schedule method of Kokkos::Execution::GraphImpl::Scheduler returns Kokkos::Execution::GraphImpl::Scheduler::Sender.

Definition at line 47 of file test_scheduler.cpp.

◆ test_sndr_nothrow_connectable()

bool Tests::GraphImpl::test_sndr_nothrow_connectable ( )
consteval
Test
Check that it cannot be nothrow-connected.
Test
Check that it cannot be nothrow-connected.

Upon stdexec::connect, the graph will be constructed.

Definition at line 124 of file test_bulk.cpp.

◆ test_sndr_nothrow_transformable()

bool Tests::GraphImpl::test_sndr_nothrow_transformable ( )
consteval
Test
Our customization is not selected. No value channel is added, such that it is not sync-waitable.
Test
Check noexcept specification of sender transformation.
Test
Our customization is not selected. No value channel is added, such that it is not sync-waitable.
Test
Check noexcept specification of sender transformation.

Definition at line 89 of file test_bulk.cpp.

◆ test_sndr_traits() [1/2]

bool Tests::GraphImpl::test_sndr_traits ( )
consteval
Test
Check traits of sender returned by stdexec::bulk when customized for Kokkos::Execution::GraphImpl::Domain.
Test
Check traits of sender returned by stdexec::then when customized for Kokkos::Execution::GraphImpl::Domain.

Schedule sender.

Bulk sender.

Models the graph completing sender concept.

Does not model the dispatching sender concept.

Schedule sender.

Then sender.

Models the graph completing sender concept.

Does not model the dispatching sender concept.

Definition at line 57 of file test_bulk.cpp.

◆ test_sndr_traits() [2/2]

template<template< typename... > class SndrAdptr, bool IsDispatchingSender, typename... Args>
bool Tests::GraphImpl::test_sndr_traits ( )
consteval
Test
Check traits of sender returned by Kokkos::Execution::parallel_for either uncustomized or customized for Kokkos::Execution::GraphContext.

Schedule sender.

Parallel for sender.

Models the graph completing sender concept.

Models the dispatching sender concept.

Has the expected completion signatures.

Has the expected completion domain.

Has the expected completion scheduler.

Is connectable.

It is not nothrow connectable.

Definition at line 59 of file test_parallel_for.cpp.

◆ test_then_opstate_traits()

bool Tests::GraphImpl::test_then_opstate_traits ( )
consteval
Test
Check that the stdexec::connect result is Kokkos::Execution::GraphImpl::OpState, and the Kokkos node types are hierarchical and fully typed on predecessors.

Definition at line 135 of file test_then.cpp.