MPIX_Query_ze_support(3)

πŸ’– MPIX_Query_ze_support(3) πŸ’–

okay bestie, welcome to page 3 of the MPI manual β€” this one is short but it's lowkey iconic 🫢


✨ NAME ✨

MPIX_Query_ze_support β€” returns whether ZE (Intel GPU) is supported 🌈


✨ SYNOPSIS ✨

int MPIX_Query_ze_support(void)

that's it. that's the whole vibe. no args, just answers, main character energy fr πŸ’…


✨ THREAD AND INTERRUPT SAFETY ✨

thread-safe! like, fully. this routine can be used by multiple threads at the same time and you do not need to bring your own thread locks, no cap β€” she handles it herself πŸ’–

BUT. πŸ’€ she is not interrupt safe. and the reason is giving very "it's not her fault": it's typically because of memory allocation routines like malloc, or other non-MPICH runtime routines that aren't interrupt-safe themselves. so like, she's chill, but the friends she's calling are not. noted. periodt.

✨ NOTES FOR FORTRAN ✨

okay so for the Fortran girlies πŸŽ€ every single MPI routine in Fortran has one extra argument tacked on at the end of the argument list: ierr. yes, every one β€” with exactly two exceptions: MPI_WTIME and MPI_WTICK. those two said "not today" and stayed as-is. 🌸

ierr is an integer and it means the exact same thing as the return value of the routine in C. and heads up β€” in Fortran, MPI routines are subroutines, so you invoke them with the call statement. very demure, very old-school, we respect it ✨

also, all MPI objects (like MPI_Datatype, MPI_Comm) are of type INTEGER in Fortran. yes, all of them. INTEGER. that's the rule, iykyk πŸ‘‘


πŸ¦‹ anyway bestie, that's the page. go forth and query that ZE support with zero fear, you absolute legend. πŸ¦‹

catch u later β€” this was MPIX_Query_ze_support(3) from the MPI manual, dated 4/10/2026. mwah πŸ’œβœ¨

πŸ“¦ where this page comes from