Stream: helpdesk (published)

Topic: SnoopCompile and avoiding specialization


view this post on Zulip DrChainsaw (Jul 11 2023 at 13:15):

I'm trying to use SnoopCompile to do profile -guided despecialization but I don't see @nospecialize taking any effect.

For example, even if I annotate all arguments (like this: f(@nospecialize(x), @nospecialize(y)), I still see hundreds of specializations when I click the dot in the gui and I don't see any impact on the y-axis (Inclusive inference time).


Last updated: Nov 22 2024 at 04:41 UTC