From af043dd84343340cde028c3471fd7f5e426ae68b Mon Sep 17 00:00:00 2001 From: magnum Date: Fri, 6 Dec 2024 18:02:37 +0100 Subject: [PATCH] OpenCL: Show ptxas info from verbosity 4 (was 5) Level 5 would also show autotune stats, which is not always what I want. Also, we now get compiler warnings and ptxas at the same verbosity level which is logical (to me, at least). --- src/opencl_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opencl_common.c b/src/opencl_common.c index 1d0525995b..8130852c14 100644 --- a/src/opencl_common.c +++ b/src/opencl_common.c @@ -1142,7 +1142,7 @@ static char *get_build_opts(int sequential_id, const char *opts) #ifdef __APPLE__ "-D__OS_X__ ", #else - (options.verbosity >= VERB_MAX && + (options.verbosity >= VERB_LEGACY && gpu_nvidia(device_info[sequential_id])) ? "-cl-nv-verbose " : "", #endif