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

Test CUDA proof of concept #712

Closed
wants to merge 24 commits into from
Closed

Test CUDA proof of concept #712

wants to merge 24 commits into from

Conversation

mborland
Copy link
Member

No description provided.

@mborland
Copy link
Member Author

@sdarwin Same question about the CUDA runner not picking up. This PR is nearly the same as the math one but in an existing CppAlliance repo.

@sdarwin
Copy link
Contributor

sdarwin commented Jul 16, 2024

Try now.

@mborland
Copy link
Member Author

Try now.

Picks up now. Thanks.

@sdarwin
Copy link
Contributor

sdarwin commented Jul 17, 2024

@mborland here's an idea. Create a repository cppalliance/math-cuda. It will be a mirror of boostorg/math. Modify github actions so that in addition to jobs running from a commit or pull request, there is also a one-week schedule.

In the CUDA gh actions, conditionally verify the current repo is cppalliance/math-cuda. Otherwise, it just skips everything, or exits successfully.

In the CUDA gh actions, git checkout boostorg/math, and push it to the local repo which is cppalliance/math-cuda. In other words, fast-forward merge boostorg/math -> cppalliance/math-cuda.

That will keep the repos in sync. It creates another commit, causing CI to run.

The end result is the CUDA job will run once-per-week from cppalliance/math-cuda

@mborland
Copy link
Member Author

@mborland here's an idea. Create a repository cppalliance/math-cuda. It will be a mirror of boostorg/math. Modify github actions so that in addition to jobs running from a commit or pull request, there is also a one-week schedule.

In the CUDA gh actions, conditionally verify the current repo is cppalliance/math-cuda. Otherwise, it just skips everything, or exits successfully.

In the CUDA gh actions, git checkout boostorg/math, and push it to the local repo which is cppalliance/math-cuda. In other words, fast-forward merge boostorg/math -> cppalliance/math-cuda.

That will keep the repos in sync. It creates another commit, causing CI to run.

The end result is the CUDA job will run once-per-week from cppalliance/math-cuda

That makes sense. This is green now so I think I've nailed down the correct way to run NVCC with CMake testing. I need to add cmake testing support to math or also figure out with this one how to run it with B2 as well.

@mborland
Copy link
Member Author

NVCC is unsupported by B2 so either support needs to be merged into B2, or Cmake needs to be used

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