[TensorExpr] Check statements in test_kernel.cpp (#43911)
Summary:
Check statements and fix all the warnings.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/43911
Test Plan: test_tensorexpr
Reviewed By: ZolotukhinM
Differential Revision: D23441092
Pulled By: asuhan
fbshipit-source-id: f671eef4b4eb9b51acb15054131152ae650fedbd