mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-12 01:10:17 +00:00
refactor
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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
|
|||||||
bool is_ptr = false;
|
bool is_ptr = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
} // namespace online_compile
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user