"driver/driver.cpp" did not exist on "8bd6ea1a9756c9e6f84df7c794ea3d23389aacd5"
Commit ca0f9579 authored by Jing Zhang's avatar Jing Zhang
Browse files

minor fix

parent 9a30e154
...@@ -55,7 +55,7 @@ struct Add ...@@ -55,7 +55,7 @@ struct Add
a = a0 + a1; a = a0 + a1;
} }
static constexpr ck::index_t vec_len = 2; static constexpr ck::index_t vec_len = 4;
}; };
struct AlphaBetaAdd struct AlphaBetaAdd
......
...@@ -166,8 +166,9 @@ struct ThreadwiseTensorSliceTransfer_v7r2 ...@@ -166,8 +166,9 @@ struct ThreadwiseTensorSliceTransfer_v7r2
static_assert(is_same<remove_cvref_t<decltype(elem_op_vec_len)>, index_t>::value, static_assert(is_same<remove_cvref_t<decltype(elem_op_vec_len)>, index_t>::value,
"vec_len in element_op_ type is not index_t"); "vec_len in element_op_ type is not index_t");
static_assert(elem_op_vec_len == 2 || elem_op_vec_len == 4 || elem_op_vec_len == 8, static_assert(elem_op_vec_len == 1 || elem_op_vec_len == 2 ||
"vec_len in element_op_ must be 2, 4, 8"); elem_op_vec_len == 4 || elem_op_vec_len == 8,
"vec_len in element_op_ must be 1, 2, 4, 8");
static_assert(SrcScalarPerVector % elem_op_vec_len == 0, static_assert(SrcScalarPerVector % elem_op_vec_len == 0,
"vec_len in element_op_ cannot be divided by SrcScalarPerVector!"); "vec_len in element_op_ cannot be divided by SrcScalarPerVector!");
......
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