Commit fd877fab authored by Paul's avatar Paul
Browse files

Fix tidy

parent a01835fb
...@@ -56,14 +56,14 @@ inline __device__ __attribute__((const)) index_int compute_local_size() ...@@ -56,14 +56,14 @@ inline __device__ __attribute__((const)) index_int compute_local_size()
#ifdef MIGRAPHX_NLOCAL #ifdef MIGRAPHX_NLOCAL
const auto nlocal = MIGRAPHX_NLOCAL; const auto nlocal = MIGRAPHX_NLOCAL;
#else #else
const auto nlocal = blockDim.x; const auto nlocal = blockDim.x; // NOLINT
#endif #endif
#ifdef MIGRAPHX_NGROUP #ifdef MIGRAPHX_NGROUP
const auto ngroup = MIGRAPHX_NGROUP; const auto ngroup = MIGRAPHX_NGROUP;
#else #else
const auto ngroup = gridDim.x; const auto ngroup = gridDim.x; // NOLINT
#endif #endif
const auto group_id = blockIdx.x; const auto group_id = blockIdx.x; // NOLINT
const auto nglobal = compute_global_size(); const auto nglobal = compute_global_size();
if(group_id == ngroup - 1) if(group_id == ngroup - 1)
{ {
......
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