Caffe2: crash op (#18207)
authorAlexander Sidorov <salex@fb.com>
Fri, 22 Mar 2019 18:49:04 +0000 (11:49 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 22 Mar 2019 18:52:01 +0000 (11:52 -0700)
commitd4c52158c7e6e2c8397196f0ec31f9a47f7b5ca1
tree622299b90b213742cc8a979946e937803ae68160
parent172ec4ace520a72729191b95b9f21c651aa5e245
Caffe2: crash op (#18207)

Summary:
this is handy when testing various core dump related
things. If in the future we want to unit test our future gdb debugger
extensions, we can use this op to generate a core dump for us within a
unit test.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18207

Differential Revision: D14482186

Pulled By: salexspb

fbshipit-source-id: 39a9fffbdd4bd083597f544d1c783a82cf023a89
caffe2/operators/crash_op.cc [new file with mode: 0644]