You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have two new features which rely on the ocloc utility to query GPU architecture info (#1900) and compile native GPU code (#1792) during the compile stage. Ocloc needs a device parameter:
'name': 'Intel(R) Data Center GPU Max 1100
'name': 'Intel(R) Graphics [0xe20c]',
we can try to use the name string, or we can ask PyTorch to implement the device architecture API from oneAPI - https://github.com/intel/llvm/blob/sycl/sycl/include/sycl/ext/oneapi/experimental/device_architecture.hpp
However this API is changing between 2024 and 2025, so we will need to be careful to use the right enum in that case (particularly if we compile against one version but use a different version at runtime).
The text was updated successfully, but these errors were encountered:
PR is pytorch/pytorch#138186.
The compiler team replies that they have a plan to move architecture out of the experimental namespace, but they have no ETA.
We have two new features which rely on the
ocloc
utility to query GPU architecture info (#1900) and compile native GPU code (#1792) during thecompile
stage. Ocloc needs a device parameter:We currently get a name string from PyTorch:
we can try to use the name string, or we can ask PyTorch to implement the device architecture API from oneAPI - https://github.com/intel/llvm/blob/sycl/sycl/include/sycl/ext/oneapi/experimental/device_architecture.hpp
However this API is changing between 2024 and 2025, so we will need to be careful to use the right enum in that case (particularly if we compile against one version but use a different version at runtime).
The text was updated successfully, but these errors were encountered: