Skip to content

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 dmitry.sidorov@intel.com

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 <dmitry.sidorov@intel.com>
Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
@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 <dmitry.sidorov@intel.com>
Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
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