-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Closed
Labels
intelThis tag is for PR from IntelThis tag is for PR from Intelmodule: xpuIntel XPU related issuesIntel XPU related issuestriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Description
🐛 Describe the bug
When users explicitly include c10/xpu/XPUStream.h, it raises an error related to c10/xpu/impl/xpu_cmake_macros.h file not found. Because c10/xpu/impl/xpu_cmake_macros.h is not publicly exported. i.e.
In file included from /xxx/lib/python3.10/site-packages/torch/include\
/c10/xpu/XPUStream.h:5:
In file included from /xxx/lib/python3.10/site-packages/torch/include\
/c10/xpu/XPUFunctions.h:4:
In file included from /xxx/lib/python3.10/site-packages/torch/include\
/c10/xpu/XPUDeviceProp.h:3:
/xxx/lib/python3.10/site-packages/torch/include/c10/xpu/XPUMacros.h:4\
:10: fatal error: 'c10/xpu/impl/xpu_cmake_macros.h' file not found
4 | #include <c10/xpu/impl/xpu_cmake_macros.h>This bug was reported from https://discuss.pytorch.org/t/how-to-get-the-queue-for-xpu-device/207604
cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 @gujinghui @EikanWang @fengyuan14
Metadata
Metadata
Assignees
Labels
intelThis tag is for PR from IntelThis tag is for PR from Intelmodule: xpuIntel XPU related issuesIntel XPU related issuestriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Type
Projects
Status
Done