Example #1
0
        static Vector()
        {
            dataType = DataType <TDataType> .GetKind();

            executionSpace     = new TExecutionSpace();
            executionSpaceType = ExecutionSpace <TExecutionSpace> .GetKind();

            VectorUtilities <TDataType, TExecutionSpace> .Load();
        }
Example #2
0
        static NativeArray()
        {
            //if(!KokkosLibrary.IsInitialized())
            //{
            //    KokkosLibraryException.Throw("Kokkos Library is not initialized. Use ParallelProcessor.Initialize/Shutdown in the main routine/thread.");
            //}

            executionSpace = ExecutionSpace <TExecutionSpace> .GetKind();

            elementSize = sizeof(T);
        }
Example #3
0
 static SpatialMethods()
 {
     executionSpace = ExecutionSpace <TExecutionSpace> .GetKind();
 }
 static InterpolationMethods()
 {
     executionSpace = ExecutionSpace <TExecutionSpace> .GetKind();
 }
Example #5
0
 static CsvReader()
 {
     executionSpace = ExecutionSpace <TExecutionSpace> .GetKind();
 }
 static InterprocessMemory()
 {
     executionSpace     = new TExecutionSpace();
     executionSpaceType = ExecutionSpace <TExecutionSpace> .GetKind();
 }
Example #7
0
 static NativeString()
 {
     executionSpaceType = ExecutionSpace <TExecutionSpace> .GetKind();
 }