PR_SVE_GET_VL
(2const)get the thread's SVE vector length
#include <linux/prctl.h> /* Definition of PR_* constants */ #include <sys/prctl.h> int prctl(PR_SVE_GET_VL);
LIBRARY
DESCRIPTION
Get the thread's current SVE vector length configuration.
This operation returns a nonnegative value that describes the current configuration. The bits corresponding to PR_SVE_VL_LEN_MASK contain the currently configured vector length in bytes. The bit corresponding to PR_SVE_VL_INHERIT indicates whether the vector length will be inherited across execve(2).
RETURN VALUE
ERRORS
- EINVAL
- SVE is not available on this platform.