spe_ls_size_get - Obtain the size of the SPE local store in number of bytes.
#include <libspe2.h>
int spe_ls_size_get (spe_context_ptr_t spe)
Parameters | |
spe | Specifies the SPE context |
The Cell Broadband Engine Architecture does not specify a fixed size for the SPE local store. Applications that are intended to be portable across different implementations of the CBEA should obtain the actual value through this call.
On success, the SPE local store size (in bytes) is returned.
On error, -1 is returned and errno is set to indicate the error.
Possible errors include:
ESRCH | The specified address of the SPE program is invalid. |