-
Notifications
You must be signed in to change notification settings - Fork 787
[SYCL][UR][L0] Deprecate SYCL_ENABLE_PCI #10681
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
Conversation
@@ -152,7 +152,6 @@ Note that conflicting configuration tuples in the same list will favor the last | |||
|
|||
| Environment variable | Values | Description | | |||
| -------------------- | ------ | ----------- | | |||
| `SYCL_ENABLE_PCI` | Integer | When set to 1, enables obtaining the GPU PCI address when using the Level Zero backend. The default is 0. | |
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.
Since this is described not in experimental env vars section, I think that we keep it for now, say it is deprecated, and is ignored, and will be removed.
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.
cool, changing @smaslov-intel
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.
@smaslov-intel please check latest commit, 5937848, to confirm statement added is correct.
return UR_RESULT_ERROR_INVALID_VALUE; | ||
} | ||
ZesStruct<zes_pci_properties_t> ZeDevicePciProperties; | ||
ZE2UR_CALL(zesDevicePciGetProperties, (ZeDevice, &ZeDevicePciProperties)); |
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.
do we still need SYSMAN for anything? perhaps some header includes can be removed
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.
@smaslov-intel : yes, still for free memory.
Error on CPU is unrelated. here we are touching only L0 GPU code: $ ":" "RUN: at line 3"
note: command had no output on stdout or stderr
$ "env" "ONEAPI_DEVICE_SELECTOR=opencl:cpu" "/__w/llvm/llvm/build-e2e/HostInteropTask/Output/host-task-dependency4.cpp.tmp.out"
note: command had no output on stdout or stderr
error: command failed with exit status: -9
error: command reached timeout: True error on HIP is unrelated for the same reason
|
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.
Please, update the PR title "Remove" -> "Deprecate".
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.
Thanks!
The documentation part looks good to me. Don't forget to update the PR title before the merge (see this comment - #10681 (review)).
oh yes, thanks @bader . Changed. |
L0 already provides an interface to access PCI information without needing to set an environment variable to access SYSMAN interfaces. Signed-off-by: Jaime Arteaga <[email protected]>
Signed-off-by: Jaime Arteaga <[email protected]>
Signed-off-by: Jaime Arteaga <[email protected]>
Signed-off-by: Jaime Arteaga <[email protected]>
@sergey-semenov , @intel/llvm-reviewers-runtime : friendly reminder on review pending above. |
@intel/llvm-gatekeepers : please merge when possible. |
HIP:
|
L0 already provides an interface to access PCI information without needing to set an environment variable to access SYSMAN interfaces. --------- Signed-off-by: Jaime Arteaga <[email protected]>
L0 already provides an interface to access PCI information without needing to set an environment variable to access SYSMAN interfaces. --------- Signed-off-by: Jaime Arteaga <[email protected]>
L0 already provides an interface to access PCI information without needing to set an environment variable to access SYSMAN interfaces.