Unverified Commit 186a4b3b authored by Shilei Tian's avatar Shilei Tian Committed by GitHub
Browse files

[LLVM][OpenMP] Allow OpenMPOpt to handle non-OpenMP target regions (#67075)

Current OpenMPOpt assumes all kernels are OpenMP kernels (aka. with
"kernel"
attribute). This doesn't hold if we mix OpenMP code and CUDA code by
lingking
them together because CUDA kernels are not annotated with the attribute.
This
patch removes the assumption and added a new counter for those
non-OpenMP
kernels.

Fix #66687.
parent 3f0bddb5
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment