diff --git a/src/acc/opencl/acc_opencl.c b/src/acc/opencl/acc_opencl.c index cab7e358cfb..631db533647 100644 --- a/src/acc/opencl/acc_opencl.c +++ b/src/acc/opencl/acc_opencl.c @@ -354,8 +354,11 @@ int c_dbcsr_acc_init(void) { break; } } - /* environment is populated before touching the compute runtime */ - if (0 < j) ACC_OPENCL_EXPECT(0 == LIBXSMM_PUTENV(zex_nccs)); /* soft-error */ + if (0 < j && 0 == LIBXSMM_PUTENV(zex_nccs) && /* populate before touching the compute runtime */ + (2 <= c_dbcsr_acc_opencl_config.verbosity || 0 > c_dbcsr_acc_opencl_config.verbosity) + { + fprintf(stderr, "INFO ACC/OpenCL: support multiple separate compute command streamers (%i-CCS mode)\n"); + } } assert(EXIT_SUCCESS == result); # endif @@ -379,7 +382,7 @@ int c_dbcsr_acc_init(void) { } assert(EXIT_SUCCESS == result); # endif - if (~(1 + 2) & c_dbcsr_acc_opencl_config.wa) { /* environment is populated before touching the compute runtime */ + if (~(1 + 2 + 32) & c_dbcsr_acc_opencl_config.wa) { /* environment is populated before touching the compute runtime */ static char a[] = "NEOReadDebugKeys=1", b[] = "ZE_FLAT_DEVICE_HIERARCHY=COMPOSITE", c[] = "EnableRecoverablePageFaults=0"; static char d[] = "DirectSubmissionOverrideBlitterSupport=0", *key_value[] = {a, b, c, d}; if (NULL == env_neo) ACC_OPENCL_EXPECT(0 == LIBXSMM_PUTENV(key_value[0]));