Skip to content

Commit

Permalink
Revert "[SYCLomatic #319] Add test for migration of thrust::device_re…
Browse files Browse the repository at this point in the history
…ference type (#122)" (#134)

This reverts commit a411e25.
  • Loading branch information
zhimingwang36 authored Nov 9, 2022
1 parent a411e25 commit 8eec9bf
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions features/feature_case/thrust/thrust-vector-2.cu
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,5 @@ int main() {
Report::check("device_vector size", dv2.size(), 5);
checkVector(dv2, "device_vector dynamic expansion");

thrust::device_vector<int> dv5(2, -1);
dv5[1] = 10;
thrust::device_reference<int> r0 = dv5[0];
thrust::device_reference<int> r1 = dv5[1];
r0 = r1;
Report::check("device_reference = ", dv5[0], 10);

return Report::finish();
}

0 comments on commit 8eec9bf

Please sign in to comment.