omni/graph/exec/unstable/Module.h

File members: omni/graph/exec/unstable/Module.h

// Copyright (c) 2022-2023, NVIDIA CORPORATION. All rights reserved.
//
// NVIDIA CORPORATION and its licensors retain all intellectual property
// and proprietary rights in and to this software, related documentation
// and any modifications thereto. Any use, reproduction, disclosure or
// distribution of this software and related documentation without an express
// license agreement from NVIDIA CORPORATION is strictly prohibited.
//

#pragma once

#include <omni/graph/exec/unstable/PassRegistry.h>

#define OMNI_GRAPH_EXEC_ON_MODULE_STARTED(moduleName_) omni::graph::exec::unstable::registerModulePasses()

#define OMNI_GRAPH_EXEC_ON_MODULE_UNLOAD() omni::graph::exec::unstable::deregisterModulePasses()