Skip to content

Commit

Permalink
Set the data pointer of error's SimpleVector (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
makortel authored and fwyzard committed Nov 6, 2020
1 parent fbd60a0 commit 096398c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,8 @@ namespace pixelgpudetails {
}

CPUData&& getCPUData() {
// Set the vector data pointer to point to CPU
digis_clusters_h.error->set_data(digis_clusters_h.data.get());
return std::move(digis_clusters_h);
}

Expand Down

0 comments on commit 096398c

Please sign in to comment.