![]() |
GHOST
1.1.2
General, Hybrid, and Optimized Sparse Toolkit
|
Query machine information. More...
Functions | |
ghost_error | ghost_machine_innercache_size (uint64_t *size) |
Get the size of the first level cache. More... | |
ghost_error | ghost_machine_outercache_size (uint64_t *size) |
Get the size of the last level cache. More... | |
Query machine information.
ghost_error ghost_machine_innercache_size | ( | uint64_t * | size | ) |
Get the size of the first level cache.
size | Where to store the size. |
This information may be useful in situations where the locality of data (cache or memory) influences things like the OpenMP scheduling.
ghost_error ghost_machine_outercache_size | ( | uint64_t * | size | ) |
Get the size of the last level cache.
size | Where to store the size. |
This information may be useful in situations where the locality of data (cache or memory) influences things like the OpenMP scheduling.