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
70d2000e
Commit
70d2000e
authored
Oct 14, 2023
by
Jing Zhang
Browse files
fixed example
parent
8fdb7567
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
example/01_gemm/CMakeLists.txt
example/01_gemm/CMakeLists.txt
+4
-1
example/01_gemm/gemm_xdl_input_i32_comp_i8_scale_ab.cpp
example/01_gemm/gemm_xdl_input_i32_comp_i8_scale_ab.cpp
+1
-3
No files found.
example/01_gemm/CMakeLists.txt
View file @
70d2000e
...
...
@@ -82,4 +82,7 @@ if(result EQUAL 0)
endif
()
add_example_executable
(
example_gemm_xdl_input_i16_comp_i8_scale_ab gemm_xdl_input_i16_comp_i8_scale_ab.cpp
)
add_example_executable
(
example_gemm_xdl_input_i32_comp_i8_scale_ab gemm_xdl_input_i32_comp_i8_scale_ab.cpp
)
if
(
result EQUAL 0
)
add_dependencies
(
example_gemm_xdl example_gemm_xdl_input_i32_comp_i8_scale_ab
)
endif
()
example/01_gemm/gemm_xdl_input_i
16
_comp_i8_scale_ab.cpp
→
example/01_gemm/gemm_xdl_input_i
32
_comp_i8_scale_ab.cpp
View file @
70d2000e
...
...
@@ -241,9 +241,7 @@ int main(int argc, char* argv[])
if
(
!
device_op
.
IsSupportedArgument
(
argument
))
{
throw
std
::
runtime_error
(
"wrong! device_gemm with the specified compilation parameters does "
"not support this GEMM problem"
);
return
0
;
}
float
ave_time
=
invoker
.
Run
(
argument
,
StreamConfig
{
nullptr
,
time_kernel
});
...
...
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