-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ISPC language #5191
Add ISPC language #5191
Conversation
Full name "Intel® Implicit SPMD Program Compiler" https://github.com/ispc/ispc Color `#006ac8` taken from official site https://ispc.github.io/ Using C grammar for now as I cannot find the source of https://pastebin.com/8aHLeWU7 (taken from intel-corporation.ispc@v1.1.0 in the VSCode Marketplace)
From repo `ispc/ispc`, filename `ispc/examples/cpu/sort/sort.ispc`, licensed under BSD-3-Clause
From repo `ispc/ispc`, filename ispc/`ispcrt/ispcrt.isph`, licensed under BSD-3-Clause
Uses `textmate/c.tmbundle` for now; should use https://pastebin.com/8aHLeWU7
@Nixinova |
No, I'm just using C grammar for now as I cant find the actual source of the proper grammar, and yes you can add a language without a new grammar. |
Thanks for all your help. I have been wanting to do this for a couple of months, you have been a big help. |
Can you please state in the original note of this PR where the sample files came from and the license of each. |
Done, both from https://github.com/ispc/ispc under BSD-3 |
Usage is a little short on both extensions at the moment:
Total files found: 6790
Total files found: 3074 We like to shoot for 200 unique user/repos. It doesn't look like we're far off either so it probably won't be long. |
Closing until usage is reached. |
Adds the ISPC language, full name "Intel® Implicit SPMD Program Compiler" https://github.com/ispc/ispc, extension
.ispc
, along with its header files.isph
.Closes #5042
Color
#006ac8
taken from official site https://ispc.github.io/Usage:
Samples:
Using C grammar for now as I cannot find the source of https://pastebin.com/8aHLeWU7 (taken from intel-corporation.ispc@v1.1.0 in the VSCode Marketplace)