[PATCH] D120952: [clang][AST matchers] adding submatchers under cudaKernelCallExpr to match kernel launch config

Alister Johnson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 15 16:25:53 PDT 2022


ajohnson-uoregon added a comment.

For the specific argument matchers (`cudaBlockDim()`, `cudaStream()`, etc), I agree, I'm not sure if there's any other use cases in tree. I wasn't aware you could write local definitions like that, I could definitely do that within my project for those.

I would still like to upstream `hasKernelConfig()` though, so it's at least possible to match the kernel config without defining a local matcher.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120952



More information about the cfe-commits mailing list