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
80f0da37
Unverified
Commit
80f0da37
authored
Dec 01, 2023
by
Chao Liu
Committed by
GitHub
Dec 01, 2023
Browse files
fix build (#46)
parent
ca2105a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
include/ck/utility/math_v2.hpp
include/ck/utility/math_v2.hpp
+0
-4
No files found.
include/ck/utility/math_v2.hpp
View file @
80f0da37
...
...
@@ -312,13 +312,11 @@ inline __device__ float exp<float>(float x)
return
__expf
(
x
);
}
/*
template
<
>
inline
__device__
half_t
exp
<
half_t
>
(
half_t
x
)
{
return
hexp
(
x
);
};
*/
template
<
>
inline
__device__
double
exp
<
double
>
(
double
x
)
...
...
@@ -348,13 +346,11 @@ inline __device__ T log(T x)
return
ck
::
type_convert
<
T
>
(
__logf
(
ck
::
type_convert
<
float
>
(
x
)));
};
/*
template
<
>
inline
__device__
half_t
log
<
half_t
>
(
half_t
x
)
{
return
hlog
(
x
);
};
*/
template
<
>
inline
__device__
float
log
<
float
>
(
float
x
)
...
...
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