Has anyone used Enzyme with LoopVectorization's @turbo macro?

I’m attempting to use it but facing difficulty

Can you provide a minimum working example of the code you’re trying to run that isn’t behaving as expected? Hard to be helpful when we don’t know what you’re trying to achieve!

It probably wont’ be fast.
Better to apply optimization vectorization after AD, not before. That unfortunately is not possible with @turbo + Enzyme.

Actually that’s the very claim Enzyme tries to disprove, right?

I should have been more specific and said “Better to vectorize after AD, not before”.

2 Likes