Barrelfish
|
API to use the bomp library. More...
Functions | |
int | bomp_init_cores (void *coresbm, size_t stack_size) |
initializes the BOMP library using the indicated cores of the BM More... | |
int | bomp_init_varstack (unsigned int nthreads, size_t stack_size) |
initializes the BOMP library with the given stack sizes More... | |
API to use the bomp library.
int bomp_init_cores | ( | void * | coresbm, |
size_t | stack_size | ||
) |
initializes the BOMP library using the indicated cores of the BM
coresbm | bitmap representing the cores to run on |
stack_size | size of the thread's stack in bytes |
int bomp_init_varstack | ( | unsigned int | nthreads, |
size_t | stack_size | ||
) |
initializes the BOMP library with the given stack sizes
stack_size | size of the thread's stack in bytes |
This function will use the first nthreads cores to run on
get the maximum number of cores