Skip to content

Commit eae2fbc

Browse files
makortelfwyzard
authored andcommitted
Set the data pointer of error's SimpleVector (#236)
1 parent ebc280c commit eae2fbc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

RecoLocalTracker/SiPixelClusterizer/plugins/SiPixelRawToClusterGPUKernel.h

+2
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,8 @@ namespace pixelgpudetails {
221221
}
222222

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

0 commit comments

Comments
 (0)