Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cuda.host_empty function #67

Open
wants to merge 135 commits into
base: devel
Choose a base branch
from
Open

cuda.host_empty function #67

wants to merge 135 commits into from

Commits on Jun 27, 2024

  1. Configuration menu
    Copy the full SHA
    c7a6638 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    821a1c5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    092b557 View commit details
    Browse the repository at this point in the history
  4. [init] Adding CUDA language/compiler and CodePrinter (#32)

    This PR aims to make the C code compilable using nvcc. The cuda language was added as well as a CudaCodePrinter.
    
    Changes to stdlib:
    
    Wrapped expressions using complex types in an `ifndef __NVCC__` to avoid processing them with the nvcc compiler
    
    ---------
    
    Co-authored-by: Mouad Elalj, EmilyBourne
    bauom authored and EmilyBourne committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    02a2360 View commit details
    Browse the repository at this point in the history
  5. Fix import handling (#49)

    This pull request fixes #48, by implementing a tiny wrapper for CUDA and a wrapper for non-CUDA functionalities only with external 'C'.
    
    **Commit Summary**
    
    -    Implemented new header printer for CUDA.
    -    Added CUDA wrapper assignment
    -    Instead of wrapping all local headers, wrap only C functions with extern 'C'
    
    ---------
    
    Co-authored-by: EmilyBourne <[email protected]>
    Co-authored-by: bauom <[email protected]>
    3 people committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    bd73514 View commit details
    Browse the repository at this point in the history
  6. Add support for kernels (#42)

    This pull request addresses issue #28 by implementing a new feature in
    Pyccel that allows users to define custom GPU kernels. The syntax for
    creating these kernels is inspired by Numba. and I also need to fix
    issue #45 for testing purposes
    
    **Commit Summary**
    
    - Introduced KernelCall class
    - Added cuda printer methods _print_KernelCall and _print_FunctionDef to
    generate the corresponding CUDA representation for both kernel calls and
    definitions
    - Added IndexedFunctionCall  represents an indexed function call
    - Added CUDA module and cuda.synchronize()
    - Fixing a bug that I found in the header: it does not import the
    necessary header for the used function
    
    ---------
    
    Co-authored-by: EmilyBourne <[email protected]>
    Co-authored-by: bauom <[email protected]>
    Co-authored-by: Emily Bourne <[email protected]>
    4 people authored Jun 27, 2024
    Configuration menu
    Copy the full SHA
    261c152 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2024

  1. Begin implementation of CUDA arrays: adding cudaempty and cudafull fu…

    …nctions, and refining CUDA type handling
    smazouz42 committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    80f905b View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2024

  1. work in progress

    smazouz42 committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    7e8cf9e View commit details
    Browse the repository at this point in the history
  2. work in progress

    smazouz42 committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    2dbcfae View commit details
    Browse the repository at this point in the history
  3. work in progress

    smazouz42 committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    f3911d5 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2024

  1. work in progress

    smazouz42 committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    37289f9 View commit details
    Browse the repository at this point in the history
  2. work in progress

    smazouz42 committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    ba66b48 View commit details
    Browse the repository at this point in the history
  3. work in progress

    smazouz42 committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    406a88b View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

  1. work in progress

    smazouz42 committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    3afad1b View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2024

  1. work in progress

    smazouz42 committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    190c5a2 View commit details
    Browse the repository at this point in the history
  2. cleaning up my PR

    smazouz42 committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    eeeb249 View commit details
    Browse the repository at this point in the history
  3. cleaning up my PR

    smazouz42 committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    de0f5ab View commit details
    Browse the repository at this point in the history
  4. cleaning up my PR

    smazouz42 committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    d6ba6ad View commit details
    Browse the repository at this point in the history
  5. work in progress

    smazouz42 committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    8286a89 View commit details
    Browse the repository at this point in the history
  6. work in progress

    smazouz42 committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    96c3f29 View commit details
    Browse the repository at this point in the history
  7. work in progress

    smazouz42 committed Jul 10, 2024
    1 Configuration menu
    Copy the full SHA
    b414d62 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. Configuration menu
    Copy the full SHA
    7c93416 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f8ec722 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cc3a93e View commit details
    Browse the repository at this point in the history
  4. [init] Adding CUDA language/compiler and CodePrinter (#32)

    This PR aims to make the C code compilable using nvcc. The cuda language was added as well as a CudaCodePrinter.
    
    Changes to stdlib:
    
    Wrapped expressions using complex types in an `ifndef __NVCC__` to avoid processing them with the nvcc compiler
    
    ---------
    
    Co-authored-by: Mouad Elalj, EmilyBourne
    bauom authored and EmilyBourne committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    3be623d View commit details
    Browse the repository at this point in the history
  5. Fix import handling (#49)

    This pull request fixes #48, by implementing a tiny wrapper for CUDA and a wrapper for non-CUDA functionalities only with external 'C'.
    
    **Commit Summary**
    
    -    Implemented new header printer for CUDA.
    -    Added CUDA wrapper assignment
    -    Instead of wrapping all local headers, wrap only C functions with extern 'C'
    
    ---------
    
    Co-authored-by: EmilyBourne <[email protected]>
    Co-authored-by: bauom <[email protected]>
    3 people committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    b6d1549 View commit details
    Browse the repository at this point in the history
  6. Add support for kernels (#42)

    This pull request addresses issue #28 by implementing a new feature in
    Pyccel that allows users to define custom GPU kernels. The syntax for
    creating these kernels is inspired by Numba. and I also need to fix
    issue #45 for testing purposes
    
    **Commit Summary**
    
    - Introduced KernelCall class
    - Added cuda printer methods _print_KernelCall and _print_FunctionDef to
    generate the corresponding CUDA representation for both kernel calls and
    definitions
    - Added IndexedFunctionCall  represents an indexed function call
    - Added CUDA module and cuda.synchronize()
    - Fixing a bug that I found in the header: it does not import the
    necessary header for the used function
    
    ---------
    
    Co-authored-by: EmilyBourne <[email protected]>
    Co-authored-by: bauom <[email protected]>
    Co-authored-by: Emily Bourne <[email protected]>
    4 people committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    7da772a View commit details
    Browse the repository at this point in the history
  7. Updated CUDA Name Clash Checker By Added CUDA-specific keywords (#60)

    This pull request addresses issue #59 by adding more CUDA-specific
    keywords to enhance the checking of variable/function names and prevent
    name clashes
    
    ---------
    
    Co-authored-by: EmilyBourne <[email protected]>
    Co-authored-by: bauom <[email protected]>
    3 people committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    ca701d9 View commit details
    Browse the repository at this point in the history
  8. add handle for custom device (#61)

    This pull request addresses issue
    #41 by implementing a new
    feature in Pyccel that allows users to define a custom device
    
    **Commit Summary**
    
    - Adding handler for custom device and its code generation.
    - Adding test
    
    ---------
    
    Co-authored-by: EmilyBourne <[email protected]>
    smazouz42 and EmilyBourne committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    828d166 View commit details
    Browse the repository at this point in the history
  9. work in progress

    smazouz42 committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    a28c724 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2024

  1. Configuration menu
    Copy the full SHA
    658bb83 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2024

  1. work in progress

    smazouz42 committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    22686d7 View commit details
    Browse the repository at this point in the history
  2. work in progress

    smazouz42 committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    ab68eb4 View commit details
    Browse the repository at this point in the history
  3. work in progress

    smazouz42 committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    73c4c81 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2024

  1. Configuration menu
    Copy the full SHA
    af4d097 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    061996e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    32457cc View commit details
    Browse the repository at this point in the history
  4. [init] Adding CUDA language/compiler and CodePrinter (#32)

    This PR aims to make the C code compilable using nvcc. The cuda language was added as well as a CudaCodePrinter.
    
    Changes to stdlib:
    
    Wrapped expressions using complex types in an `ifndef __NVCC__` to avoid processing them with the nvcc compiler
    
    ---------
    
    Co-authored-by: Mouad Elalj, EmilyBourne
    bauom authored and EmilyBourne committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    9f03889 View commit details
    Browse the repository at this point in the history
  5. Fix import handling (#49)

    This pull request fixes #48, by implementing a tiny wrapper for CUDA and a wrapper for non-CUDA functionalities only with external 'C'.
    
    **Commit Summary**
    
    -    Implemented new header printer for CUDA.
    -    Added CUDA wrapper assignment
    -    Instead of wrapping all local headers, wrap only C functions with extern 'C'
    
    ---------
    
    Co-authored-by: EmilyBourne <[email protected]>
    Co-authored-by: bauom <[email protected]>
    3 people committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    57b643e View commit details
    Browse the repository at this point in the history
  6. Add support for kernels (#42)

    This pull request addresses issue #28 by implementing a new feature in
    Pyccel that allows users to define custom GPU kernels. The syntax for
    creating these kernels is inspired by Numba. and I also need to fix
    issue #45 for testing purposes
    
    **Commit Summary**
    
    - Introduced KernelCall class
    - Added cuda printer methods _print_KernelCall and _print_FunctionDef to
    generate the corresponding CUDA representation for both kernel calls and
    definitions
    - Added IndexedFunctionCall  represents an indexed function call
    - Added CUDA module and cuda.synchronize()
    - Fixing a bug that I found in the header: it does not import the
    necessary header for the used function
    
    ---------
    
    Co-authored-by: EmilyBourne <[email protected]>
    Co-authored-by: bauom <[email protected]>
    Co-authored-by: Emily Bourne <[email protected]>
    4 people committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    af589a1 View commit details
    Browse the repository at this point in the history
  7. Updated CUDA Name Clash Checker By Added CUDA-specific keywords (#60)

    This pull request addresses issue #59 by adding more CUDA-specific
    keywords to enhance the checking of variable/function names and prevent
    name clashes
    
    ---------
    
    Co-authored-by: EmilyBourne <[email protected]>
    Co-authored-by: bauom <[email protected]>
    3 people committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    91d6101 View commit details
    Browse the repository at this point in the history
  8. add handle for custom device (#61)

    This pull request addresses issue
    #41 by implementing a new
    feature in Pyccel that allows users to define a custom device
    
    **Commit Summary**
    
    - Adding handler for custom device and its code generation.
    - Adding test
    
    ---------
    
    Co-authored-by: EmilyBourne <[email protected]>
    smazouz42 and EmilyBourne committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    9234e99 View commit details
    Browse the repository at this point in the history
  9. work in progress

    smazouz42 committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    c79b56d View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    d482a8e View commit details
    Browse the repository at this point in the history
  11. work in progress

    smazouz42 committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    1c7ec43 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. work in progress

    smazouz42 committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    ba103ee View commit details
    Browse the repository at this point in the history
  2. work in progress

    smazouz42 committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    947ce32 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2024

  1. adding test for host array

    smazouz42 committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    1eeed75 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a8dbc18 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5d91031 View commit details
    Browse the repository at this point in the history
  4. refactoring the code

    smazouz42 committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    7c74bbd View commit details
    Browse the repository at this point in the history
  5. refactoring the code

    smazouz42 committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    95cf821 View commit details
    Browse the repository at this point in the history
  6. refactoring the code

    smazouz42 committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    0fc4a1b View commit details
    Browse the repository at this point in the history
  7. refactoring the code

    smazouz42 committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    f43fba8 View commit details
    Browse the repository at this point in the history
  8. fix a doc problem

    smazouz42 committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    f4546e1 View commit details
    Browse the repository at this point in the history
  9. fix a doc problem

    smazouz42 committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    ec0132b View commit details
    Browse the repository at this point in the history
  10. fix a doc problem

    smazouz42 committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    9030dfe View commit details
    Browse the repository at this point in the history
  11. fix a doc problem

    smazouz42 committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    e47373c View commit details
    Browse the repository at this point in the history
  12. fix a doc problem

    smazouz42 committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    eee6202 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    afd05c1 View commit details
    Browse the repository at this point in the history
  14. fix a doc problem

    smazouz42 committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    ff95029 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    21f70c0 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    13efc4e View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    e07587d View commit details
    Browse the repository at this point in the history
  18. [init] Adding CUDA language/compiler and CodePrinter (#32)

    This PR aims to make the C code compilable using nvcc. The cuda language was added as well as a CudaCodePrinter.
    
    Changes to stdlib:
    
    Wrapped expressions using complex types in an `ifndef __NVCC__` to avoid processing them with the nvcc compiler
    
    ---------
    
    Co-authored-by: Mouad Elalj, EmilyBourne
    bauom authored and EmilyBourne committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    94b1357 View commit details
    Browse the repository at this point in the history
  19. Fix import handling (#49)

    This pull request fixes #48, by implementing a tiny wrapper for CUDA and a wrapper for non-CUDA functionalities only with external 'C'.
    
    **Commit Summary**
    
    -    Implemented new header printer for CUDA.
    -    Added CUDA wrapper assignment
    -    Instead of wrapping all local headers, wrap only C functions with extern 'C'
    
    ---------
    
    Co-authored-by: EmilyBourne <[email protected]>
    Co-authored-by: bauom <[email protected]>
    3 people committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    c0006dd View commit details
    Browse the repository at this point in the history
  20. Add support for kernels (#42)

    This pull request addresses issue #28 by implementing a new feature in
    Pyccel that allows users to define custom GPU kernels. The syntax for
    creating these kernels is inspired by Numba. and I also need to fix
    issue #45 for testing purposes
    
    **Commit Summary**
    
    - Introduced KernelCall class
    - Added cuda printer methods _print_KernelCall and _print_FunctionDef to
    generate the corresponding CUDA representation for both kernel calls and
    definitions
    - Added IndexedFunctionCall  represents an indexed function call
    - Added CUDA module and cuda.synchronize()
    - Fixing a bug that I found in the header: it does not import the
    necessary header for the used function
    
    ---------
    
    Co-authored-by: EmilyBourne <[email protected]>
    Co-authored-by: bauom <[email protected]>
    Co-authored-by: Emily Bourne <[email protected]>
    4 people committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    1145d91 View commit details
    Browse the repository at this point in the history
  21. Updated CUDA Name Clash Checker By Added CUDA-specific keywords (#60)

    This pull request addresses issue #59 by adding more CUDA-specific
    keywords to enhance the checking of variable/function names and prevent
    name clashes
    
    ---------
    
    Co-authored-by: EmilyBourne <[email protected]>
    Co-authored-by: bauom <[email protected]>
    3 people committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    31aae9d View commit details
    Browse the repository at this point in the history
  22. add handle for custom device (#61)

    This pull request addresses issue
    #41 by implementing a new
    feature in Pyccel that allows users to define a custom device
    
    **Commit Summary**
    
    - Adding handler for custom device and its code generation.
    - Adding test
    
    ---------
    
    Co-authored-by: EmilyBourne <[email protected]>
    smazouz42 and EmilyBourne committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    21c93b5 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2024

  1. Configuration menu
    Copy the full SHA
    f2c1f65 View commit details
    Browse the repository at this point in the history
  2. fix a doc problem

    smazouz42 committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    d66442d View commit details
    Browse the repository at this point in the history
  3. fix a doc problem

    smazouz42 committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    976e729 View commit details
    Browse the repository at this point in the history
  4. debuging perpose

    smazouz42 committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    0289a77 View commit details
    Browse the repository at this point in the history
  5. debuging perpose

    smazouz42 committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    ca49b1b View commit details
    Browse the repository at this point in the history
  6. debuging perpose

    smazouz42 committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    ce1ddbc View commit details
    Browse the repository at this point in the history
  7. debuging perpose

    smazouz42 committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    717c4a4 View commit details
    Browse the repository at this point in the history
  8. debuging perpose

    smazouz42 committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    a19c559 View commit details
    Browse the repository at this point in the history
  9. debuging perpose

    smazouz42 committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    33842e9 View commit details
    Browse the repository at this point in the history
  10. debuging perpose

    smazouz42 committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    a52f4a2 View commit details
    Browse the repository at this point in the history
  11. debuging perpose

    smazouz42 committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    40d7c0d View commit details
    Browse the repository at this point in the history
  12. debuging perpose

    smazouz42 committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    532cf03 View commit details
    Browse the repository at this point in the history
  13. debuging perpose

    smazouz42 committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    3424b83 View commit details
    Browse the repository at this point in the history
  14. debuging perpose

    smazouz42 committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    3c1387b View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2024

  1. debuging perpose

    smazouz42 committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    c204481 View commit details
    Browse the repository at this point in the history
  2. debuging perpose

    smazouz42 committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    2517c43 View commit details
    Browse the repository at this point in the history
  3. debuging perpose

    smazouz42 committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    9778a86 View commit details
    Browse the repository at this point in the history
  4. debuging perpose

    smazouz42 committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    bc8b5b6 View commit details
    Browse the repository at this point in the history
  5. debuging perpose

    smazouz42 committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    f2909f4 View commit details
    Browse the repository at this point in the history
  6. debuging perpose

    smazouz42 committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    8f61d13 View commit details
    Browse the repository at this point in the history
  7. cleaning up my PR

    smazouz42 committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    7d02720 View commit details
    Browse the repository at this point in the history
  8. Target failing test

    EmilyBourne committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    a98a6c2 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e4fcff4 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    73085bd View commit details
    Browse the repository at this point in the history
  11. Correct flag

    EmilyBourne committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    8215d77 View commit details
    Browse the repository at this point in the history
  12. debuging perpose

    smazouz42 committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    9e75cba View commit details
    Browse the repository at this point in the history
  13. Examine compilation output

    smazouz42 committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    f71e741 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    44f3503 View commit details
    Browse the repository at this point in the history
  15. Examine library copy

    EmilyBourne committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    82f1c69 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    b9e5c94 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    df24e81 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    31d7247 View commit details
    Browse the repository at this point in the history
  19. [init] Adding CUDA language/compiler and CodePrinter (#32)

    This PR aims to make the C code compilable using nvcc. The cuda language was added as well as a CudaCodePrinter.
    
    Changes to stdlib:
    
    Wrapped expressions using complex types in an `ifndef __NVCC__` to avoid processing them with the nvcc compiler
    
    ---------
    
    Co-authored-by: Mouad Elalj, EmilyBourne
    bauom authored and EmilyBourne committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    17aa0e6 View commit details
    Browse the repository at this point in the history
  20. Fix import handling (#49)

    This pull request fixes #48, by implementing a tiny wrapper for CUDA and a wrapper for non-CUDA functionalities only with external 'C'.
    
    **Commit Summary**
    
    -    Implemented new header printer for CUDA.
    -    Added CUDA wrapper assignment
    -    Instead of wrapping all local headers, wrap only C functions with extern 'C'
    
    ---------
    
    Co-authored-by: EmilyBourne <[email protected]>
    Co-authored-by: bauom <[email protected]>
    3 people committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    2c58573 View commit details
    Browse the repository at this point in the history
  21. Add support for kernels (#42)

    This pull request addresses issue #28 by implementing a new feature in
    Pyccel that allows users to define custom GPU kernels. The syntax for
    creating these kernels is inspired by Numba. and I also need to fix
    issue #45 for testing purposes
    
    **Commit Summary**
    
    - Introduced KernelCall class
    - Added cuda printer methods _print_KernelCall and _print_FunctionDef to
    generate the corresponding CUDA representation for both kernel calls and
    definitions
    - Added IndexedFunctionCall  represents an indexed function call
    - Added CUDA module and cuda.synchronize()
    - Fixing a bug that I found in the header: it does not import the
    necessary header for the used function
    
    ---------
    
    Co-authored-by: EmilyBourne <[email protected]>
    Co-authored-by: bauom <[email protected]>
    Co-authored-by: Emily Bourne <[email protected]>
    4 people committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    0d154f8 View commit details
    Browse the repository at this point in the history
  22. Updated CUDA Name Clash Checker By Added CUDA-specific keywords (#60)

    This pull request addresses issue #59 by adding more CUDA-specific
    keywords to enhance the checking of variable/function names and prevent
    name clashes
    
    ---------
    
    Co-authored-by: EmilyBourne <[email protected]>
    Co-authored-by: bauom <[email protected]>
    3 people committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    2ffa7fc View commit details
    Browse the repository at this point in the history
  23. add handle for custom device (#61)

    This pull request addresses issue
    #41 by implementing a new
    feature in Pyccel that allows users to define a custom device
    
    **Commit Summary**
    
    - Adding handler for custom device and its code generation.
    - Adding test
    
    ---------
    
    Co-authored-by: EmilyBourne <[email protected]>
    smazouz42 and EmilyBourne committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    8eef19d View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    93dbc27 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    c02b661 View commit details
    Browse the repository at this point in the history
  26. add , to cuda include

    smazouz42 committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    bbbf6f8 View commit details
    Browse the repository at this point in the history
  27. cleaning up my PR

    smazouz42 committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    88d74d1 View commit details
    Browse the repository at this point in the history
  28. cleaning up my PR

    smazouz42 committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    2705949 View commit details
    Browse the repository at this point in the history
  29. cleaning up my PR

    smazouz42 committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    77a93e7 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    ff74a4a View commit details
    Browse the repository at this point in the history
  31. cleaning up my PR

    smazouz42 committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    e138ae5 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2024

  1. Configuration menu
    Copy the full SHA
    8c55fd9 View commit details
    Browse the repository at this point in the history
  2. refactoring the code

    smazouz42 committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    d5b733f View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. Configuration menu
    Copy the full SHA
    1fcb3a2 View commit details
    Browse the repository at this point in the history
  2. cleaning up my PR

    smazouz42 committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    c5c9db1 View commit details
    Browse the repository at this point in the history
  3. cleaning up my PR

    smazouz42 committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    bbd46e1 View commit details
    Browse the repository at this point in the history
  4. cleaning up my PR

    smazouz42 committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    89cd3aa View commit details
    Browse the repository at this point in the history
  5. cleaning up my PR

    smazouz42 committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    5c49cd3 View commit details
    Browse the repository at this point in the history
  6. pdate Changelog

    smazouz42 committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    4ff9ed2 View commit details
    Browse the repository at this point in the history
  7. refactoring the code

    smazouz42 committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    843429b View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2024

  1. Configuration menu
    Copy the full SHA
    0e9292e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8a4106f View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2024

  1. Configuration menu
    Copy the full SHA
    eea028a View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2024

  1. Configuration menu
    Copy the full SHA
    cc5a8cf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a822c41 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    99b1838 View commit details
    Browse the repository at this point in the history
  4. [init] Adding CUDA language/compiler and CodePrinter (#32)

    This PR aims to make the C code compilable using nvcc. The cuda language was added as well as a CudaCodePrinter.
    
    Changes to stdlib:
    
    Wrapped expressions using complex types in an `ifndef __NVCC__` to avoid processing them with the nvcc compiler
    
    ---------
    
    Co-authored-by: Mouad Elalj, EmilyBourne
    bauom authored and EmilyBourne committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    8828e56 View commit details
    Browse the repository at this point in the history
  5. Fix import handling (#49)

    This pull request fixes #48, by implementing a tiny wrapper for CUDA and a wrapper for non-CUDA functionalities only with external 'C'.
    
    **Commit Summary**
    
    -    Implemented new header printer for CUDA.
    -    Added CUDA wrapper assignment
    -    Instead of wrapping all local headers, wrap only C functions with extern 'C'
    
    ---------
    
    Co-authored-by: EmilyBourne <[email protected]>
    Co-authored-by: bauom <[email protected]>
    3 people committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    7ad90da View commit details
    Browse the repository at this point in the history
  6. Add support for kernels (#42)

    This pull request addresses issue #28 by implementing a new feature in
    Pyccel that allows users to define custom GPU kernels. The syntax for
    creating these kernels is inspired by Numba. and I also need to fix
    issue #45 for testing purposes
    
    **Commit Summary**
    
    - Introduced KernelCall class
    - Added cuda printer methods _print_KernelCall and _print_FunctionDef to
    generate the corresponding CUDA representation for both kernel calls and
    definitions
    - Added IndexedFunctionCall  represents an indexed function call
    - Added CUDA module and cuda.synchronize()
    - Fixing a bug that I found in the header: it does not import the
    necessary header for the used function
    
    ---------
    
    Co-authored-by: EmilyBourne <[email protected]>
    Co-authored-by: bauom <[email protected]>
    Co-authored-by: Emily Bourne <[email protected]>
    4 people committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    b3de549 View commit details
    Browse the repository at this point in the history
  7. Updated CUDA Name Clash Checker By Added CUDA-specific keywords (#60)

    This pull request addresses issue #59 by adding more CUDA-specific
    keywords to enhance the checking of variable/function names and prevent
    name clashes
    
    ---------
    
    Co-authored-by: EmilyBourne <[email protected]>
    Co-authored-by: bauom <[email protected]>
    3 people committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    4ac5182 View commit details
    Browse the repository at this point in the history
  8. add handle for custom device (#61)

    This pull request addresses issue
    #41 by implementing a new
    feature in Pyccel that allows users to define a custom device
    
    **Commit Summary**
    
    - Adding handler for custom device and its code generation.
    - Adding test
    
    ---------
    
    Co-authored-by: EmilyBourne <[email protected]>
    smazouz42 and EmilyBourne committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    12d98b6 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    09c6b74 View commit details
    Browse the repository at this point in the history