3 Replies Latest reply on Jun 30, 2009 4:44 AM by gaurav.garg

    Is there a way for a kernel to write to an array?

    bdegg

      I'm using CAL on a dsp application, and I need each kernel instance to loop through a signal sample, and write the result of each iteration to a unique index in an output array.

      Since the processing relies on feedback from the previous iteration, running a separate kernel for each iteration is not practical. Basically I need to run a one dimensional stream domain to write to a two dimensional output.

      The only output method (that I could find) in the IL docs is a single value, per output, per kernel.

      I'm sure there's a way to do this that I'm just not seeing, can someone point me in the right direction??

      Thanks!