-
Notifications
You must be signed in to change notification settings - Fork 787
[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
[SYCL][FPGA] Enable USM address spaces by default for the hardware #2379
Conversation
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]>
Thanks Dmitry! |
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") |
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.
Are there any -Xs<arg>
values that could disable -spirv-ext=+all
?
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.
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?)
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.
It is not possible to pass -Xshardwareemulator
or any other combination.
This reverts commit 0673272.
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.
LGTM, thanks!
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.
LGTM. Thanks Dmitry!
Fix command_buffer coverity issues
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]