Skip to content

Commit

Permalink
Remove 0 size check assertions (ROCm#1112) (ROCm#1114)
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Millette <[email protected]>
  • Loading branch information
zaliu and cgmillette authored Aug 4, 2020
1 parent 1931986 commit af71ea8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Tensile/Source/lib/include/Tensile/TensorDescriptor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,6 @@ namespace Tensile
return;
}

for(int i = 0; i < m_sizes.size(); i++)
{
TENSILE_ASSERT_EXC(m_sizes[i] > 0);
}

m_strides.resize(m_sizes.size(), UseDefaultStride);
if(m_strides[0] == UseDefaultStride)
{
Expand Down

0 comments on commit af71ea8

Please sign in to comment.