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
- nixos 26.05: mpich 5.0.1
- ubuntu stonking: mpich-doc 5.0.1-9 Β· other
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms