StarPU Handbook
SCC Extensions

Macros

#define STARPU_USE_SCC
 
#define STARPU_MAXSCCDEVS
 

Typedefs

typedef void * starpu_scc_func_symbol_t
 

Functions

int starpu_scc_register_kernel (starpu_scc_func_symbol_t *symbol, const char *func_name)
 
starpu_scc_kernel_t starpu_scc_get_kernel (starpu_scc_func_symbol_t symbol)
 

Detailed Description

Macro Definition Documentation

◆ STARPU_USE_SCC

#define STARPU_USE_SCC

This macro is defined when StarPU has been installed with SCC support. It should be used in your code to detect the availability of SCC.

◆ STARPU_MAXSCCDEVS

#define STARPU_MAXSCCDEVS

This macro defines the maximum number of SCC devices that are supported by StarPU.

Typedef Documentation

◆ starpu_scc_func_symbol_t

Type for SCC function symbols

Function Documentation

◆ starpu_scc_register_kernel()

int starpu_scc_register_kernel ( starpu_scc_func_symbol_t symbol,
const char *  func_name 
)

Initiate a lookup on each SCC device to find the adress of the function named func_name, store them in the global array kernels and return the index in the array through symbol.

◆ starpu_scc_get_kernel()

starpu_scc_kernel_t starpu_scc_get_kernel ( starpu_scc_func_symbol_t  symbol)

If success, return the pointer to the function defined by symbol on the device linked to the called device. This can for instance be used in a starpu_scc_func_t implementation.