-
Notifications
You must be signed in to change notification settings - Fork 115
Requesting Support for Treesitter cuda #507
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Language: cuda
The CUDA grammar (https://github.com/tree-sitter-grammars/tree-sitter-cuda) is a small extension of the C++ grammar (https://github.com/tree-sitter/tree-sitter-cpp). There are no additional language structures to add for Aerial tracking that I'm aware of, but Treesitter does track it separately.
/* constructs from C, C++ elided */
// Functions with CUDA specifiers
__global__ void f1() {}
__device__ void f2() {}
__host__ void f3() {}
// Some specifiers can be combined
__device__ __host__ void f4() {}
// Specifiers often placed on their own line
__device__ __host__
void f5() {}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request