From a13ef3cc1b7f7cfe0df306bce617475dafc0c481 Mon Sep 17 00:00:00 2001 From: Hans Pabst Date: Wed, 29 May 2024 10:20:29 +0200 Subject: [PATCH] ocl: always print number of devices --- src/acc/acc_bench_smm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/acc/acc_bench_smm.c b/src/acc/acc_bench_smm.c index 81458de3b14..79bf0625f03 100644 --- a/src/acc/acc_bench_smm.c +++ b/src/acc/acc_bench_smm.c @@ -227,7 +227,7 @@ int main(int argc, char* argv[]) { int ndevices = 0; result = c_dbcsr_acc_get_ndevices(&ndevices); if (0 < ndevices && (0 == device || EXIT_SUCCESS == c_dbcsr_acc_set_active_device(device))) { - PRINTF("Activated device%i (ndevices=%i)\n", device, ndevices); + printf("Activated device%i (ndevices=%i)\n", device, ndevices); } else { if (0 >= ndevices) {