Open miscco opened 6 months ago
I just stumbled over thrust::optional
thinking: "This should be replaced by cuda::std::optional". Is there any reason why we cannot move to cuda::std::optional
? If no, then we should at least deprecate thrust::optional
and tell users to start migrating to cuda::std::optional
.
@miscco can we replace thrust::optional
by cuda::std::optional
when we move Thrust to C++17?
Technically not because thrust::optional
also supports reference types
I see. I guess we have to track progress on https://wg21.link/P2988 then and wait for ::cuda::std::optional<T&>
.
I believe we should just do the right thing and implement it
We realized that we do not have tests for thrust::optional in the repo.
We should add them