GHOST  1.1.2
General, Hybrid, and Optimized Sparse Toolkit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
Machine query

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...
 

Detailed Description

Query machine information.

Function Documentation

ghost_error ghost_machine_innercache_size ( uint64_t *  size)

Get the size of the first level cache.

Parameters
sizeWhere to store the size.
Returns
GHOST_SUCCESS on success or an error indicator.

This information may be useful in situations where the locality of data (cache or memory) influences things like the OpenMP scheduling.

Here is the call graph for this function:

ghost_error ghost_machine_outercache_size ( uint64_t *  size)

Get the size of the last level cache.

Parameters
sizeWhere to store the size.
Returns
GHOST_SUCCESS on success or an error indicator.

This information may be useful in situations where the locality of data (cache or memory) influences things like the OpenMP scheduling.

Here is the call graph for this function: