Uses of Class
org.ojalgo.machine.Hardware.Architecture
-
Packages that use Hardware.Architecture Package Description org.ojalgo.machine -
-
Uses of Hardware.Architecture in org.ojalgo.machine
Fields in org.ojalgo.machine declared as Hardware.Architecture Modifier and Type Field Description Hardware.ArchitectureCommonMachine. architectureMethods in org.ojalgo.machine that return Hardware.Architecture Modifier and Type Method Description static Hardware.ArchitectureHardware.Architecture. from(java.lang.String arch)static Hardware.ArchitectureHardware. getArchitecture()Returns the normalized processor architecture of the current system.static Hardware.ArchitectureHardware.Architecture. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Hardware.Architecture[]Hardware.Architecture. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.ojalgo.machine with parameters of type Hardware.Architecture Modifier and Type Method Description private static BasicMachineHardware. estimateL1(Hardware.Architecture architecture, long memory, int threads)L1 cache is usually fixed per architecture.private static BasicMachineHardware. estimateLevel(Hardware.Architecture architecture, long memory, int threads, BasicMachine l1, int nbLevels, int level)private static intHardware. estimateNumberOfLevels(Hardware.Architecture architecture, long memory, int threads, BasicMachine l1)Usually 3, but could be 2.static HardwareHardware. make(Hardware.Architecture architecture, long memory, int threads)Creates a Hardware instance from available system properties and logical deduction.static HardwareHardware. makeSimple(Hardware.Architecture systemArchitecture, long systemMemory, int systemThreads)Deprecated.v56 UseinsteadConstructors in org.ojalgo.machine with parameters of type Hardware.Architecture Constructor Description CommonMachine(long memoryBytes, int nbThreads, Hardware.Architecture arch, long cacheBytes, int nbCores, int nbUnits)CommonMachine(Hardware.Architecture arch, BasicMachine[] levels)new MemoryThreads[] { SYSTEM, L3, L2, L1 }ornew MemoryThreads[] { SYSTEM, L2, L1 }or in worst casenew MemoryThreads[] { SYSTEM, L1 }Hardware(Hardware.Architecture arch, BasicMachine[] levels)new BasicMachine[] { SYSTEM, L3, L2, L1 },new MemoryThreads[] { SYSTEM, L2, L1 }ornew MemoryThreads[] { SYSTEM, L1 }
-