public static ScopeGuard Get(InitArguments arguments) { if (!_initialized) { KokkosLibrary.Initialize(arguments); _initialized = true; } return(new ScopeGuard()); }
public static void Initialize(InitArguments arguments) { if (!IsInitialized()) { Load(); _initializeArguments(arguments); Initialized = true; } }
public static void Initialize(InitArguments arguments) { KokkosLibrary.Initialize(arguments); //AppDomain.CurrentDomain.ProcessExit += View_Dtor; }