lxp121

use il generated by brook+ in cal

Discussion created by lxp121 on Dec 22, 2008
Latest reply on Dec 25, 2008 by gaurav.garg

write il is a very difficult things!

so i want use Brook+ to generate il code, and use it in cal.

but, here's the thing. the Brook+ use address virtualization, so i must give a "cb0[2]". what is that? is it the execution domain of kernel? or the domain of stream?

another question : if i have to gather stream in one kernel but with different domain (and this domain also different from domain of kernel), how does it works?

for example:

kernel void test(float a[], float b[], out float c[])

a,b,c and kernel have different domain. is this legal? how can the compiler know the difference?

Outcomes