Skip to content

[SYCL][FPGA] Enable USM address spaces by default for the hardware #2379

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

Merged
merged 5 commits into from
Aug 31, 2020

Conversation

MrSidims
Copy link
Contributor

The extension is enabled for FPGA H/W, but not for FPGA emulator.
With this patch the temporary option "fsycl-enable-usm-address-spaces"
is removed.

Signed-off-by: Dmitry Sidorov [email protected]

The extension is enabled for FPGA H/W, but not for FPGA emulator.
With this patch the temporary option "fsycl-enable-usm-address-spaces"
is removed.

Signed-off-by: Dmitry Sidorov <[email protected]>
Signed-off-by: Dmitry Sidorov <[email protected]>
@mohammadfawaz
Copy link
Contributor

Thanks Dmitry!

@mohammadfawaz mohammadfawaz self-requested a review August 27, 2020 13:20
mohammadfawaz
mohammadfawaz previously approved these changes Aug 27, 2020
Signed-off-by: Dmitry Sidorov <[email protected]>
Signed-off-by: Dmitry Sidorov <[email protected]>
if (A->getOption().matches(options::OPT_Xs_separate) ||
A->getOption().matches(options::OPT_Xs)) {
StringRef ArgString(A->getValue());
if (ArgString == "hardware" || ArgString == "simulator")
Copy link
Contributor

Choose a reason for hiding this comment

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

Are there any -Xs<arg> values that could disable -spirv-ext=+all?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, if a user has already passes hardware or simulator, than we enable +all (unless the user has also passed emulator option, like -Xshardwareemulator, but is it possible?)

Copy link
Contributor

Choose a reason for hiding this comment

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

It is not possible to pass -Xshardwareemulator or any other combination.

@intel intel deleted a comment from mohammadfawaz Aug 31, 2020
Copy link
Contributor

@AGindinson AGindinson left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

Copy link
Contributor

@mohammadfawaz mohammadfawaz left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks Dmitry!

@romanovvlad romanovvlad merged commit 7896819 into intel:sycl Aug 31, 2020
Chenyang-L pushed a commit that referenced this pull request Feb 18, 2025
Fix command_buffer coverity issues
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