Add ISPC language support#7250
Merged
lildude merged 3 commits intogithub-linguist:mainfrom Feb 23, 2025
Merged
Conversation
Member
|
This low usage will block this PR. You might want to consider removing it. People can use an override for these files until usage is sufficient to add support. |
04be4aa to
0659eaf
Compare
Contributor
Author
I removed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the ISPC language, full name "Intel® Implicit SPMD Program Compiler" https://github.com/ispc/ispc, extension
.ispc, along with its header files.isph.ISPC is a C-based language with extensions for SIMD programming.
ISPC is used across different game engines (e.g. Unreal Engine, Unity), production renderers (e.g Dreamworks' MoonRay) and ray tracing libraries (e.g. Intel(R) Ospray)
Closes #5042
The extension of the new language is used in hundreds of repositories on GitHub.com.
https://github.com/search?type=code&q=NOT+is%3Afork+path%3A*.isph - 644I have included a real-world usage sample for all extensions added in this PR:
- samples/ISPC/VideoFunctions.ispc, GPL-3
- samples/ISPC/volume.ispc, BSD3C
- samples/ISPC/program_city.ispc, MIT
I have included a syntax highlighting grammar: [ispc.syntax]
I have added a color
#2D68B1I have updated the heuristics to distinguish my language from others using the same extension. N/A. There are no languages with the same extension.