Well I'm at a stage where poclbm mines but all shares are rejected so i must be doing something wrong.
I want to be sure I'm sending the correct data to your opencl kernel but unsure which parts of the state, state2 and f arrays poclbm generates i should be sending as what variable. In particular I'm referring as to what i should supply for "data16", "data17" & "data18".
Are you calculating mid state in python anywhere?