CAL/sample里的问题

0 views
Skip to first unread message

Aurex

unread,
Jun 30, 2009, 2:44:41 AM6/30/09
to AMD-SPL
注意到CAL的sample里有用到
Info->SrcComponents = 4;
Info->SrcMemory = 'g';
Info->DstComponents = 4;
Info->DstMemory = 'g';
components应该是指IL中类似于cb0[0].x000的几个分量吧,那为什么能设为1?这个怎么运作的呢?
SrcMemory = 'g';‘g’应该是指global memory对吧,那其他几种memory对应的字符是哪些呢?

the729

unread,
Jun 30, 2009, 3:14:42 AM6/30/09
to amd...@googlegroups.com
呵呵 据我观察, Src/DstComponents并没有用.

比较关键的在是SetupData函数中,每个例程都有各自不同的SetupData函数,Src/DstMemory也在里面用到,请参阅它。


2009/6/30 Aurex <aur...@gmail.com>:

--
Tianji Wu (the729)
dept. of EE, Tsinghua Uni.

Try the latest Firefox3 !
http://www.spreadfirefox.com/node&id=215918&t=209

Aurex

unread,
Jul 1, 2009, 9:33:10 AM7/1/09
to AMD-SPL
IL中有用到Components的吧,例如有cb0[0].xyz0,这个SrcComponents是指这个么?要是不是的话指什么啊
SetupData函数可以手调的

On Jun 30, 3:14 pm, the729 <the...@gmail.com> wrote:
> 呵呵 据我观察, Src/DstComponents并没有用.
>
> 比较关键的在是SetupData函数中,每个例程都有各自不同的SetupData函数,Src/DstMemory也在里面用到,请参阅它。
>

> 2009/6/30 Aurex <aure...@gmail.com>:

Reply all
Reply to author
Forward
0 new messages