Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TaskSchedule is created and executes on different threads #2

Open
gigiblender opened this issue May 11, 2022 · 0 comments
Open

TaskSchedule is created and executes on different threads #2

gigiblender opened this issue May 11, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@gigiblender
Copy link
Member

If you check the GUI version of the Ray Tracer and print the current thread id in the places where a TaskSchedule is created/executed, you will see that different threads create and execute the TaskSchedule.

I think this is a bug since I don't think sharing TaskSchedules between threads is safe.

I am not sure, but this could be the cause we sometimes see clBuildError with OpenCL devices.

@gigiblender gigiblender added the bug Something isn't working label May 11, 2022
stratika pushed a commit that referenced this issue Jun 19, 2024
Updates with the latest TornadoVM version and Multi-thread version provided for the benchmarks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant