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
ecdfe960
"...composable_kernel.git" did not exist on "5e6cca6f1e2a603a7f122ee628b0ab88adb358ac"
Commit
ecdfe960
authored
May 17, 2022
by
rocking
Browse files
Add comment
parent
492da459
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
include/ck/tensor_operation/gpu/device/device_binary_elementwise.hpp
...tensor_operation/gpu/device/device_binary_elementwise.hpp
+1
-0
No files found.
include/ck/tensor_operation/gpu/device/device_binary_elementwise.hpp
View file @
ecdfe960
...
@@ -81,6 +81,7 @@ struct DeviceBinaryElementwise : public BaseOperator
...
@@ -81,6 +81,7 @@ struct DeviceBinaryElementwise : public BaseOperator
static_assert
(
Dim
==
1
||
Dim
==
2
,
static_assert
(
Dim
==
1
||
Dim
==
2
,
"wrong! DeviceBinaryElementwise not support this dimension"
);
"wrong! DeviceBinaryElementwise not support this dimension"
);
// TODO - 3D, 4D, 5D
if
constexpr
(
Dim
==
1
)
if
constexpr
(
Dim
==
1
)
return
MakeDescriptor_M0_1d
(
shape
,
stride
,
gridSize
,
threadPerBlock
);
return
MakeDescriptor_M0_1d
(
shape
,
stride
,
gridSize
,
threadPerBlock
);
else
if
constexpr
(
Dim
==
2
)
else
if
constexpr
(
Dim
==
2
)
...
...
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