[Openmp-commits] [PATCH] D146642: [OpenMP] Implement task record and replay mechanism
Shilei Tian via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Tue Mar 28 17:07:34 PDT 2023
tianshilei1992 added a comment.
In D146642#4229069 <https://reviews.llvm.org/D146642#4229069>, @josemonsalve2 wrote:
> In D146642#4229067 <https://reviews.llvm.org/D146642#4229067>, @tianshilei1992 wrote:
>
>> In D146642#4229048 <https://reviews.llvm.org/D146642#4229048>, @josemonsalve2 wrote:
>>
>>> In D146642#4228996 <https://reviews.llvm.org/D146642#4228996>, @tianshilei1992 wrote:
>>>
>>>> I think it's better to guard the entire related code with macro.
>>>
>>> What do you mean by this Shilei? To disable this feature?
>>
>> Like a opt-in feature.
>
> Why do you think so? What's the harm of leaving it enable as this is just an API function? Are you saying this to save space in the structs?
It's not just an API function. It contains many runtime checks which can potentially compromise the performance for users that don't need the feature. I'd prefer to take it similar to OMPT.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146642/new/
https://reviews.llvm.org/D146642
More information about the Openmp-commits
mailing list