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
MIGraphX
Commits
6d45d740
Commit
6d45d740
authored
Nov 06, 2023
by
Umang Yadav
Browse files
disable vectorization for fp8
parent
b2bb524f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/targets/gpu/kernels/include/migraphx/kernels/vectorize.hpp
...argets/gpu/kernels/include/migraphx/kernels/vectorize.hpp
+4
-4
No files found.
src/targets/gpu/kernels/include/migraphx/kernels/vectorize.hpp
View file @
6d45d740
...
@@ -92,6 +92,10 @@ constexpr auto tensor_step(T x, Axis axis)
...
@@ -92,6 +92,10 @@ constexpr auto tensor_step(T x, Axis axis)
{
{
return
x
;
return
x
;
}
}
else
if
(
is_same
<
T
,
migraphx
::
fp8e4m3fnuz
>
{})
{
return
x
;
}
else
else
{
{
constexpr
auto
s
=
decltype
(
x
.
get_shape
()){};
constexpr
auto
s
=
decltype
(
x
.
get_shape
()){};
...
@@ -254,10 +258,6 @@ __device__ __host__ auto vectorize()
...
@@ -254,10 +258,6 @@ __device__ __host__ auto vectorize()
{
{
f
(
xs
...);
f
(
xs
...);
}
}
else
if
constexpr
(
is_same
<
decltype
(
any_of
(
xs
...)),
migraphx
::
fp8e4m3fnuz
>
{})
{
return
f
(
xs
...);
}
else
else
{
{
f
(
vectorize_tensor
<
N
,
Axis
>
(
xs
)...);
f
(
vectorize_tensor
<
N
,
Axis
>
(
xs
)...);
...
...
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