Ejemplo n.º 1
0
        static Vector()
        {
            dataType = DataType <TDataType> .GetKind();

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

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