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
[BUG]: common_type regression from 2.4.0 to 2.5.0 #2013
using out_t = cuda::std::common_type_t<cuda::std::complex<double>, cuda::std::complex<float>>;
In 2.5.0 this error is shown:
/repro/tmp/MatX/build/_deps/cccl-src/libcudacxx/lib/cmake/libcudacxx/../../../include/cuda/std/__type_traits/common_type.h(123): error: class "cuda::std::__4::common_type<cuda::std::__4::complex<double>, cuda::std::__4::complex<float>>" has no member "type"
using common_type_t = typename common_type<_Tp...>::type;
/repro/tmp/MatX/build/_deps/cccl-src/libcudacxx/lib/cmake/libcudacxx/../../../include/cuda/std/__type_traits/common_type.h(123): error: class "cuda::std::__4::common_type<cuda::std::__4::complex<double>, cuda::std::__4::complex<float>>" has no member "type"
using common_type_t = typename common_type<_Tp...>::type;
^
detected during:
instantiation of type "cuda::std::__4::common_type_t<cuda::std::__4::complex<double>, cuda::std::__4::complex<float>>" at line 52 of /repro/tmp/MatX/include/matx/operators/channelize_poly.h
instantiation of class "matx::detail::ChannelizePolyOp<OpA, FilterType> [with OpA=matx::tensor_t<double, 1, matx::basic_storage<matx::raw_pointer_buffer<double, matx::matx_allocator<double>>>, matx::tensor_desc_t<cuda::std::__4::array<matx::index_t, 1UL>, cuda::std::__4::array<matx::index_t, 1UL>, 1>>, FilterType=matx::tensor_t<float, 1, matx::basic_storage<matx::raw_pointer_buffer<float, matx::matx_allocator<float>>>, matx::tensor_desc_t<cuda::std::__4::array<matx::index_t, 1UL>, cuda::std::__4::array<matx::index_t, 1UL>, 1>>]" at line 162 of /repro/tmp/MatX/include/matx/operators/channelize_poly.h
instantiation of "auto matx::channelize_poly(const InType &, const FilterType &, matx::index_t, matx::index_t) [with InType=matx::tensor_t<double, 1, matx::basic_storage<matx::raw_pointer_buffer<double, matx::matx_allocator<double>>>, matx::tensor_desc_t<cuda::std::__4::array<matx::index_t, 1UL>, cuda::std::__4::array<matx::index_t, 1UL>, 1>>, FilterType=matx::tensor_t<float, 1, matx::basic_storage<matx::raw_pointer_buffer<float, matx::matx_allocator<float>>>, matx::tensor_desc_t<cuda::std::__4::array<matx::index_t, 1UL>, cuda::std::__4::array<matx::index_t, 1UL>, 1>>]" at line 215 of /repro/tmp/MatX/test/00_transform/ChannelizePoly.cu
Activity
Add tests to ensure that we properly propagate common_type for comple…
Add tests to ensure that we properly propagate common_type for comple…
Add tests to ensure that we properly propagate common_type for comple…
Add tests to ensure that we properly propagate common_type for comple…
cliffburdick commentedon Sep 9, 2024
This still occurs in 2.6.0:
jrhemstad commentedon Sep 9, 2024
@cliffburdick reports that he is still seeing this issue.