Re: [brlcad-devel] Small error in shade_segs_kernel

2017-04-02 Thread Vasco Alexandre da Silva Costa
On Sun, Apr 2, 2017 at 5:07 AM, Shailesh Tripathi < shailesh.tripathi.ec...@itbhu.ac.in> wrote: > Hello, > In clt_frame() function clt_shade_segs_kernel is launced over 1-D threads. > But in the kernel definition *"get_global_id(1)" *is also used. Though > this would not give wrong output but, tec

[brlcad-devel] Small error in shade_segs_kernel

2017-04-01 Thread Shailesh Tripathi
Hello, In clt_frame() function clt_shade_segs_kernel is launced over 1-D threads. But in the kernel definition *"get_global_id(1)" *is also used. Though this would not give wrong output but, technically its wrong. Correct me if I am missing something. Regards Shailesh Shailesh Tripathi B.Tech.