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: minor fixes and adjustments #878

Merged
merged 1 commit into from
Jan 6, 2025
Merged

ocl: minor fixes and adjustments #878

merged 1 commit into from
Jan 6, 2025

Conversation

hfp
Copy link
Member

@hfp hfp commented Jan 6, 2025

  • Adopt best-matching device even for device-0 if ACC_OPENCL_ACTIVATE is not set or no device is activated.
  • Fix: allow zero-sized allocation (c_dbcsr_acc_dev_mem_allocate).
  • Improved finding OpenCL header file (CL/cl.h) in Makefile.
  • Refactored initialization into init and pre-init.
  • Minor rework of environment setup.
  • Updated tuned parameters.
  • Improved verbose output.

@hfp
Copy link
Member Author

hfp commented Jan 6, 2025

Something changed upstream and is addressed by #879. As a side-note, this is another instance of a not-exactly-reproducible test (since it depends on"latest" release rather than being pinned).

* Adopt best-matching device even for device-0 if ACC_OPENCL_ACTIVATE is not set or no device is activated.
* Fix: allow zero-sized allocation (c_dbcsr_acc_dev_mem_allocate).
* Improved finding OpenCL header file (CL/cl.h) in Makefile.
* Refactored initialization into init and pre-init.
* Minor rework of environment setup.
* Updated tuned parameters.
* Improved verbose output.
@hfp hfp merged commit 78bfb48 into cp2k:develop Jan 6, 2025
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