Skip to content

Commit

Permalink
Merge pull request #41873 from iarspider/fix-new-eigen
Browse files Browse the repository at this point in the history
CMSSW changes for Eigen API changes
  • Loading branch information
cmsbuild authored Jun 6, 2023
2 parents c9955c4 + 431cc20 commit 8617c80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion HeterogeneousCore/AlpakaTest/plugins/TestAlpakaAnalyzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class TestAlpakaAnalyzer : public edm::global::EDAnalyzer<> {
<< " id @ " << view.metadata().addressOf_id() << " = " << Column(view.id(), view.metadata().size())
<< ",\n"
<< " r @ " << view.metadata().addressOf_r() << " = " << view.r() << '\n'
<< " m @ " << view.metadata().addressOf_m() << " = { ... {" << view[1].m()(1, Eigen::all)
<< " m @ " << view.metadata().addressOf_m() << " = { ... {" << view[1].m()(1, Eigen::indexing::all)
<< " } ... } \n";
msg << std::hex << " [y - x] = 0x"
<< reinterpret_cast<intptr_t>(view.metadata().addressOf_y()) -
Expand Down
3 changes: 2 additions & 1 deletion HeterogeneousCore/CUDATest/plugins/TestPortableAnalyzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ class TestPortableAnalyzer : public edm::stream::EDAnalyzer<> {
<< " z @ " << view.metadata().addressOf_z() << " = " << Column(view.z(), view.metadata().size()) << ",\n"
<< " id @ " << view.metadata().addressOf_id() << " = " << Column(view.id(), view.metadata().size()) << ",\n"
<< " r @ " << view.metadata().addressOf_r() << " = " << view.r() << '\n'
<< " m @ " << view.metadata().addressOf_m() << " = { ... {" << view[1].m()(1, Eigen::all) << " } ... } \n";
<< " m @ " << view.metadata().addressOf_m() << " = { ... {" << view[1].m()(1, Eigen::indexing::all)
<< " } ... } \n";
msg << std::hex << " [y - x] = 0x"
<< reinterpret_cast<intptr_t>(view.metadata().addressOf_y()) -
reinterpret_cast<intptr_t>(view.metadata().addressOf_x())
Expand Down

0 comments on commit 8617c80

Please sign in to comment.