Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
composable_kernel
Commits
4ace6c86
Commit
4ace6c86
authored
Aug 31, 2023
by
Rostyslav Geyyer
Browse files
Remove is_native method
parent
53dba87a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
include/ck/utility/data_type.hpp
include/ck/utility/data_type.hpp
+0
-8
No files found.
include/ck/utility/data_type.hpp
View file @
4ace6c86
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment