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
67497a04
"torchvision/git@developer.sourcefind.cn:OpenDAS/vision.git" did not exist on "27b8491640aac89a08624f3f70a270ee88542984"
Unverified
Commit
67497a04
authored
Dec 10, 2024
by
Jatin Chaudhary
Committed by
GitHub
Dec 10, 2024
Browse files
Make sure we call __hneg with half to remove ambigios error (#1736)
parent
94ae7113
Changes
1
Hide 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 @
67497a04
...
@@ -611,7 +611,7 @@ inline __device__ int8_t neg<int8_t>(int8_t x)
...
@@ -611,7 +611,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