Octopus
hardware.F90 File Reference

Go to the source code of this file.

Modules

module  hardware_oct_m
 

Data Types

interface  hardware_oct_m::cache_t
 Cache. More...
 
type  hardware_oct_m::hardware_t
 Block-size optimisation for L1 cache size. More...
 
interface  hardware_oct_m::oct_cache_info
 

Functions/Subroutines

type(cache_t) function hardware_oct_m::cache_t_init (data_size, line_size)
 Initialise cache object. More...
 
type(cache_t) function, public hardware_oct_m::cache_detect (level, default)
 Data cache of the given level of this CPU, or the default where it cannot be detected. More...
 
subroutine hardware_oct_m::hardware_init (this, l1_cache, l2_cache)
 Initialise hardware object. More...
 

Variables

integer, parameter, public hardware_oct_m::sizeof_real64 = 8
 Number of bytes to store a variable of type real(real64) More...
 
integer, parameter, public hardware_oct_m::sizeof_complex64 = 16
 Number of bytes to store a variable of type complex(real64) More...
 
integer, parameter, public hardware_oct_m::sizeof_real32 = 4
 Number of bytes to store a variable of type real(real32) More...
 
integer, parameter, public hardware_oct_m::sizeof_complex32 = 8
 Number of bytes to store a variable of type complex(real32) More...
 
type(hardware_t), public hardware_oct_m::cpu_hardware
 Global instance of CPU hardware specification. More...
 
type(cache_t), public hardware_oct_m::default_l1
 Defaults for (l1, l2) cache, used where the cache cannot be detected. More...
 
type(cache_t), public hardware_oct_m::default_l2