Commit e3d57f93 authored by Paul's avatar Paul
Browse files

Format

parent 5ed0cbe4
...@@ -98,9 +98,8 @@ __device__ void ck_gemm_matrix(E e, A a, B b, Ds... ds) ...@@ -98,9 +98,8 @@ __device__ void ck_gemm_matrix(E e, A a, B b, Ds... ds)
template <class G, index_int BlocksPerBatch, class... Ts> template <class G, index_int BlocksPerBatch, class... Ts>
__device__ void ck_gemm(Ts... xs) __device__ void ck_gemm(Ts... xs)
{ {
gemm_batch_args(make_index(), _c<BlocksPerBatch>, xs...)([](auto... ys) { gemm_batch_args(make_index(), _c<BlocksPerBatch>, xs...)(
ck_gemm_matrix<G>(ys...); [](auto... ys) { ck_gemm_matrix<G>(ys...); });
});
} }
} // namespace migraphx } // namespace migraphx
......
...@@ -130,10 +130,7 @@ struct index ...@@ -130,10 +130,7 @@ struct index
} }
#endif #endif
constexpr auto ngroup() const constexpr auto ngroup() const { return nglobal() / max_nlocal(); }
{
return nglobal() / max_nlocal();
}
template <class N, class Stride> template <class N, class Stride>
static constexpr auto max_stride_iterations(N n, Stride stride) static constexpr auto max_stride_iterations(N n, Stride stride)
{ {
......
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