3 Replies Latest reply on Jun 23, 2010 5:21 PM by geekmaster

    Brook compiler error

    geekmaster

      When i typed this kernel and compiled the program the brook copmiler crushed.

      This line caused the crush

       

       

      for

       

       

       

      (iteration = zero;; iteration += one)





      kernel void mykernel(...................) { float4 iteration; const float4 zero = float4(0.0f, 0.0f, 0.0f, 0.0f); const float4 one = float4(1.0f, 1.0f, 1.0f, 1.0f); for(iteration = zero;; iteration += one) { ............... }