This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+lang/gpu/README.org

43 lines
1.2 KiB
Org Mode
Raw Normal View History

#+TITLE: GPU layer
2017-04-07 17:54:47 +00:00
#+TAGS: dsl|layer|programming
2019-05-05 17:26:40 +00:00
[[file:img/opencl.png]] [[file:img/cuda.png]] [[file:img/shaders.png]]
2017-04-07 17:54:47 +00:00
2019-05-07 20:05:06 +00:00
* Table of Contents :TOC_5_gh:noexport:
2017-05-22 14:16:12 +00:00
- [[#description][Description]]
- [[#features][Features:]]
2017-05-22 14:16:12 +00:00
- [[#install][Install]]
2017-04-07 17:54:47 +00:00
* Description
This layer adds support for GPU related languages like CUDA, OpenCL and various Shader formats to Spacemacs.
** Features:
- Syntax highlighting for
- =.cl= (OpenCL)
- =.cu= (CUDA)
- =.cuh= (CUDA)
- =.fsh= (Shaders)
- =.vsh= (Shaders)
- =.glsl= (Shaders)
- =.vert= (Shaders)
- =.frag= (Shaders)
- =.comp= (Shaders)
- =.geom= (Shaders)
- =.tesc= (Shaders)
- =.tese= (Shaders)
- Simple auto-completion via [[https://github.com/Kaali/company-glsl][company-glsl]] for
- =.vert= (Shaders)
- =.geom= (Shaders)
- =.tesc= (Shaders)
- =.tese= (Shaders)
- =.frag= (Shaders)
- =.comp= (Shaders)
2017-04-07 17:54:47 +00:00
* Install
To use this configuration layer, add it to your =~.spacemacs=. You will need to
add =gpu= to the existing =dotspacemacs-configuration-layers= list in this
file.
For auto-completion you will also need to install [[https://www.khronos.org/opengles/sdk/tools/Reference-Compiler/][=glslangValidator=]].