Menu

#551 Resolved bug: Failed to set OpenCL arguments

Untested
closed
bugfix (3)
5
2021-04-29
2020-07-27
No

Resolved bug of "Failed to set OpenCL arguments" in this patch.
While runnning openCL version of primitives, due to declaration mismatch of uchar2 and uchar3 in one variable, it bombed up this error.

1 Attachments

Discussion

  • Vasco Alexandre da Silva Costa

    Fix bug introduced with r71189 which removed output of depth buffer.
    The changes modified the C code but did not change the relevant OpenCL code called in rt.cl.
    The size of the arguments list between the C and OpenCL side does not match and this results in a crash.

     
  • Vasco Alexandre da Silva Costa

    If for whatever reason some other command other than rt requires the depth data, then please apply the patch by Rishabh Suthar instead of the patch I supplied above.

     
  • Vasco Alexandre da Silva Costa

    • status: open --> closed
     
  • Vasco Alexandre da Silva Costa

    • assigned_to: Sean Morrison --> Vasco Alexandre da Silva Costa
     
  • Vasco Alexandre da Silva Costa

    I commited the patch I submitted above.

     

Log in to post a comment.