86 auto& mview = product.
view();
87 auto const& cmview = product.
view();
91 <<
view.metadata().size();
97 msg <<
" data @ " << product.
buffer().data() <<
",\n" 98 <<
" x @ " <<
view.metadata().addressOf_x() <<
" = " << Column(
view.x(),
view.metadata().size()) <<
",\n" 99 <<
" y @ " <<
view.metadata().addressOf_y() <<
" = " << Column(
view.y(),
view.metadata().size()) <<
",\n" 100 <<
" z @ " <<
view.metadata().addressOf_z() <<
" = " << Column(
view.z(),
view.metadata().size()) <<
",\n" 101 <<
" id @ " <<
view.metadata().addressOf_id() <<
" = " << Column(
view.id(),
view.metadata().size())
103 <<
" r @ " <<
view.metadata().addressOf_r() <<
" = " <<
view.r() <<
'\n' 106 msg << std::hex <<
" [y - x] = 0x" 107 <<
reinterpret_cast<intptr_t
>(
view.metadata().addressOf_y()) -
108 reinterpret_cast<intptr_t>(
view.metadata().addressOf_x())
110 << reinterpret_cast<intptr_t>(
view.metadata().addressOf_z()) -
111 reinterpret_cast<intptr_t>(
view.metadata().addressOf_y())
113 << reinterpret_cast<intptr_t>(
view.metadata().addressOf_id()) -
114 reinterpret_cast<intptr_t>(
view.metadata().addressOf_z())
116 << reinterpret_cast<intptr_t>(
view.metadata().addressOf_r()) -
117 reinterpret_cast<intptr_t>(
view.metadata().addressOf_id())
119 << reinterpret_cast<intptr_t>(
view.metadata().addressOf_m()) -
120 reinterpret_cast<intptr_t>(
view.metadata().addressOf_r());
123 checkViewAddresses(
view);
124 checkViewAddresses(mview);
125 checkViewAddresses(cmview);
127 const portabletest::Matrix matrix{{1, 2, 3, 4, 5, 6}, {2, 4, 6, 8, 10, 12}, {3, 6, 9, 12, 15, 18}};
129 for (int32_t
i = 0;
i <
view.metadata().size(); ++
i) {
const edm::EDGetTokenT< portabletest::TestHostCollection > token_
Eigen::Matrix< double, 3, 6 > Matrix
ConstView const & const_view() const
const edm::InputTag source_