Skip to content

Conversation

@xuhancn
Copy link

@xuhancn xuhancn commented Dec 29, 2025

This PR is the implenmention for #14119.

PyTorch cpp_extension can load c++ source files and build it to Python extension. As PyTorch also support many devices, it should dispatch many types c++ source code to different compilers via the source code file extension:
*.cpp for common code.
*.cu for Nvidia GPU code.
And *.sycl for Intel GPU code, please reference to https://docs.pytorch.org/tutorials/advanced/cpp_custom_ops_sycl.html .

It should add *.sycl file to C++ file extension support list.

@xuhancn xuhancn requested a review from a team as a code owner December 29, 2025 06:04
@github-project-automation github-project-automation bot moved this to Pull Request in cpptools Dec 29, 2025
@xuhancn xuhancn changed the title add *.sycl support for SYCL C++. IntelliSense: add *.sycl support for SYCL C++. Dec 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Pull Request

Development

Successfully merging this pull request may close these issues.

1 participant