Skip to content

Commit 6092b99

Browse files
committed
ocl: fixed handling events wrt release/retain
- Extended ACC_OPENCL_ASYNC flag to remaining memory-ops. - Avoid creating certain events unnecessarily. - Increased lock-scope. - Adjusted debug. - Code cleanup.
1 parent 00bed30 commit 6092b99

File tree

2 files changed

+107
-111
lines changed

2 files changed

+107
-111
lines changed

src/acc/opencl/acc_opencl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ void c_dbcsr_acc_opencl_configure(void) {
175175
# endif
176176
# if defined(ACC_OPENCL_ASYNC)
177177
const char* const env_async = (ACC_OPENCL_ASYNC);
178-
const int async_default = 1 + 2;
178+
const int async_default = 1 + 2 + 4 + 8;
179179
# else
180180
const char* const env_async = NULL;
181181
const int async_default = 0;

0 commit comments

Comments
 (0)