-
Notifications
You must be signed in to change notification settings - Fork 208
[XPTI] introduce new interface to kineto for PTI-0.11 and PTI-0.12 #1066
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
| XPUPTI_CALL(ptiViewEnableRuntimeApi(1, pti_api_group_id::PTI_API_GROUP_SYCL, urUSMHostAlloc_id)); | ||
| XPUPTI_CALL(ptiViewEnableRuntimeApi(1, pti_api_group_id::PTI_API_GROUP_SYCL, urUSMSharedAlloc_id)); | ||
| XPUPTI_CALL(ptiViewEnableRuntimeApi(1, pti_api_group_id::PTI_API_GROUP_SYCL, urUSMDeviceAlloc_id)); | ||
| } |
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.
why we still need these UR specific API ids? we should use API set?
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.
Yes. We will use API set, just apply the previous patch and open a draft PR.
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.
then, can we make this PR as a draft?
aebebe7 to
a41d6f7
Compare
|
Hi, @aaronenyeshi Could you help review this PR? It is used to update the xpu code in kineto to make it compatible for our new tracing tools. Thank you. |
|
Hi, @aaronenyeshi Could you help review this PR? It is used to update the xpu code in kineto to make it compatible for our new tracing tools. Thank you. |
| } | ||
| #endif | ||
|
|
||
| #if PTI_VERSION_MAJOR > 0 || PTI_VERSION_MINOR > 10 |
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.
Might be useful to use a version schema similar to cuda where they embed the MAJOR, MINOR and PATCH number into one number. If you use OR statements like this it can lead to more complexity if many ifdefs are needed
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.
Hi, @sraikund16
Thank you for good suggestion.
For now, intel GPU doesn't have capability version control API. Only XPTI has release version macro so we use it here to do conditional building. We will consider to add the capability version control then refine here.
Thank you.
|
@sraikund16 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Aaron is not actively maintaining Kineto currently. You can reach out to me for future requests! |
Thank you @sraikund16 Really appreciate that |
Absolutely, we can always re-import. Please update as you need. |
7f811c2 to
378aab4
Compare
|
@zejun-chen has updated the pull request. You must reimport the pull request before landing. |
1 similar comment
|
@zejun-chen has updated the pull request. You must reimport the pull request before landing. |
the xpu profiler in pytorch Signed-off-by: Chen, Zejun <[email protected]>
|
Hi, @sraikund16 |
|
@sraikund16 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
|
@zejun-chen has updated the pull request. You must reimport the pull request before landing. |
|
@sraikund16 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
1 similar comment
|
@sraikund16 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
|
@sraikund16 merged this pull request in fb36cce. |
This PR is used to change the interface for XPTI in kineto to be compatible with the PTI 0.11 release