-
Notifications
You must be signed in to change notification settings - Fork 192
[IFC] Remove noinline attributes and default to indirect function calls #2049
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
|
@doru1004, is this ready for review or WIP? |
a130722 to
4f2ac8f
Compare
Yes it is now. |
4f2ac8f to
32d9dd9
Compare
| option(ENABLE_MSCCLPP_FORMAT_CHECKS "Enable formatting checks in MSCCL++" OFF) | ||
| option(ENABLE_NPKIT "Enable NPKit" OFF) | ||
| option(ENABLE_IFC "Enable indirect function call" OFF) | ||
| option(ENABLE_IFC "Enable indirect function call" ON) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just a no-op now, right? Maybe we can delete it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well not quite, the code to perform direct function calls is still there I haven't removed that yet. Once we clean up any trace of direct calls we can remove this flag completely.
32d9dd9 to
b215015
Compare
|
Should this guard be modified? |
|
16e4b3b to
ceed330
Compare
ceed330 to
c529e3d
Compare
cc5a66e to
cffbbd0
Compare
cffbbd0 to
919883c
Compare
Since it doesn't seem to have any effect on gfx950 ( I tried it ) I would say that any change we need to do to that code it can be independent of the changes in this PR. |
Remove noinline attributes and default to indirect function calls.