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

Checking for CMAKE_CUDA_STANDARD when finding pika may be overly strict #392

Closed
msimberg opened this issue Aug 22, 2022 · 0 comments · Fixed by #396
Closed

Checking for CMAKE_CUDA_STANDARD when finding pika may be overly strict #392

msimberg opened this issue Aug 22, 2022 · 0 comments · Fixed by #396
Assignees
Milestone

Comments

@msimberg
Copy link
Contributor

We currently check that CMAKE_CUDA_STANDARD is not set in pika_setup_cuda.cmake. This is primarily meant to be checked when configuring and building pika itself. However, the check is currently enabled also when finding pika as a dependency. I think we should not be checking for this since compile features make sure that consumers of pika have the correct standard set.

@msimberg msimberg moved this to Backlog in pika planning board Aug 22, 2022
bors bot added a commit that referenced this issue Aug 23, 2022
377: Clean up `algorithms` module part 1 r=msimberg a=msimberg

Part of #16. Moves some functionality in `algorithms` into detail, but not all. Concatenates nested namespaces (and I found out about https://clang.llvm.org/extra/clang-tidy/checks/modernize/concat-nested-namespaces.html, which I think we can enable in the clang-tidy config). There's so much to change in the algorithms module that I'm leaving this PR in the current stage except for build errors and continuing in a separate PR once this is in.

396: Check `PIKA_CUDA_STANDARD` and `CMAKE_CUDA_STANDARD` compatibility only when building pika itself r=msimberg a=msimberg

Also, don't set `CMAKE_CUDA_STANDARD` when finding pika (`cuda_std_xx` is meant to ensure that at least a minimum standard is available). Closes #392.

Co-authored-by: Mikael Simberg <mikael.simberg@iki.fi>
bors bot added a commit that referenced this issue Aug 23, 2022
396: Check `PIKA_CUDA_STANDARD` and `CMAKE_CUDA_STANDARD` compatibility only when building pika itself r=msimberg a=msimberg

Also, don't set `CMAKE_CUDA_STANDARD` when finding pika (`cuda_std_xx` is meant to ensure that at least a minimum standard is available). Closes #392.

Co-authored-by: Mikael Simberg <mikael.simberg@iki.fi>
@msimberg msimberg added this to the 0.8.0 milestone Aug 23, 2022
@msimberg msimberg self-assigned this Aug 23, 2022
@msimberg msimberg moved this from Backlog to In Progress in pika planning board Aug 23, 2022
bors bot added a commit that referenced this issue Aug 23, 2022
396: Check `PIKA_CUDA_STANDARD` and `CMAKE_CUDA_STANDARD` compatibility only when building pika itself r=msimberg a=msimberg

Also, don't set `CMAKE_CUDA_STANDARD` when finding pika (`cuda_std_xx` is meant to ensure that at least a minimum standard is available). Closes #392.

Co-authored-by: Mikael Simberg <mikael.simberg@iki.fi>
@bors bors bot closed this as completed in 44ffcaf Aug 23, 2022
Repository owner moved this from In Progress to Done in pika planning board Aug 23, 2022
@msimberg msimberg moved this from Done to Archive in pika planning board Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
1 participant