-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ocl: prepared OpenCL backend for CP2K's Offload/DBM/DBT libraries
* Introduced ACC_OPENCL_MEM_DEBUG for some debug details. * Auto-detecting device-memory offset (ACC_OPENCL_MEM_OFFSET), i.e., range-finding device pointers to adjust the offset accordingly. - c_dbcsr_acc_memcpy_d2d, c_dbcsr_acc_memcpy_h2d, - c_dbcsr_acc_memcpy_d2h, c_dbcsr_acc_opencl_memset. * Resolved cast-qual warnings. * Removed ACC_OPENCL_MEM_NOALLOC/ACC_OPENCL_MEM macros. * Improved performance when using clEnqueueFillBuffer. * Allow stream-argument (ACC-interface) to be NULL - Introduced c_dbcsr_acc_opencl_stream_default(). - Implemented ACC_OPENCL_STREAM_NULL. - Enables synchronous operation). * Exposed/implemented OpenCL-only c_dbcsr_acc_opencl_memset, and based c_dbcsr_acc_memset_zero on c_dbcsr_acc_opencl_memset. - Allow custom memset-value to match CP2K's offload library * Adjusted console output (ACC_OPENCL_VERBOSE). * Revised acc_opencl.sh (generating kernel header). * Increased number of repetitions of standalone benchmark. * Updated tuned parameters.
- Loading branch information
Showing
14 changed files
with
1,282 additions
and
1,081 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.