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
49c33aae
Commit
49c33aae
authored
Aug 06, 2021
by
Chao Liu
Browse files
refactor
parent
54b3e73d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletion
+13
-1
host/driver_online/include/online_device_dynamic_convolution_forward_implicit_gemm_v6r1_dlops_nchw_kcyx_nkhw.hpp
...ution_forward_implicit_gemm_v6r1_dlops_nchw_kcyx_nkhw.hpp
+1
-1
host/driver_online/include/online_driver_common.hpp
host/driver_online/include/online_driver_common.hpp
+7
-0
host/online_compile/include/op_kernel_args.hpp
host/online_compile/include/op_kernel_args.hpp
+5
-0
No files found.
host/driver_online/include/online_device_dynamic_convolution_forward_implicit_gemm_v6r1_dlops_nchw_kcyx_nkhw.hpp
View file @
49c33aae
...
@@ -100,7 +100,7 @@ void online_device_dynamic_convolution_forward_implicit_gemm_v6r1_dlops_nchw_kcy
...
@@ -100,7 +100,7 @@ void online_device_dynamic_convolution_forward_implicit_gemm_v6r1_dlops_nchw_kcy
"dynamic_convolution_forward_implicit_gemm_v6r1_dlops_nchw_kcyx_nkhw.cpp"
;
"dynamic_convolution_forward_implicit_gemm_v6r1_dlops_nchw_kcyx_nkhw.cpp"
;
std
::
string
algo_name
=
"implicit_gemm_conv_fwd_v6r1_dlops_nchw"
;
std
::
string
algo_name
=
"implicit_gemm_conv_fwd_v6r1_dlops_nchw"
;
std
::
string
compile_param_string
=
" -std=c++17 "
+
compile_param
.
GetCompileParameterString
();
std
::
string
compile_param_string
=
get_ck_hip_online_compile_common_flag
()
+
compile_param
.
GetCompileParameterString
();
std
::
string
network_config
=
compile_param_string
;
std
::
string
network_config
=
compile_param_string
;
std
::
vector
<
float
>
kernel1_times
;
std
::
vector
<
float
>
kernel1_times
;
...
...
host/driver_online/include/online_driver_common.hpp
View file @
49c33aae
...
@@ -3,6 +3,13 @@
...
@@ -3,6 +3,13 @@
namespace
ck_driver
{
namespace
ck_driver
{
inline
auto
get_ck_hip_online_compile_common_flag
()
{
std
::
string
param
=
" -std=c++17"
;
return
param
;
}
// greatest common divisor, aka highest common factor
// greatest common divisor, aka highest common factor
inline
int
gcd
(
int
x
,
int
y
)
inline
int
gcd
(
int
x
,
int
y
)
{
{
...
...
host/online_compile/include/op_kernel_args.hpp
View file @
49c33aae
...
@@ -6,6 +6,9 @@
...
@@ -6,6 +6,9 @@
#include <half.hpp>
#include <half.hpp>
#include <boost/container/small_vector.hpp>
#include <boost/container/small_vector.hpp>
namespace
online_compile
{
struct
OpKernelArg
struct
OpKernelArg
{
{
...
@@ -32,4 +35,6 @@ struct OpKernelArg
...
@@ -32,4 +35,6 @@ struct OpKernelArg
bool
is_ptr
=
false
;
bool
is_ptr
=
false
;
};
};
}
// namespace online_compile
#endif
#endif
gaoqiong
@gaoqiong
mentioned in commit
6fe3627a
·
Dec 05, 2023
mentioned in commit
6fe3627a
mentioned in commit 6fe3627a9eb35f1237266f1b6cc8fd3456aed67d
Toggle commit list
gaoqiong
@gaoqiong
mentioned in commit
dfb80c4e
·
Dec 05, 2023
mentioned in commit
dfb80c4e
mentioned in commit dfb80c4e39ec7b304c3ebc88bab2a204bc4906b9
Toggle commit list
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