Commit a01835fb authored by Paul's avatar Paul
Browse files

Format

parent 6d4311cd
...@@ -89,7 +89,8 @@ struct index ...@@ -89,7 +89,8 @@ struct index
index_int group = 0; index_int group = 0;
#ifdef MIGRAPHX_NGLOBAL #ifdef MIGRAPHX_NGLOBAL
constexpr index_constant<MIGRAPHX_NGLOBAL> nglobal() const { constexpr index_constant<MIGRAPHX_NGLOBAL> nglobal() const
{
static_assert(MIGRAPHX_NGLOBAL > 0, "Global size must be greater than 0"); static_assert(MIGRAPHX_NGLOBAL > 0, "Global size must be greater than 0");
return {}; return {};
} }
...@@ -102,9 +103,10 @@ struct index ...@@ -102,9 +103,10 @@ struct index
#endif #endif
#ifdef MIGRAPHX_HAS_CONST_LOCAL #ifdef MIGRAPHX_HAS_CONST_LOCAL
constexpr index_constant<MIGRAPHX_NLOCAL> nlocal() const { constexpr index_constant<MIGRAPHX_NLOCAL> nlocal() const
{
static_assert(MIGRAPHX_NLOCAL > 0, "Local size must be greater than 0"); static_assert(MIGRAPHX_NLOCAL > 0, "Local size must be greater than 0");
return {}; return {};
} }
#else #else
__device__ index_int nlocal() const __device__ index_int nlocal() 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