Forum Discussion
Hi @Christoph9,
Apologies for the delayed in response, trying to build the example your provided from my end with some minor hiccups in my end. Getting that solved and will get back with you on the result.
Just to confirm, there are 2 sets of example that you provided, are they the same?
And for the minimal/smaller example which error did not came out, which sets of example are they(first or second)?
Hope to hear from you soon.
Best Wishes
BB
- Christoph93 years ago
New Contributor
Hello BB,
yes the two examples are the same (although in the 2nd I put some files as attachement). I accidentally posted two because the first one didn't visible to me for 1 day or so. I could'nt remove the first one either, maybe you can?
I did not attach any example where the error did'nt occur. If I remember correctly the error did not occur when the loop in the kernel looked like this:
for (int s = 0; s < 10; s++) { float u = float(i + sycl::ext::intel::pipe<rnd_out_pipe_id, float, 8>::read()) / float(3840); float v = float(j + sycl::ext::intel::pipe<rnd_out_pipe_id, float, 8>::read()) / float(2160); }As soon as I add the cam.getRay function, the reads in the loop for u and v start to cause these warnings.
Best regards,
Christoph