From 1e2869e8bd14311dd4d099719871f6b76faacd8a Mon Sep 17 00:00:00 2001 From: jsteube Date: Thu, 22 Sep 2016 19:55:35 +0200 Subject: [PATCH] Fix benchmark unwanted exit with long running kernels --- src/opencl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opencl.c b/src/opencl.c index a23e69864..b9b8b4c03 100644 --- a/src/opencl.c +++ b/src/opencl.c @@ -359,7 +359,7 @@ int choose_kernel (opencl_ctx_t *opencl_ctx, hc_device_param_t *device_param, co if (user_options->benchmark == true) { - if (speed_ms > 4096) myabort (opencl_ctx); + if (speed_ms > 4096) return -1; } }