Skip to content

Commit

Permalink
Fixed memcpy
Browse files Browse the repository at this point in the history
  • Loading branch information
ariostas committed Aug 5, 2024
1 parent 14b8bd9 commit 8f720ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RecoTracker/LSTCore/src/LSTESData.cc
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ std::unique_ptr<lst::LSTESData<alpaka_common::DevHost>> lst::loadAndFillESHost()
EndcapGeometryBuffer<alpaka_common::DevHost>(cms::alpakatools::host(), endcapGeometry.nEndCapMap);
std::memcpy(alpaka::getPtrNative(endcapGeometryBuffers.geoMapDetId_buf),
endcapGeometry.geoMapDetId_buf.data(),
endcapGeometry.nEndCapMap);
endcapGeometry.nEndCapMap * sizeof(unsigned int));
std::memcpy(alpaka::getPtrNative(endcapGeometryBuffers.geoMapPhi_buf),
endcapGeometry.geoMapPhi_buf.data(),
endcapGeometry.nEndCapMap);
endcapGeometry.nEndCapMap * sizeof(float));

auto path =
get_absolute_path_after_check_file_exists(trackLooperDir() + "/data/OT800_IT615_pt0.8/sensor_centroids.bin");
Expand Down

0 comments on commit 8f720ad

Please sign in to comment.