Skip to content

IntelliSense: add *.sycl support for SYCL C++. - #14120

Closed
Xu Han (xuhancn) wants to merge 4 commits into
microsoft:mainfrom
xuhancn:xu_add_sycl_ext_support
Closed

Xu Han (xuhancn) wants to merge 4 commits into
microsoft:mainfrom
xuhancn:xu_add_sycl_ext_support

Conversation

@xuhancn

@xuhancn Xu Han (xuhancn) commented Dec 29, 2025 •

Copy link
Copy Markdown

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#setting-up-the-build-system .

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

@xuhancn
Xu Han (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 Xu Han (xuhancn) changed the title add *.sycl support for SYCL C++. IntelliSense: add *.sycl support for SYCL C++. Dec 29, 2025
@Colengms

Copy link
Copy Markdown
Contributor

This has been addressed differently, such that various other uses of file associations all leverage the same set (including in the native process).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IntelliSense: please add SYCL C++(*.sycl) to parser support list.

2 participants