Commit 4ace6c86 authored by Rostyslav Geyyer's avatar Rostyslav Geyyer
Browse files

Remove is_native method

parent 53dba87a
......@@ -17,14 +17,6 @@ using f8_t = _BitInt(8);
using bf8_t = unsigned _BitInt(8);
#endif
template <typename T>
inline __host__ __device__ constexpr auto is_native()
{
return std::is_same<T, half_t>::value || std::is_same<T, float>::value ||
std::is_same<T, double>::value || std::is_same<T, bhalf_t>::value ||
std::is_same<T, int32_t>::value || std::is_same<T, int8_t>::value;
}
// vector_type
template <typename T, index_t N>
struct vector_type;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment