[PATCH] D158150: [WIP] Add dynamic LDS size implicit argument to v5

Brian Sumner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 17 06:56:49 PDT 2023


b-sumner added a comment.

In D158150#4595052 <https://reviews.llvm.org/D158150#4595052>, @skc7 wrote:

> In D158150#4594958 <https://reviews.llvm.org/D158150#4594958>, @arsenm wrote:
>
>> Why do we need this? I thought this was already available in the dispatch packet, you just need to subtract the statically known size
>
> For ASAN LDS support, we want runtime to place to dynamic LDS size as hidden kernel argument. This is the approach we assume might work. (considering if recycling of dispatch pointer would be done in future runtime version)
> cc: @b-sumner

With code object v5 we eliminated the need for the dispatch packet pointer and don't want to bring it back.


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

https://reviews.llvm.org/D158150



More information about the llvm-commits mailing list