1 of 1 people found this helpful
I didn't observe the error as you mentioned. There were some other coding errors which caused the program to crash and forced the driver to restart. As I found, here the main issues:
- In mark_hull_lines kernel, variable "j" is not updated in loop "while(j<points)" so, it is a infinite loop (hence kernel)
- clReleaseMemObject is called multiple times for same object.
After modifying the code accordingly, the program ran successfully for GPU device as well as CPU.
Please try the attached code and share your findings.
Setup: R9 290X with the latest Crimson 16.11.5 on Windows 7 64bit.
Tried your solution dipak and it worked. Thank you very much!