spe_ls_size_get

NAME

spe_ls_size_get - Obtain the size of the SPE local store in number of bytes.

SYNOPSIS

#include <libspe2.h>

int spe_ls_size_get (spe_context_ptr_t spe)

Parameters  
spe Specifies the SPE context

DESCRIPTION

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.

RETURN VALUE

On success, the SPE local store size (in bytes) is returned.

EXIT STATUS

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.

SEE ALSO

spe_image_open(3)