kokkos-execution 0.0.1
Loading...
Searching...
No Matches
test_diagnostics.failure.cpp File Reference
#include "kokkos-execution/utils/ignore_warnings.hpp"
#include "exec/single_thread_context.hpp"
#include "kokkos-execution/graph.hpp"
#include "tests/utils/functors/no_op.hpp"

Go to the source code of this file.

Functions

PRAGMA_DIAGNOSTIC_PUSH PRAGMA_DIAGNOSTIC_POP int main ()

Function Documentation

◆ main()

PRAGMA_DIAGNOSTIC_PUSH PRAGMA_DIAGNOSTIC_POP int main ( )
Test
Check that Kokkos::Execution::Impl::mandate_or_explain works properly.

This line will not compile and should properly explain why.

Definition at line 12 of file test_diagnostics.failure.cpp.

References Kokkos::Execution::GraphContext< Exec >::get_scheduler(), and Kokkos::Execution::Impl::mandate_or_explain().