some performance tuning questions

Discussion created by bayoumi on May 13, 2008
Latest reply on May 21, 2008 by michael.chu
I have some questions regarding i/o optimization:
1- When we do streamRead, is the stream saved on the system remote memory or on the GPU card local memory?
2- Do the streams get flushed from the GPU after each kernel is finished?
3- Which is the real time consumer: the streamRead or the calling the kernel, when it comes to passing streams?
4- What is the best way to use temp variables for intermediate storage? The only solution I found is to pass dummy streams without streamRead/streamWrite. Brook does not allow currently having temp local storage (either in array or stream format). My target is to minimize unnecessary I/O operations for these temp. variables