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_ROCM
Commits
acf73bd1
Commit
acf73bd1
authored
Dec 10, 2024
by
Jatin Chaudhary
Committed by
Pruthvi Madugundu
Jan 10, 2025
Browse files
Make sure we call __hneg with half to remove ambigios error (#1736)
parent
a82ae8e5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
include/ck/utility/math_v2.hpp
include/ck/utility/math_v2.hpp
+1
-1
No files found.
include/ck/utility/math_v2.hpp
View file @
acf73bd1
...
@@ -607,7 +607,7 @@ inline __device__ int8_t neg<int8_t>(int8_t x)
...
@@ -607,7 +607,7 @@ inline __device__ int8_t neg<int8_t>(int8_t x)
template
<
>
template
<
>
inline
__device__
half_t
neg
<
half_t
>
(
half_t
x
)
inline
__device__
half_t
neg
<
half_t
>
(
half_t
x
)
{
{
return
__hneg
(
x
);
return
__hneg
(
static_cast
<
__half
>
(
x
)
);
};
};
template
<
typename
T
>
template
<
typename
T
>
...
...
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