kokkos-execution 0.0.1
Loading...
Searching...
No Matches
node_props.hpp File Reference
#include "Kokkos_Macros.hpp"
#include "Kokkos_Core.hpp"
#include "kokkos-execution/impl/label.hpp"
#include "kokkos-execution/impl/properties.hpp"
#include "kokkos-execution/impl/type_info.hpp"

Go to the source code of this file.

Classes

struct  Kokkos::Execution::GraphImpl::ExecOf< Kokkos::Impl::DeviceHandle< Exec > >
 Retrieve the execution space type from a Kokkos::Impl::DeviceHandle. More...

Namespaces

namespace  Kokkos
namespace  Kokkos::Execution
namespace  Kokkos::Execution::GraphImpl

Typedefs

template<Kokkos::ExecutionSpace Exec, typename Label>
using Kokkos::Execution::GraphImpl::node_props_t = typename Kokkos::Impl::NodeCtorProps<Kokkos::Impl::DeviceHandle<Exec>, Label>::uniform_type
template<Kokkos::ExecutionSpace Exec, typename Data>
using Kokkos::Execution::GraphImpl::make_node_props_t = decltype(make_node_props(std::declval<const Exec&>(), std::declval<Data&&>()))
template<typename T>
using Kokkos::Execution::GraphImpl::device_handle_of_t = typename decltype(device_handle_of(std::declval<const T&>()))::type
template<typename T>
using Kokkos::Execution::GraphImpl::exec_of_t = typename ExecOf<T>::type

Functions

template<Kokkos::ExecutionSpace Exec, typename Data>
requires (Impl::labeled<std::remove_cvref_t<Data>>)
constexpr auto Kokkos::Execution::GraphImpl::make_node_props (const Exec &exec, Data &&data) noexcept(noexcept(Kokkos::Experimental::node_props(Kokkos::Experimental::get_device_handle(exec), Impl::as_convertible_to_string(Impl::get_property< Impl::Label >(std::forward< Data >(data)))))) -> decltype(Kokkos::Experimental::node_props(Kokkos::Experimental::get_device_handle(exec), Impl::as_convertible_to_string(Impl::get_property< Impl::Label >(std::forward< Data >(data)))))
template<Kokkos::ExecutionSpace Exec, typename Data>
constexpr auto Kokkos::Execution::GraphImpl::make_node_props (const Exec &exec, Data &&) noexcept(noexcept(Kokkos::Experimental::node_props(Kokkos::Experimental::get_device_handle(exec)))) -> decltype(Kokkos::Experimental::node_props(Kokkos::Experimental::get_device_handle(exec)))
template<Kokkos::ExecutionSpace Exec>
auto Kokkos::Execution::GraphImpl::device_handle_of (const Kokkos::Impl::NodeCtorProp< Kokkos::Impl::DeviceHandle< Exec > > &) -> std::type_identity< Kokkos::Impl::DeviceHandle< Exec > >
 Retrieve the Kokkos::Impl::DeviceHandle type from a node properties type.
template<typename T, typename PropsContainer>
requires Kokkos::Impl::NodeProperties<std::remove_cvref_t<PropsContainer>>
decltype(auto) Kokkos::Execution::GraphImpl::get_label_or_display_string_of (PropsContainer &&props)
 If the node properties contain a label, return it. Otherwise, use the display string of T.