Skip to content
Snippets Groups Projects

Updates required for QAT

Merged Olivier BICHLER requested to merge qat into dev
1 file
+ 5
1
Compare changes
  • Side-by-side
  • Inline
@@ -158,7 +158,11 @@ public:
std::enable_if_t<(SIZE > 0), bool> = true>
constexpr const std::type_info& getAttrType(std::size_t i) const {
if (i == SIZE-1) {
return typeid(typename std::tuple_element<SIZE-1,std::tuple<T...>>::type);
// Workaround for NVCC from 12.2.1 to 12.4.1
// error: no suitable constructor exists to convert from "const char *" to "std::type_info"
typename std::tuple_element<SIZE-1,std::tuple<T...>>::type dummy;
return typeid(dummy);
//return typeid(typename std::tuple_element<SIZE-1,std::tuple<T...>>::type);
}
else {
return getAttrType<SIZE-1>(i);
Loading