Replies: 3 comments 9 replies
-
|
Hi @0legmak, could it be due to the default constructor in The baseline solution should work cc0c08c |
Beta Was this translation helpful? Give feedback.
-
|
@0legmak, I just tried applying the solution from the |
Beta Was this translation helpful? Give feedback.
-
|
Sorry, I didn't understand your concern as I thought you were talking about correctness, not performance. I think the reason we don't see speedups on older platforms, e.g. CoffeeLake and Zen3 is that they are 4-wide machines and cannot overlap execution of multiple dependency chains. Alderlake (Golden Cove) is 6-wide microarchitecture, thus more available pipeline slots every cycle. Apple M1 is 8-wide, that's why the speedup is more pronounced on that platform. BTW, I have this comment for CoffeeLake in |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
My solution has a decent speed-up on local hardware but fails some official tests. I also tried copy-pasting the solution from the "golden" branch (I guess it contains lab solutions from the author of this course) and it also failed official tests. Does someone have a solution that passes these tests?
My solution: 969eb17
Copy-pasted golden solution: f6b4f6a
My local benchmark results
Beta Was this translation helpful? Give feedback.
All reactions