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
Is your feature request related to a problem? Please describe.
Today, cuda.parallel API consists of build and execution stages. During the build stage, we instantiate C++ templates and form a cubin. During execution stage, we use this cubin. There's no type validation during execution step. This might create issues where user build cuda.parallel algorithm for, say, int, but execute it on double leading to a silent corruption.
Describe the solution you'd like
We should validate that types used during execution step match ones provided in build here:
Is this a duplicate?
Area
General CCCL
Is your feature request related to a problem? Please describe.
Today, cuda.parallel API consists of build and execution stages. During the build stage, we instantiate C++ templates and form a cubin. During execution stage, we use this cubin. There's no type validation during execution step. This might create issues where user build cuda.parallel algorithm for, say, int, but execute it on double leading to a silent corruption.
Describe the solution you'd like
We should validate that types used during execution step match ones provided in build here:
cccl/python/cuda_parallel/cuda/parallel/experimental/__init__.py
Line 215 in 4088134
This PR can be closed by a test illustrating that an exception is thrown when passing not matching types during execution step.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: