Octopus
|
Data Types | |
interface | cache_t |
Cache. More... | |
type | hardware_t |
Block-size optimisation for L1 cache size. More... | |
Functions/Subroutines | |
type(cache_t) function | cache_t_init (data_size, line_size) |
Initialise cache object. More... | |
subroutine | hardware_init (this, l1_cache, l2_cache) |
Initialise hardware object. More... | |
Variables | |
integer, parameter, public | sizeof_real64 = 8 |
Number of bytes to store a variable of type real(real64) More... | |
integer, parameter, public | sizeof_complex64 = 16 |
Number of bytes to store a variable of type complex(real64) More... | |
type(hardware_t), public | cpu_hardware |
Global instance of CPU hardware specification. More... | |
type(cache_t), public | default_l1 |
Defaults covers common chip specification for (l1, l2) cache. More... | |
type(cache_t), public | default_l2 |
|
private |
Initialise cache object.
[in] | data_size | Cache data size in B |
[in] | line_size | Line size in B |
Definition at line 70 of file hardware.F90.
|
private |
Initialise hardware object.
The block size is defined such that:
[in] | l1_cache | l1 cache |
[in] | l2_cache | l2 cache |
Definition at line 89 of file hardware.F90.
integer, parameter, public hardware_oct_m::sizeof_real64 = 8 |
Number of bytes to store a variable of type real(real64)
Definition at line 55 of file hardware.F90.
integer, parameter, public hardware_oct_m::sizeof_complex64 = 16 |
Number of bytes to store a variable of type complex(real64)
Definition at line 58 of file hardware.F90.
type(hardware_t), public hardware_oct_m::cpu_hardware |
Global instance of CPU hardware specification.
Definition at line 61 of file hardware.F90.
type(cache_t), public hardware_oct_m::default_l1 |
Defaults covers common chip specification for (l1, l2) cache.
Definition at line 64 of file hardware.F90.
type(cache_t), public hardware_oct_m::default_l2 |
Definition at line 65 of file hardware.F90.