HELP! * GREY=local LOCAL HTML version of Foils prepared July 6,1995

Foil 45 TCE -- Implementation -- 23: Example of Use of Channel Set Functions

From Master Foils for Threads with TCE in detail CPS600 Spring Semester95 -- April 1995. by Janusz Niemiec and Geoffrey Fox * Important Information in IMAGE

#define len 1024
#define cicrcular 1
...
extern void comp(int *, int *, int );
TCE_ChnSet *ChnSet;
int buffer[len],inbuf[len],outbuf[len];
int src = 0,step = 1;
...
tce_chnset_sync(ChnSet);
tce_chnset_bcast(ChnSet,src,buffer,len,FMT_Int);
tce_chnset_gather(ChnSet,src,inbuf,outbuf,len,FMT_Int);
tce_chnset_concat(ChnSet,inbuf,outbuf,len,FMT_Int);
tce_chnset_scatter(ChnSet,src,inbuf,outbuf,len,FMT_Int);
tce_chnset_reduce(ChnSet,src,comp,inbuf,outbuf,len ,FMT_Int);
tce_chnset_combine(ChnSet,comp,inbuf,outbuf,len,FMT_Int);
tce_chnset_prefix(ChnSet,comp,inbuf,outbuf,len,FMT_Int);
tce_chnset_shift(ChnSet,circular,step,inbuf,outbuf,len,FMT_Int);
...



Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Tue Feb 18 1997