[FEA]: Improve thrust::complex
compile time throughput
#486
Labels
feature request
New feature or request.
good first issue
Good for newcomers.
help wanted
Request for input or help from the community
thrust
For all items related to Thrust.
Is this a duplicate?
Area
Thrust
Is your feature request related to a problem? Please describe.
thrust::complex
has an extended API surface compared tocuda::std::complex
The implementation of those additional operators / features has aged a bit and can be improved:
This requires us to instantiate
is_same
andis_arithmetic
andpromoted_numerical_type
even if the first constraint is not trueDescribe the solution you'd like
We can avoid extensive instantiations by moving the constraints into the template arguments:
This would short circuit relatively early
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: