static Vector() { dataType = DataType <TDataType> .GetKind(); executionSpace = new TExecutionSpace(); executionSpaceType = ExecutionSpace <TExecutionSpace> .GetKind(); VectorUtilities <TDataType, TExecutionSpace> .Load(); }
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); }
static SpatialMethods() { executionSpace = ExecutionSpace <TExecutionSpace> .GetKind(); }
static InterpolationMethods() { executionSpace = ExecutionSpace <TExecutionSpace> .GetKind(); }
static CsvReader() { executionSpace = ExecutionSpace <TExecutionSpace> .GetKind(); }
static InterprocessMemory() { executionSpace = new TExecutionSpace(); executionSpaceType = ExecutionSpace <TExecutionSpace> .GetKind(); }
static NativeString() { executionSpaceType = ExecutionSpace <TExecutionSpace> .GetKind(); }