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

Seperate the callbacks, predefined_functions, and procedures in the MPIDB #18

Open
martinruefenacht opened this issue Feb 13, 2023 · 0 comments

Comments

@martinruefenacht
Copy link
Contributor

Currently we track what mpi-binding block is what through the attrbutes. This should really be written to the MPIDB as separate mappings and not be required to take apart the entire description.

        for name, desc in dataset["procedures"].items():
            if desc["attributes"]["predefined_function"]:
                predef = PredefinedFunction(name, desc)
                PREDEFINED_FUNCTIONS[predef.name] = predef

            elif desc["attributes"]["callback"]:
                callback = Callback(name, desc)
                CALLBACKS[callback.name] = callback

            else:
                procedure = Procedure(name, desc)
                PROCEDURES[procedure.name] = procedure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant