Lines Matching refs:is_arithmetic

261 // ToDo: specializes is_arithmetic<_Float16>
262 template <class _Tp> struct is_arithmetic {
265 template <> struct is_arithmetic<bool> {
268 template <> struct is_arithmetic<char> {
271 template <> struct is_arithmetic<signed char> {
274 template <> struct is_arithmetic<unsigned char> {
277 template <> struct is_arithmetic<wchar_t> {
280 template <> struct is_arithmetic<short> {
283 template <> struct is_arithmetic<unsigned short> {
286 template <> struct is_arithmetic<int> {
289 template <> struct is_arithmetic<unsigned int> {
292 template <> struct is_arithmetic<long> {
295 template <> struct is_arithmetic<unsigned long> {
298 template <> struct is_arithmetic<long long> {
301 template <> struct is_arithmetic<unsigned long long> {
304 template <> struct is_arithmetic<float> {
307 template <> struct is_arithmetic<double> {
408 __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, \
417 __DEVICE__ typename __hip_enable_if<__hip::is_arithmetic<__T1>::value && \
418 __hip::is_arithmetic<__T2>::value, \
496 __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value &&
497 __hip::is_arithmetic<__T3>::value,
505 __DEVICE__ typename __hip_enable_if<__hip::is_arithmetic<__T1>::value &&
506 __hip::is_arithmetic<__T2>::value &&
507 __hip::is_arithmetic<__T3>::value,
538 typename __hip_enable_if<__hip::is_arithmetic<__T1>::value &&
539 __hip::is_arithmetic<__T2>::value,
547 __DEVICE__ typename __hip_enable_if<__hip::is_arithmetic<__T1>::value &&
548 __hip::is_arithmetic<__T2>::value,