pytorch
60aea2e4 - [jiterator] Make USE_JITERATOR error if jit_macros.h isn't included (#71959)

Commit
2 years ago
[jiterator] Make USE_JITERATOR error if jit_macros.h isn't included (#71959) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/71959 This matches how `ATen/Config.h` defines other configuration macros. The justification is that `#ifdef` silently does the wrong thing if you don't include the correct header files. Test Plan: Imported from OSS Reviewed By: ejguan Differential Revision: D34087855 Pulled By: ngimel fbshipit-source-id: 8685df9274514d5d382ebb168048ea52214774c8 (cherry picked from commit e42c449d0a592ef9aeb67df05004d8db0b0dcdaa)
Author
Committer
Parents
Loading