mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
Add some Emacs keywords for CUDA
This commit is contained in:
parent
8dbfb77890
commit
897fa6ac00
2 changed files with 10 additions and 1 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue