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

OCCA enum and union support #705

Merged

Commits on Aug 23, 2023

  1. [lang] Clean up dtypes to be alphabetical

    We make sure that structs come before tuples,
    in order to keep cleanliness for later additions.
    kian-ohara committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    639d48a View commit details
    Browse the repository at this point in the history
  2. [lang] Added initial support for enums

    We add support for (typedef) enums by extending lang/type/enum.(cpp|hpp)
    adding lang/loaders/enumLoader.(cpp|hpp) and lang/enumerator.(cpp|hpp)
    kian-ohara committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    9705f7e View commit details
    Browse the repository at this point in the history
  3. [tests]Add enum tests for statement & type loading

    We add the necessary tests to ensure that (typedef) enums
    can be parsed and loaded by OCCA.
    kian-ohara committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    4d3bc1c View commit details
    Browse the repository at this point in the history
  4. [lang] Support for Basic Unions

    Only the most basic tests with int,float,etc, work.
    kian-ohara committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    008ed58 View commit details
    Browse the repository at this point in the history
  5. [tests]Add union tests, statement & type loading

    We add the necessary tests to ensure that (typedef) unions
    can be parsed and loaded by OCCA.
    kian-ohara committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    84f843e View commit details
    Browse the repository at this point in the history