You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.
If input_type and intermediate_type are not the same, a C++ compiler can assume that a pointer of type input_type* does not alias a pointer of type intermediate_type*. Yet here they clearly do alias when we invoke scan() below.
This can lead to all sorts of difficult-to-track-down bugs.
The text was updated successfully, but these errors were encountered:
We've switched to a new implementation for the CUDA backend. Amusingly, there is another union problem in the new backend, but I'm pretty sure this is no longer an issue. Leaving it open until I can confirm. Also, hi Justin.
https://github.com/thrust/thrust/blob/25669cd425a8f4d896e4a631683899e55086f733/thrust/system/cuda/detail/bulk/algorithm/scan.hpp#L357
If
input_type
andintermediate_type
are not the same, a C++ compiler can assume that a pointer of typeinput_type*
does not alias a pointer of typeintermediate_type*
. Yet here they clearly do alias when we invoke scan() below.This can lead to all sorts of difficult-to-track-down bugs.
The text was updated successfully, but these errors were encountered: