[ HPF Home | Versions | Compilers | Projects | Publications | Applications | Benchmarks | Events | Contact ] |
MY_PE() may be used to return the local processor number. The physical processors are identified by an integer in the range of 0 to n-1 where n is the value returned by the global HPF_LIBRARY function NUMBER_OF_PROCESSORS. Processor identifiers are returned by ABSTRACT_TO_PHYSICAL, which establishes the one-to-one correspondence between the abstract processors of an HPF processors arrangement and the physical processors. Also, the local library function MY_PROCESSOR returns the identifier of the task executing the call.
©2000-2006 Rice University | [ Contact Us | HiPerSoft | Computer Science ] |