Brook+ and OpenCL

Discussion created by erman_amd on Mar 4, 2011
Latest reply on Mar 4, 2011 by nou
How to represent 2D array (matrix) to 1D stream?


This is my first post here. I just started to use OpenCL on AMD platform and want to compare it with Brook+. Also just bought a 5870 GPU to start programming.

I tried to a look at the opencl examples provided by the SDK to find out some differences between OCL and Brook+.

I have a very very basic question.

-In Brook+, there is a domain of execution? is it the same concept with NDRange in OCL)

-Brook+ uses the term "stream". Most of cases it represents the input and output using "1D stream".  If I want to port an OCL apps to Brook+, how to represent 2D array (matrix) to 1D stream?