Replies: 3 comments 4 replies
-
|
I dont see the error message, but have you tried specializing The issue with pointer_traits and So we are kind of relying on |
Beta Was this translation helpful? Give feedback.
-
|
We are trying to replace |
Beta Was this translation helpful? Give feedback.
-
|
So, that means that in the future (now?) I can specialize Please, if you can, confirm, if currently there is no better workaround than specializing this Having said that, I still prefer Thrust to deduce stuff from the iterator itself. Even if that intrusively means adding non-standard traits to my iterators. I think this it more practical than defining specializations. Case in point, I still think it is a good idea if the iterators themselves can carry the Thrust system information: #5284 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When upgrading to CUDA 13.2, I got a breaking change for my library.
After some trial and error I worked around this breaking change by adding an specialization:
(What is after
type =is not very important, it seems that I could have put justvoid.)The point is that, this workaround seems fragile, because I am specializing a
detailclass.Do you know of a way to achieve the same effect without messing with a detail class.
I don't mind specializations, I have a few here: https://github.com/correaa/boost-multi/blob/develop/include/boost/multi/adaptors/thrust.hpp (including the one mentioned above) and here: https://github.com/correaa/boost-multi/blob/develop/include/boost/multi/adaptors/thrust/fix_pointer_traits.hpp
although I would prefer other mechanisms, like adding extra traits to my own classes (iterators), or some Thrust-blessed mechanism.
For reference these are test passing for CUDA 13.2 https://gitlab.com/correaa/boost-multi/-/jobs/13881966958
Beta Was this translation helpful? Give feedback.
All reactions