Skip to content

Comments

Add CUDA as one of the targets and update language server to support it#149

Merged
gtong-nv merged 2 commits intomainfrom
add-cuda
Jun 4, 2025
Merged

Add CUDA as one of the targets and update language server to support it#149
gtong-nv merged 2 commits intomainfrom
add-cuda

Conversation

@gtong-nv
Copy link
Contributor

@gtong-nv gtong-nv commented Jun 3, 2025

  • add CUDA to the supported targets.
  • add cuda syntax highlighting by updating the setMonarchTokensProvider

Close shader-slang/slang#6783

@CLAassistant
Copy link

CLAassistant commented Jun 3, 2025

CLA assistant check
All committers have signed the CLA.

@gtong-nv
Copy link
Contributor Author

gtong-nv commented Jun 4, 2025

A preview is here https://gtong-nv.github.io/slang-playground/

@gtong-nv gtong-nv merged commit f308375 into main Jun 4, 2025
3 checks passed
Copy link

@skallweitNV skallweitNV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I assume the syntax rules are for highlighting the generated CUDA code?

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.

Slang Playground: Add support to compile to CUDA

4 participants