8000 Bakckend with prefix by TApplencourt · Pull Request #403 · argonne-lcf/THAPI · GitHub
[go: up one dir, main page]

Skip to content

Bakckend with prefix - #403

Merged
nscottnichols merged 9 commits into
develfrom
bakckend_with_prefix
Sep 8, 2025
Merged

nscottnichols merged 9 commits into
develfrom
bakckend_with_prefix

Conversation

@TApplencourt
Copy link
Copy Markdown
Collaborator

Far clearer IMO And I leaned about YAML anchor!

@TApplencourt
Copy link
Copy Markdown
Collaborator Author

Obviously the CI will fail as we cannot compare file as backend_mpi don't exist in devel. But the integration is passing and the manual testing too

@nscottnichols nscottnichols left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

@nscottnichols
nscottnichols merged commit 268fedc into devel Sep 8, 2025
@nscottnichols
nscottnichols deleted the bakckend_with_prefix branch September 8, 2025 20:50
@Kerilk
Kerilk commented Sep 8, 2025
Copy link
Copy Markdown
Collaborator

IMHO should/could have been just a folder as in:

backends/hip
backends/cuda

etc...

@TApplencourt
TApplencourt commented Sep 8, 2025 •
Copy link
Copy Markdown
Collaborator Author

I was afraid of nested folder and Makefile... We can always change against, it was surprisingly not painful

@Kerilk
Kerilk commented Sep 9, 2025
Copy link
Copy Markdown
Collaborator

I was afraid of nested folder and Makefile... We can always change against, it was surprisingly not painful

I took a look at the Makefiles, seems like everything is nicely prefixed with $(topsrc_dir) or $(src_dir), so it should be fine.

@TApplencourt
TApplencourt commented Sep 9, 2025 •
Copy link
Copy Markdown
Collaborator Author

Need also to change all the require_relative '../utils/LTTng' in all the .rb but yeah doable.

@TApplencourt
TApplencourt commented Sep 9, 2025 •
Copy link
Copy Markdown
Collaborator Author

Or maybe we can just add THAPI_ROOT to $LOAD_PATH so we should be able to ro require utils/LTTng directly, or maybe require_relative ENV[THAPI_ROOT_RELATIVE]/utils/LTTng is the easiest

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.

3 participants

0