HPCE / hpce-2018-cw3

1 stars 5 forks source link

V4, V5 failing tests #63

Closed youssefarizk closed 7 years ago

youssefarizk commented 7 years ago

My V4 and V5 are failing the tests. I think that there is a problem with V4, since V5 is essentially based on it. I haven't changed the .cl file, and my host code looks very semantically similar to what is indicated. However, when I run bin/make_world 10 0.1 | bin/yr914/step_world_v4_double_bufferedNew and compare it with the output of bin/make_world 10 0.1 | bin/step_world, it is different as shown below.

screen shot 2017-11-01 at 9 25 14 am screen shot 2017-11-01 at 9 25 35 am

As I vary the input parameters to the step_world functions they become more and more similar, baring the slight differences that were mentioned in other issues.

youssefarizk commented 7 years ago

Fixed - Issue with which buffers I was changing

bnt0 commented 7 years ago

Hi @youssefarizk, I'm having the exact same issue. Could you tell me where exactly your mistake was?

bnt0 commented 7 years ago

nvm, I fixed it too. I was copying from buffBuffer instead of buffState

DhruvArora96 commented 7 years ago

Hi guys, also had this issue. What buffer changed fixed it for you?