Add comment

This commit is contained in:
rocking
2022-05-17 20:56:16 +08:00
parent 492da45969
commit ecdfe96092

View File

@@ -81,6 +81,7 @@ struct DeviceBinaryElementwise : public BaseOperator
static_assert(Dim == 1 || Dim == 2,
"wrong! DeviceBinaryElementwise not support this dimension");
// TODO - 3D, 4D, 5D
if constexpr(Dim == 1)
return MakeDescriptor_M0_1d(shape, stride, gridSize, threadPerBlock);
else if constexpr(Dim == 2)