geekmaster

Brook compiler error

Discussion created by geekmaster on Jun 22, 2010
Latest reply on Jun 23, 2010 by 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) { ............... }

Outcomes