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

ocl: revised creating sub-devices #831

Merged
merged 1 commit into from
Jul 25, 2024
Merged

ocl: revised creating sub-devices #831

merged 1 commit into from
Jul 25, 2024

Conversation

hfp
Copy link
Member

@hfp hfp commented Jul 25, 2024

  • Handle ACC_OPENCL_DEVSPLIT=1 like ZE_FLAT_DEVICE_HIERARCHY=COMPOSITE.
  • Partition devices into number of local ranks by default (Intel MPI).
  • Adjusted device-split' default according to MPI rank-count.
  • Auto-split devices and take rank-count into account.
  • Correctly handle ACC_OPENCL_DEVSPLIT<0.

@hfp hfp force-pushed the ocl branch 4 times, most recently from f6ee89a to edd82d9 Compare July 25, 2024 14:47
* Handle ACC_OPENCL_DEVSPLIT=1 like ZE_FLAT_DEVICE_HIERARCHY=COMPOSITE.
* Correctly handle ACC_OPENCL_DEVSPLIT<0.
* Code cleanup.
@hfp hfp merged commit 085732b into cp2k:develop Jul 25, 2024
22 checks passed
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.

1 participant