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 }}
Repository navigation
Make cuda::aligned_size_t available in a more appropriate header than <cuda/barrier> #997
This requires me to include <cuda/std/barrier> any time I wish to use cuda::aligned_size_t. This is especially problematic as merely including cuda/barrier prevents compiling with <sm_70.
cuda::aligned_size_t is useful independent of its usage with barrier.
I want to be able to use cuda::aligned_size_t without including <cuda(/std)/barrier>.
We could put in something like <cuda/memory|or something>. We eventually need to write an optimized memcpy and other memblah friends and it might make sense to live there.
Activity
sleeepyjack commentedon Aug 11, 2022
Could this potentially land in v1.9.0?
jrhemstad commentedon Aug 12, 2022
You'd have to convince @wmaxey.
It is a relatively simple change, so I'd be fine with sneaking it in if we can, but Wesley calls the shots 'round here.
sleeepyjack commentedon Aug 29, 2022
@wmaxey could this be a candidate for v1.9.0?
Also related: NVIDIA/libcudacxx#163
miscco commentedon Feb 23, 2023
Rather than putting it in
<cstddef>we should consider making<memory>partially availablejrhemstad commentedon Feb 23, 2023
Why
<memory>?miscco commentedon Feb 23, 2023
Because the other
aligned_meowstuff lives therejrhemstad commentedon Feb 23, 2023
I think the closest thing would be
std::align_val_tin<new>.wmaxey commentedon Feb 23, 2023
We could put in something like
<cuda/memory|or something>. We eventually need to write an optimizedmemcpyand othermemblahfriends and it might make sense to live there.