-
Notifications
You must be signed in to change notification settings - Fork 24.9k
Move XPUEvent to c10 #158336
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
base: gh/guangyey/171/base
Are you sure you want to change the base?
Move XPUEvent to c10 #158336
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/158336
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit fe221f5 with merge base b1a6027 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
@@ -1,191 +1,3 @@ | |||
#pragma once | |||
#include <ATen/xpu/XPUContext.h> | |||
|
|||
#include <optional> |
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.
Already included in <ATen/xpu/XPUContext.h>
Stack from ghstack (oldest at bottom):
Motivation
Move
XPUEvent
toc10/xpu
to keep consistent withXPUStream
, which is already inc10/xpu
. The most important thing is that we will leverageXPUEven
t in our caching allocator instead of a raw sycl event.