EnzymeAD / EnzymeAD/Enzyme

C++20 non-type template parameter wrapper not working for lambdas with captures

Open
#1,685 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
LLVM
Stars
1.7k
Forks
188
Avg merge
2d 4h
Merged PRs (30d)
22

Description

I was trying to follow the [examples](https://enzyme.mit.edu/getting_started/Examples/) and probably misunderstood the documentation. I guess the documentation is ambiguous whether "Using a similar wrapper with non-type template parameter (requires C++20)" will work for lambdas that capture.

This little examples seems to show that it won't: https://enzyme.mit.edu/explorer/

Could anyone please confirm?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.