Skip to content

Commit

Permalink
Reformat remaining files
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbowen42 committed Jan 7, 2025
1 parent 8bc8bb8 commit 51c26c2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
11 changes: 6 additions & 5 deletions include/RAJA/pattern/tensor/internal/ET/MultiplyOperator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1136,11 +1136,12 @@ struct MultiplyOperator<
TILE_TYPE const& tile,
LEFT_OPERAND_TYPE const& left,
RIGHT_OPERAND_TYPE const& right,
ADD_TYPE const& add) //->
// decltype(TensorMultiplyAdd<decltype(left.eval(tile)),
// decltype(right.eval(tile)),
// decltype(add.eval(tile))>(left.eval(tile),
// right.eval(tile), add.eval(tile)))
ADD_TYPE const&
add) //->
// decltype(TensorMultiplyAdd<decltype(left.eval(tile)),
// decltype(right.eval(tile)),
// decltype(add.eval(tile))>(left.eval(tile),
// right.eval(tile), add.eval(tile)))
{
/*
* First pass: we want to return a BlockLiteral ET node with the
Expand Down
19 changes: 10 additions & 9 deletions include/RAJA/util/View.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,15 +140,16 @@ RAJA_HOST_DEVICE RAJA_INLINE auto removenth(Lay lyout, Tup&& tup)
// the index into the array-of-pointers to be moved around in the MultiView
// operator(); see the operator overload. Default of 0 means that the p2p index
// is in the 0th position.
template<typename ValueType,
typename LayoutType,
RAJA::Index_type P2Pidx = 0,
typename PointerType = ValueType**,
typename NonConstPointerType = camp::type::ptr::add< // adds *
camp::type::ptr::add<camp::type::cv::rem< // removes cv
camp::type::ptr::rem<camp::type::ptr::rem<PointerType> // removes
// *
>>>>>
template<
typename ValueType,
typename LayoutType,
RAJA::Index_type P2Pidx = 0,
typename PointerType = ValueType**,
typename NonConstPointerType = camp::type::ptr::add< // adds *
camp::type::ptr::add<camp::type::cv::rem< // removes cv
camp::type::ptr::rem<camp::type::ptr::rem<PointerType> // removes
// *
>>>>>
struct MultiView
{
using value_type = ValueType;
Expand Down

0 comments on commit 51c26c2

Please sign in to comment.