Add some Emacs keywords for CUDA

This commit is contained in:
Justine Tunney 2023-12-14 19:55:56 -08:00
parent 8dbfb77890
commit 897fa6ac00
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
2 changed files with 10 additions and 1 deletions

View file

@ -21,7 +21,6 @@
#include "libc/errno.h"
#include "libc/fmt/libgen.h"
#include "libc/fmt/magnumstrs.internal.h"
#include "libc/serialize.h"
#include "libc/intrin/kprintf.h"
#include "libc/limits.h"
#include "libc/macros.internal.h"
@ -29,6 +28,7 @@
#include "libc/mem/mem.h"
#include "libc/nexgen32e/crc32.h"
#include "libc/runtime/runtime.h"
#include "libc/serialize.h"
#include "libc/stdio/append.h"
#include "libc/stdio/stdio.h"
#include "libc/str/str.h"

View file

@ -9,6 +9,14 @@
"_Pragma"
"_Complex"))
(cuda
'("__device__"
"__forceinline__"
"__global__"
"__shared__"
"__host__"
"__constant__"))
(c11
'("_Atomic"
"alignas"
@ -217,6 +225,7 @@
)
(concat "\\_<"
(regexp-opt (append
cuda
c11
gnu
clang