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

Add json config #1607

Merged
merged 2 commits into from
May 10, 2024
Merged

Add json config #1607

merged 2 commits into from
May 10, 2024

Conversation

yhmtsai
Copy link
Member

@yhmtsai yhmtsai commented May 8, 2024

This PR adds header only json config which follows the same setup as kokkos extension.

Because it is quite simple one, do we just compile it into extension library?
For example, we only provide parse_json_file or sstream way to user.
The json library will not need to export to user and we/users do not need to install it.

@yhmtsai yhmtsai added the 1:ST:ready-for-review This PR is ready for review label May 8, 2024
@yhmtsai yhmtsai self-assigned this May 8, 2024
@ginkgo-bot ginkgo-bot added reg:build This is related to the build system. reg:testing This is related to testing. mod:core This is related to the core module. labels May 8, 2024
Copy link
Member

@upsj upsj left a comment

Choose a reason for hiding this comment

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

LGTM!

include/ginkgo/extensions/config/json_config.hpp Outdated Show resolved Hide resolved
@yhmtsai yhmtsai added this to the Ginkgo 1.8.0 milestone May 8, 2024
Copy link

sonarcloud bot commented May 9, 2024

@yhmtsai yhmtsai added 1:ST:ready-to-merge This PR is ready to merge. 1:ST:skip-full-test and removed 1:ST:ready-for-review This PR is ready for review labels May 10, 2024
@yhmtsai yhmtsai merged commit 0a6484e into develop May 10, 2024
12 of 15 checks passed
@yhmtsai yhmtsai deleted the json_config branch May 10, 2024 09:59
MarcelKoch added a commit that referenced this pull request May 16, 2024
This merge fixes the json config test for MSCV.

To avoid setting the lib path in msvc, gko makes all test works in the library path (dll location).
I changed the working directory to access testing file in #1607. However, it can not find the dll path now.
follow the `matrices/config.hpp.in` to pass the file path

Related PR: #1610
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1:ST:ready-to-merge This PR is ready to merge. 1:ST:skip-full-test mod:core This is related to the core module. reg:build This is related to the build system. reg:testing This is related to testing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants