[PATCH] D146648: [MLIR][OpenMP] Added MLIR translation support for use_device clauses

Akash Banerjee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 27 03:22:04 PDT 2023


TIFitis added a comment.

In D146648#4531472 <https://reviews.llvm.org/D146648#4531472>, @kiranchandramohan wrote:

>> BTW I am not sure how to resolve the windows build error that I am getting repeatedly. It's giving an unknown identifier error for the fail functor being called at OpenMPToLLVMIRTranslation.cpp:1429. Any insight would be much appreciated.
>
> Might be a bug in the compiler in windows. You are trying to call a lambda function inside a lambda function here. Try moving the second lambda into a static function or try capturing the second lambda explicitly in the first lambda.

Thanks for the suggestion, explicitly capturing the lambda worked. The builds are all clean now.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146648/new/

https://reviews.llvm.org/D146648



More information about the llvm-commits mailing list