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
ce20fe06
Commit
ce20fe06
authored
May 09, 2023
by
Po-Yen, Chen
Browse files
Make sure 'Embed' type args are not references
parent
3ab2821d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
include/ck/tensor_description/multi_index_transform.hpp
include/ck/tensor_description/multi_index_transform.hpp
+2
-0
No files found.
include/ck/tensor_description/multi_index_transform.hpp
View file @
ce20fe06
...
@@ -383,6 +383,8 @@ template <typename UpLengths,
...
@@ -383,6 +383,8 @@ template <typename UpLengths,
typename
enable_if
<
UpLengths
::
Size
()
==
Coefficients
::
Size
(),
bool
>
::
type
=
false
>
typename
enable_if
<
UpLengths
::
Size
()
==
Coefficients
::
Size
(),
bool
>
::
type
=
false
>
struct
Embed
struct
Embed
{
{
static_assert
(
!
std
::
is_reference_v
<
UpLengths
>
&&
!
std
::
is_reference_v
<
Coefficients
>
);
static
constexpr
index_t
NDimUp
=
UpLengths
::
Size
();
static
constexpr
index_t
NDimUp
=
UpLengths
::
Size
();
using
LowerIndex
=
MultiIndex
<
1
>
;
using
LowerIndex
=
MultiIndex
<
1
>
;
...
...
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