-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Add architecture to XPU device property #138186
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
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/138186
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 1976202 with merge base 565a794 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
# Motivation Add `architecture` to XPU device property. In some cases, low-level application code can use special features or do specific optimizations depending on the device architecture, and this PR enables such applications. Modified from https://github.com/pytorch/pytorch/pull/129675/files Pull Request resolved: pytorch#138186 Approved by: https://github.com/ezyang
# Motivation Add `architecture` to XPU device property. In some cases, low-level application code can use special features or do specific optimizations depending on the device architecture, and this PR enables such applications. Modified from https://github.com/pytorch/pytorch/pull/129675/files Pull Request resolved: pytorch#138186 Approved by: https://github.com/ezyang
# Motivation Add `architecture` to XPU device property. In some cases, low-level application code can use special features or do specific optimizations depending on the device architecture, and this PR enables such applications. Modified from https://github.com/pytorch/pytorch/pull/129675/files Pull Request resolved: pytorch#138186 Approved by: https://github.com/ezyang
# Motivation Add `architecture` to XPU device property. In some cases, low-level application code can use special features or do specific optimizations depending on the device architecture, and this PR enables such applications. Modified from https://github.com/pytorch/pytorch/pull/129675/files Pull Request resolved: pytorch#138186 Approved by: https://github.com/ezyang
With pytorch/pytorch#138186, `architecture` is added to XPU device property. Instead of hard coding `pvc` when invoking `ocloc`, this PR changed to dynamically passing the device architecture parsed. --------- Signed-off-by: Whitney Tsang <whitney.tsang@intel.com>
Stack from ghstack (oldest at bottom):
Motivation
Add
architecture
to XPU device property.In some cases, low-level application code can use special features or do specific optimizations depending on the device architecture, and this PR enables such applications.
Modified from https://github.com/pytorch/pytorch/pull/129675/files
cc @gujinghui @EikanWang @fengyuan14