Skip to content

Conversation

@LU-JOHN
Copy link
Contributor

@LU-JOHN LU-JOHN commented Sep 2, 2024

Rename sycl-post-link option "-support-dynamic-linking" to "-allow-device-image-dependencies". This is consistent with the clang option that is tied to this sycl-post-link option, and is also consistent with what is being done inside sycl-post-link.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

based on the description of the help option, the name allow-device-image-dependencies is more clear to me, allow-device-dependencies isn't too clear.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The clang level option to control this behavior is -fsycl-allow-device-dependencies. Should we be consistent with the clang option or make the option name clearer?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The clang option name is unclear to me too, but if we already went through the options working group and they approved it then it's fine to match it here.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we be consistent with the clang option or make the option name clearer?

I don't think that we have to 100% match here. device-dependencies does not look entirely clear to me. I won't strongly object, but my preference is to have clearer name, even if it is different from clang one.

I would rather talk to options wg once again to change public name as well to device-image-dependencies or device-code-dependencies

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll ask the options WG.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we try to change the option name for 2025.0, since it is a new option, or add a synonymous option name -fsycl-allow-device-image-dependencies for 2025.1 ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely too late for 2025.0, we would have to deprecate and add the new option moving forward with 2025.1

Copy link
Contributor

@asudarsa asudarsa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good except for option name. Will approve once name is updated. Thanks much

Lu, John added 3 commits September 6, 2024 12:28
…-device-dependencies

Signed-off-by: Lu, John <john.lu@intel.com>
Signed-off-by: Lu, John <john.lu@intel.com>
@LU-JOHN
Copy link
Contributor Author

LU-JOHN commented Sep 10, 2024

Looks good except for option name. Will approve once name is updated. Thanks much

Changed to -allow-device-image-dependencies in sycl-post-link. Clang option will be changed to -fsycl-allow-device-image-dependencies when options WG approves.

Copy link
Contributor

@asudarsa asudarsa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@asudarsa asudarsa merged commit 8825863 into intel:sycl Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants