Exemplo n.º 1
0
        public static ScopeGuard Get(InitArguments arguments)
        {
            if (!_initialized)
            {
                KokkosLibrary.Initialize(arguments);
                _initialized = true;
            }

            return(new ScopeGuard());
        }
Exemplo n.º 2
0
        public static void Initialize(InitArguments arguments)
        {
            if (!IsInitialized())
            {
                Load();

                _initializeArguments(arguments);

                Initialized = true;
            }
        }
Exemplo n.º 3
0
        public static void Initialize(InitArguments arguments)
        {
            KokkosLibrary.Initialize(arguments);

            //AppDomain.CurrentDomain.ProcessExit += View_Dtor;
        }