[Openmp-commits] [PATCH] D116908: [OpenMP][1/3] Introduce the KernelEnvironment into the device runtimes
Ye Luo via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Fri Jan 21 17:12:47 PST 2022
ye-luo added a comment.
In D116908#3262918 <https://reviews.llvm.org/D116908#3262918>, @jdoerfert wrote:
> In D116908#3262836 <https://reviews.llvm.org/D116908#3262836>, @ye-luo wrote:
>
>> It sounds like such info will be passed from host to the device once per kernel and the performance impact is negligible. Right?
>
> The information is directly baked into the device image (in form of globals).
> The transfer happens as you load the image, basically a few extra bytes per kernel but we had most of the things before as separate globals already anyway.
> There is no kernel start cost to speak of, at least I don't expect any.
Thanks for the clarification.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116908/new/
https://reviews.llvm.org/D116908
More information about the Openmp-commits
mailing list