Ignore:
Timestamp:
Oct 4, 2014, 3:35:35 PM (10 years ago)
Author:
alain
Message:

Introducing fixed format (X_WIDTH / Y_WIDTH / P_WIDTH) for processor index.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_libs/stdio.h

    r390 r431  
    116116
    117117//////////////////////////////////////////////////////////////////////////
    118 // This function returns the processor identifier.
    119 //////////////////////////////////////////////////////////////////////////
    120 extern int giet_procid();
     118// This function returns the processor (x,y,lpid) identifier:
     119// (x,y) are the cluster coordinates / lpid is the local processor index.
     120//////////////////////////////////////////////////////////////////////////
     121extern void giet_proc_xyp( unsigned int* cluster_x,
     122                           unsigned int* cluster_y,
     123                           unsigned int* lpid );
    121124
    122125//////////////////////////////////////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.