You are viewing the documentation for the develop branch. The documentation for the release version is here .

Table of Contents

GPU layer

Table of ContentsClose

opencl.png cuda.png shaders.png

1. Description

This layer adds support for GPU related languages like CUDA, OpenCL and various Shader formats to Spacemacs.

1.1. 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 company-glsl for
    • .vert (Shaders)
    • .geom (Shaders)
    • .tesc (Shaders)
    • .tese (Shaders)
    • .frag (Shaders)
    • .comp (Shaders)

2. 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 glslangValidator.

Author: root

Created: 2021-09-29 Wed 20:45

Validate