Commit 491c0631 authored by rocking's avatar rocking
Browse files

Check the blocksize

parent 7a7d50ec
......@@ -50,6 +50,7 @@ struct DeviceNormalizationImpl : public DeviceNormalization<XDataType,
Rank,
NumReduceDim>
{
static_assert(BlockSize == MThreadClusterSize * KThreadClusterSize);
static_assert(
((GammaSrcVectorDim == 0 && MThreadSliceSize % GammaSrcVectorSize == 0) ||
(GammaSrcVectorDim == 1 && KThreadSliceSize % GammaSrcVectorSize == 0)),
......
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