pytorch
6cd9c447 - Make test_api compile on DEBUG mode with some compiler versions (#86092)

Commit
2 years ago
Make test_api compile on DEBUG mode with some compiler versions (#86092) The symbol seems to conflict under some compiler versions, giving an error like "relocation refers to global symbol which is defined in a discarded section". Simple enough to put it in an anonymous namespace, so why not. Signed-off-by: Edward Z. Yang <ezyang@fb.com> Pull Request resolved: https://github.com/pytorch/pytorch/pull/86092 Approved by: https://github.com/Chillee
Author
Committer
Parents
Loading