Module ast

Source
Expand description

Abstract Syntax Tree definitions for CUDA

Structs§

Ast
Root AST node
Block
Block of statements
FunctionDef
Function definition
GlobalVar
Global variable definition
KernelDef
CUDA kernel definition
Parameter
Function parameter
TextureType
Texture types
TypeDef
Type definition
VectorType
Vector types

Enums§

BinaryOp
Binary operators
Dimension
Dimensions for thread/block indexing
Expression
Expression types
FloatType
Floating-point types
FunctionQualifier
Function qualifiers
IntType
Integer types
Item
Top-level items in CUDA code
KernelAttribute
Kernel attributes (launch bounds, etc.)
Literal
Literal values
ParamQualifier
Parameter qualifiers
Statement
Statement types
StorageClass
Storage classes
TextureDim
Texture dimensions
Type
CUDA types
UnaryOp
Unary operators
WarpOp
Warp-level operations