Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix warning during compile with gcc (#3664)
This just silences a warning I am seeing using gcc. ``` [109/335] Building CXX object CMakeFiles/codegen_internal.dir/csrc/preseg_passes/translate_repeat_to_expand.cpp.o In file included from /opt/pytorch/nvfuser/csrc/preseg_passes/translate_repeat_to_expand.h:10, from /opt/pytorch/nvfuser/csrc/preseg_passes/translate_repeat_to_expand.cpp:8: /opt/pytorch/nvfuser/csrc/preseg_passes/translate_repeat_to_expand.cpp: In member function ‘void nvfuser::preseg_passes::{anonymous}::RepeatToExpandTranslator::translate()’: /opt/pytorch/nvfuser/csrc/preseg_passes/translate_repeat_to_expand.cpp:163:39: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::vector<nvfuser::IterDomain*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 163 | NVF_ERROR(broadcast_tv->nDims() == inp_domain.size() + 1); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ```
- Loading branch information