Skip to content

Commit

Permalink
Simplify getting the Device type from the Queue
Browse files Browse the repository at this point in the history
  • Loading branch information
fwyzard committed Feb 17, 2023
1 parent b4a2d4c commit b46cde0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HeterogeneousCore/AlpakaTest/interface/AlpakaESTestData.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ namespace cms::alpakatools {
// of that activity (which has nothing to do with the memory here).
auto dstBuffer = cms::alpakatools::make_device_buffer<int[]>(queue, srcData.size());
alpaka::memcpy(queue, dstBuffer, srcData.buffer());
return cms::alpakatest::AlpakaESTestDataB<typename alpaka::trait::DevType<TQueue>::type>(std::move(dstBuffer));
return cms::alpakatest::AlpakaESTestDataB<alpaka::Dev<TQueue>>(std::move(dstBuffer));
}
};
} // namespace cms::alpakatools
Expand Down

0 comments on commit b46cde0

Please sign in to comment.