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 Dec 29, 2020
1 parent 6f23b9c commit fbdfdb0
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 fbdfdb0

Please sign in to comment.