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

Refactor to provide a core external interface #153

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ggeorgakoudis
Copy link
Collaborator

  • Support for Mneme

@ggeorgakoudis ggeorgakoudis marked this pull request as draft February 13, 2025 18:27
#include "proteus/CoreLLVMCUDA.hpp"
#endif

namespace proteus {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some previous functionality is under detail namespace.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I put in detail functions that called from the proteus namespace functions as "implementation", not expected as an external interface. Are you using them from Mneme?

#ifndef PROTEUS_ERROR_H
#define PROTEUS_ERROR_H

#define FATAL_ERROR(x) \
Copy link
Collaborator

@koparasy koparasy Feb 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe PROTEUS_FATAL_ERROR

Copy link
Collaborator

@koparasy koparasy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some Nits. Overall LGTM. I don't think you forgot something. You can land this, and then I can reiterate on mneme

@koparasy
Copy link
Collaborator

I don't see this function in this interface:

@koparasy koparasy closed this Feb 14, 2025
@koparasy
Copy link
Collaborator

@ggeorgakoudis I don't see the InitLLVM static function. Is this on purpose?

@ggeorgakoudis ggeorgakoudis reopened this Feb 14, 2025
@ggeorgakoudis ggeorgakoudis changed the title Refactor for a leaner external interface Refactor to provide a core external interface Feb 15, 2025
@ggeorgakoudis
Copy link
Collaborator Author

@ggeorgakoudis I don't see the InitLLVM static function. Is this on purpose?

No, omission.

@Olympus-HPC Olympus-HPC deleted a comment from github-actions bot Feb 15, 2025
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

Successfully merging this pull request may close these issues.

2 participants