Skip to content

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

Closed

Description

@xuhancn

Feature Request

When we use vscode develop PyTorch cpp_extension SYCL code. It is a SYCL c++ file and its file extension is *.sycl: https://github.com/pytorch/pytorch/blob/a69b2e85d382dd35485f10cc34a5f8b1276e7c4c/torch/utils/cpp_extension.py#L675-L680

We can also reference: https://docs.pytorch.org/tutorials/advanced/cpp_custom_ops_sycl.html#setting-up-the-build-system

Our vscode-cpptools can't parser the source code as c++ file.
Please add *.sycl to support list.

Activity

  1. sean-mcmanus commented on Dec 29, 2025

    @sean-mcmanus
    Contributor

    Xu Han (@xuhancn) Have you tried using

        "files.associations": {
            "*.syscl": "cpp"
        }
    

    Most features should work with that...the few features that don't work should probably be fixed by adding the files.associations to the checks.

  2. xuhancn commented on Dec 29, 2025

    @xuhancn
    Author

    @xuhancn Have you tried using

        "files.associations": {
            "*.syscl": "cpp"
        }
    

    Most features should work with that...the few features that don't work should probably be fixed by adding the files.associations to the checks.

    I tried it, it works. But here is a typo issue: syscl -> sycl

        "files.associations": {
            "*.sycl": "cpp"
        }
    
  3. sean-mcmanus commented on Dec 29, 2025

    @sean-mcmanus
    Contributor

    Xu Han (@xuhancn) Ah, yeah, I meant "sycl". So can we close this issue?

  4. xuhancn commented on Dec 30, 2025

    @xuhancn
    Author

    @xuhancn Ah, yeah, I meant "sycl". So can we close this issue?

    Close issue is fine to me, but how do you think about to add *.sycl to default support list? I have submit a PR for that: #14120

  5. added
    enhancementImprovement to an existing feature
    and removed
    more info neededThe issue report is not actionable in its current state
    on Dec 30, 2025
  6. sean-mcmanus commented on Dec 30, 2025

    @sean-mcmanus
    Contributor

    Xu Han (@xuhancn) I'm not sure yet. I'll see what others on my team think.

  7. 4 remaining items

  8. xuhancn commented on Apr 7, 2026

    @xuhancn
    Author

    Hi Sean McManus (@sean-mcmanus) ,
    how about the progress to merge the PR?

  9. moved this from Pull Request to Done in cpptoolson Aug 29, 2026
  10. Colengms commented on Sep 10, 2026

    @Colengms
    Contributor

    I believe this has been addressed in 1.34.4

  11. locked and limited conversation to collaborators on Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Language ServiceenhancementImprovement to an existing featurefixedCheck the Milestone for the release in which the fix is or will be available.

    Type

    Projects

    • Status
      Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions