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
Make kernels/portable/cpu compatible with C++11/14/17/20 (#128)
Summary:
Pull Request resolved: #128
Tweak the portable kernels to build cleanly with C++11 as well as with more recent versions. This only covers non-test, non-aten targets under `//executorch/kernels/portable/cpu/...`.
A lot of the template changes deal with the lack of <base>_t templates in C++11. Most of them are of the form
```
template<class T>
using BASE_t = typename BASE<T>::type;
```
so the fix was to inline that pattern: add `typename` to the front and `::type` to the end.
Reviewed By: digantdesai, kirklandsign
Differential Revision: D48668113
fbshipit-source-id: 93f0cbbd4cb85285e4a5f5657e0e1cc33a5a826d
0 commit comments