Commit e2935465 authored by carlushuang's avatar carlushuang
Browse files

format and update n4096

parent 62557466
......@@ -476,7 +476,7 @@ float layernorm2d_fwd(layernorm2d_fwd_traits t,
h_traits('x', 'y', 1, 3, 1, 256, 4, True, False, False, 0, 0),
h_traits('x', 'y', 1, 6, 1, 256, 2, True, False, False, 0, 0),
h_traits('x', 'y', 1, 3, 1,1024, 1, True, False, False, 0, 0)],
'4096' :[ h_traits('x', 'y', 1, 2, 1, 256, 8, True, False, False, 0, 0),
'4096' :[ h_traits('x', 'y', 1, 1, 1, 512, 8, True, False, False, 0, 0),
h_traits('x', 'y', 1, 4, 1, 256, 4, True, False, False, 0, 0),
h_traits('x', 'y', 1, 2, 1,1024, 2, True, False, False, 0, 0),
h_traits('x', 'y', 1, 4, 1,1024, 1, True, False, False, 0, 0)],
......
......@@ -127,9 +127,9 @@ struct Layernorm2dFwd
CK_TILE_HOST static std::string GetName()
{
#define _SS_ std::string
#define _TS_ std::to_string
// clang-format off
#define _SS_ std::string
#define _TS_ std::to_string
using S_ = typename Problem::BlockShape;
auto surfix = [&] () {
std::string n;
......@@ -144,9 +144,9 @@ struct Layernorm2dFwd
_TS_(S_::Block_M) + "x" + _TS_(S_::Block_N) + "_" + _TS_(S_::WarpPerBlock_M) + "x" + _TS_(S_::WarpPerBlock_N) + "_" +
_TS_(S_::Warp_M) + "x" + _TS_(S_::Warp_N) + "_" + _TS_(S_::Vector_M) + "x" + _TS_(S_::Vector_N) + "_" +
_SS_(Pipeline::name) + surfix;
#undef _SS_
#undef _TS_
// clang-format on
#undef _SS_
#undef _TS_
}
CK_TILE_DEVICE void operator()(Kargs kargs) const
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment