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

            return(new ScopeGuard());
        }
Example #2
0
        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;
        }