-
Notifications
You must be signed in to change notification settings - Fork 7
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
+50% slow down #33
Comments
I had also an important slowdown related to copy inside lambda. |
No. but I think I have found why... |
On my experimentation machine (8 virtual cores) I go from 8'50" total execution time (~2' wallclock time) to 14'30" between commits df12334 and fca7dcf . Interestingly, I tried to remove as many pointer as possible in lforg37:avoid_pointers and the total execution time increases even more (16'31"). |
It seems that having one render_function using internal lambdas leads to better performance. |
It seems there is an overhead when using sycl::access instead of raw pointers : with 7640afd I'm reaching 9'10" total execution time. I'm not convince the resulting code is way cleaner than using object functions... |
So do you mean that just using a triSYCL accessor in a kernel is the slow-down? |
On my laptop it runs in 1 min normally, 1min30 with the performance bug. Curious these 10 min. |
Maybe a quiproquo on the reported time : I'm reporting the total execution time. In wallclock time I'm also having something which is around two minutes on a 8 core machine (Xeon CPU E3-1230 v6 @ 3.50GHz).
It's only part of the slow down. The important part of the slow down was having lambdas captured inside lambdas : However, replacing trisycl accessor with raw pointer leads also to an improvement (7640afd). I don't see a conceptual difference between the |
Have you tried with triSYCL Clang++ and G++? |
I have a slowdown on the recent version of the
path_tracer
on my CPU laptop.If you notice the same, can you bisect the change?
Perhaps some objects we copy instead of using by ref (in lambda?).
Check also with the various sanitizers that there are no weird bugs.
The text was updated successfully, but these errors were encountered: