pytorch
24202f7f - Remove native_functions.yaml dependency from Activation.cu (#64499)

Commit
3 years ago
Remove native_functions.yaml dependency from Activation.cu (#64499) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/64499 This moves the native functions into a separate Activation.cpp file, which calls into `launch_..._kernel` functions defined in `Activation.cu`. The exception is `rrelu_with_noise` which is compilcated by the random number generation code, so I've moved it into its own file. Test Plan: Imported from OSS Reviewed By: jbschlosser, ezyang Differential Revision: D30867323 Pulled By: dagitses fbshipit-source-id: a4cd6f1fb1b1fed4cc356bf8b3778991ae2278ba
Author
Parents
Loading