Lines Matching defs:TaskResult
70 struct TaskResult { struct
71 enum : int32_t { size = sizeof(ResultType) };
73 using reference_type = ResultType&;
76 KOKKOS_INLINE_FUNCTION static ResultType* ptr( in ptr()
83 KOKKOS_INLINE_FUNCTION static ResultType* ptr(TaskBase* task) { in ptr()
89 KOKKOS_INLINE_FUNCTION static reference_type get(TaskBase* task) { in get()
94 KOKKOS_INLINE_FUNCTION static reference_type get( in get()
99 KOKKOS_INLINE_FUNCTION static void destroy(TaskBase* task) { in destroy()
110 struct TaskResult<void> { struct
111 enum : int32_t { size = 0 };
113 using reference_type = void;
116 KOKKOS_INLINE_FUNCTION static void* ptr(TaskNode<TaskQueueTraits>* /*task*/) { in ptr()
120 KOKKOS_INLINE_FUNCTION static void* ptr(TaskBase*) { return nullptr; } in ptr()
123 KOKKOS_INLINE_FUNCTION static reference_type get( in get()
127 KOKKOS_INLINE_FUNCTION static reference_type get(TaskBase*) {} in get()
129 KOKKOS_INLINE_FUNCTION static void destroy(TaskBase* /*task*/) {} in destroy()