Skip to content

Commit

Permalink
add cuda module documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
smazouz42 committed Feb 28, 2024
1 parent 5a6e75a commit bd02021
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions pyccel/ast/cuda.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,17 @@
#------------------------------------------------------------------------------------------#
"""
Module for CUDA-specific AST nodes and transformations.
This module contains classes and functions related to CUDA-specific
abstract syntax tree (AST) nodes and transformations in Pyccel.
from pyccel.ast.core import FunctionCall
"""
from pyccel.ast.core import FunctionCall

__all__ = (
'KernelCall',
'IndexedFunctionCall'
)

Check warning on line 17 in pyccel/ast/cuda.py

View check run for this annotation

Pyccel Bot / Pyccel best practices (pyccel_lint, 3.8)

pyccel/ast/cuda.py#L14-L17

Sort the __all__ attribute of `cuda`
class KernelCall(FunctionCall):
"""
Represents a kernel function call in the code.
# Example of a method call with array-like indexing: a[c, b]()
Expand Down

0 comments on commit bd02021

Please sign in to comment.