-
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: pointer-arithmetic for device-pointers
* Fallback to main-thread's stream (c_dbcsr_acc_opencl_stream_default). * Fixed c_dbcsr_acc_opencl_stream_default and reduce one level of indirection. * Reworked entire memory allocation (determining offsets). * Consolidated compile-time decisions about LIBXSMM_VERSION_NUMBER. * Removed runtime decisions accounting for pooled allocations. * Support older LIBXSMM (pooled memory allocations). * Set ACC_OPENCL_ATOMIC_KIND to sequentially consistent; set ACC_OPENCL_NLOCKS=1. * Complemented ACC_OPENCL_NLOCKS with environment variable. * Introduced ACC_OPENCL_OMPLOCKS, ACC_OPENCL_MEM_DEBUG, ACC_OPENCL_EVENT_FLUSH. * Implemented behavior of c_dbcsr_acc_opencl_stream_default already in c_dbcsr_acc_opencl_stream. * Attempt to avoid recursive/dead lock, and revised function signature (c_dbcsr_acc_opencl_get_ptr). * Introduced lock-arguments (internal, e.g., c_dbcsr_acc_opencl_set_active_device). * Consolidated domain-locks into c_dbcsr_acc_opencl_config. * Made build-log available (c_dbcsr_acc_opencl_kernel). * Reworked stream-registry and stream-info facility. * Use "int" instead of "cl_int" when taking the return-code. * Consistently use EXIT_SUCCESS instead of CL_SUCCESS. * Removed support for ACC_OPENCL_OVERMALLOC. * Removed support for per-thread device. * Removed ACC_OPENCL_EVENT_BARRIER. * Introduced ACC_OPENCL_MEM_TLS (disabled). * Simplified c_dbcsr_acc_opencl_memset. * Support ACC_OPENCL_STREAM_NULL in event facility. * Fixed using size_t as kernel argument. * Introduced UNROLL_AUTO.
- Loading branch information
Showing
7 changed files
with
961 additions
and
1,047 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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.