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

Use pluto where possible instead of hic calls #270

Merged
merged 2 commits into from
Mar 28, 2025
Merged

Conversation

wdeconinck
Copy link
Member

@wdeconinck wdeconinck commented Mar 21, 2025

This PR tends to provide the most minimal changes to start using pluto, introduced with #269

  • Use pluto to allocate and deallocate device memory and host memory
  • Use pluto to transfer data between host and device

No advanced configuration of memory resources is used: host memory is allocated using the pluto::host_resource, which provides 256-byte aligned memory and device memory is allocated using the pluto::device_resource, which maps to hicMalloc internally (using CUDA or HIP).

@wdeconinck wdeconinck force-pushed the feature/add_pluto branch 5 times, most recently from 12436b4 to 0ce247f Compare March 27, 2025 15:03
Copy link

Private downstream CI failed.
Workflow name: private-downstream-ci-hpc
View the logs at https://github.com/ecmwf/private-downstream-ci/actions/runs/14111788835.

@wdeconinck wdeconinck force-pushed the feature/use_pluto branch 2 times, most recently from c702d3f to d1096da Compare March 27, 2025 18:01
Copy link

Private downstream CI succeeded.
Workflow name: private-downstream-ci
View the logs at https://github.com/ecmwf/private-downstream-ci/actions/runs/14113356241.

@wdeconinck wdeconinck changed the base branch from feature/add_pluto to develop March 27, 2025 18:16
@wdeconinck wdeconinck marked this pull request as ready for review March 27, 2025 18:18
@wdeconinck wdeconinck requested a review from sbrdar March 27, 2025 18:19
Copy link

Private downstream CI failed.
Workflow name: private-downstream-ci
View the logs at https://github.com/ecmwf/private-downstream-ci/actions/runs/14115029495.

Copy link

Private downstream CI succeeded.
Workflow name: private-downstream-ci-hpc
View the logs at https://github.com/ecmwf/private-downstream-ci/actions/runs/14115568993.

Copy link
Collaborator

@sbrdar sbrdar left a comment

Choose a reason for hiding this comment

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

Thank you @wdeconinck for this resource manager. The PR is greatly useful and I am looking forward to have it merged in the develop! I just had a few questions and remarks.

Copy link

Private downstream CI succeeded.
Workflow name: private-downstream-ci
View the logs at https://github.com/ecmwf/private-downstream-ci/actions/runs/14132567744.

1 similar comment
Copy link

Private downstream CI succeeded.
Workflow name: private-downstream-ci
View the logs at https://github.com/ecmwf/private-downstream-ci/actions/runs/14132567744.

Copy link

Private downstream CI succeeded.
Workflow name: private-downstream-ci-hpc
View the logs at https://github.com/ecmwf/private-downstream-ci/actions/runs/14132826417.

@wdeconinck wdeconinck merged commit f537250 into develop Mar 28, 2025
33 checks passed
Copy link

Private downstream CI succeeded.
Workflow name: private-downstream-ci
View the logs at https://github.com/ecmwf/private-downstream-ci/actions/runs/14133824245.

1 similar comment
Copy link

Private downstream CI succeeded.
Workflow name: private-downstream-ci
View the logs at https://github.com/ecmwf/private-downstream-ci/actions/runs/14133824245.

Copy link

Private downstream CI succeeded.
Workflow name: private-downstream-ci-hpc
View the logs at https://github.com/ecmwf/private-downstream-ci/actions/runs/14134395202.

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