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 Oct 19, 2020
1 parent 5167c17 commit 99b0d0c
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 99b0d0c

Please sign in to comment.