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

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

            VectorUtilities <TDataType, TExecutionSpace> .Load();
        }
예제 #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);
        }
예제 #3
0
 static SpatialMethods()
 {
     executionSpace = ExecutionSpace <TExecutionSpace> .GetKind();
 }
예제 #4
0
 static InterpolationMethods()
 {
     executionSpace = ExecutionSpace <TExecutionSpace> .GetKind();
 }
예제 #5
0
 static CsvReader()
 {
     executionSpace = ExecutionSpace <TExecutionSpace> .GetKind();
 }
예제 #6
0
 static InterprocessMemory()
 {
     executionSpace     = new TExecutionSpace();
     executionSpaceType = ExecutionSpace <TExecutionSpace> .GetKind();
 }
예제 #7
0
 static NativeString()
 {
     executionSpaceType = ExecutionSpace <TExecutionSpace> .GetKind();
 }