Commit 8a945b8a authored by Jaikrishnan Menon's avatar Jaikrishnan Menon

CPU: Add a comment

parent def88c7f
......@@ -183,6 +183,11 @@ void ExternalFunction::compile()
Emitter emitter;
codegen::CodeWriter& TU = emitter.get_code_writer();
// The "dso_handle" symbol below is required by __cxa_atexit()
// which is enabled because the JIT uses it as the default mechanism
// to register cleanup handlers. We use it, and not atexit(), because
// atexit() happens too late, when the JIT is no longer alive
TU +=
R"(// Generated by the NGraph CPU backend
#include <cmath>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment