Skip to content

Commit b46cde0

Browse files
committed
Simplify getting the Device type from the Queue
1 parent b4a2d4c commit b46cde0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HeterogeneousCore/AlpakaTest/interface/AlpakaESTestData.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ namespace cms::alpakatools {
5151
// of that activity (which has nothing to do with the memory here).
5252
auto dstBuffer = cms::alpakatools::make_device_buffer<int[]>(queue, srcData.size());
5353
alpaka::memcpy(queue, dstBuffer, srcData.buffer());
54-
return cms::alpakatest::AlpakaESTestDataB<typename alpaka::trait::DevType<TQueue>::type>(std::move(dstBuffer));
54+
return cms::alpakatest::AlpakaESTestDataB<alpaka::Dev<TQueue>>(std::move(dstBuffer));
5555
}
5656
};
5757
} // namespace cms::alpakatools

0 commit comments

Comments
 (0)