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
b681fc26
Commit
b681fc26
authored
Sep 15, 2022
by
Po-Yen, Chen
Browse files
Add 'noexcept' specifier to CRTP generated method
parent
734a12da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
include/ck/tensor_operation/gpu/device/device_permute.hpp
include/ck/tensor_operation/gpu/device/device_permute.hpp
+2
-1
No files found.
include/ck/tensor_operation/gpu/device/device_permute.hpp
View file @
b681fc26
...
@@ -82,7 +82,8 @@ struct DevicePermuteCRTP : DevicePermute<NumDim, InDataType, OutDataType, Elemen
...
@@ -82,7 +82,8 @@ struct DevicePermuteCRTP : DevicePermute<NumDim, InDataType, OutDataType, Elemen
// generate other utility methods
// generate other utility methods
template
<
typename
...
Args
>
template
<
typename
...
Args
>
static
auto
MakeArgument
(
Args
&&
...
args
)
static
auto
MakeArgument
(
Args
&&
...
args
)
noexcept
(
std
::
is_nothrow_constructible_v
<
typename
DerivedDeviceOperator
::
Argument
,
Args
...
>
)
{
{
static_assert
(
std
::
is_constructible_v
<
typename
DerivedDeviceOperator
::
Argument
,
Args
...
>
);
static_assert
(
std
::
is_constructible_v
<
typename
DerivedDeviceOperator
::
Argument
,
Args
...
>
);
...
...
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