PetscSSEIsEnabled

Determines if Intel Streaming SIMD Extensions to the x86 instruction set can be used. Some operating systems do not allow the use of these instructions despite hardware availability.

Synopsis

#include "petscsys.h" 
int PetscSSEIsEnabled(MPI_Comm comm,PetscTruth *lflag,PetscTruth *gflag)
Collective on MPI_Comm

Input Parameter

comm -the MPI Communicator

Output Parameters

lflag -Local Flag: PETSC_TRUE if enabled in this process
gflag -Global Flag: PETSC_TRUE if enabled for all processes in comm

Level:developer
Location:
src/sys/src/utils/sseenabled.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages