The thunk spec requires that CUMaskCount be divisible by 32. Check this and return INVALID_PARAMETER if it is not. Change-Id: I4e0c8502d996d3da31224b817a5d4ff2c6054e13 [ROCm/ROCR-Runtime commit: 70b1b5b17e]
70b1b5b17e