Skip to content

Commit

Permalink
ocl: always print number of devices
Browse files Browse the repository at this point in the history
  • Loading branch information
hfp committed May 29, 2024
1 parent 6f1065d commit a13ef3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/acc/acc_bench_smm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit a13ef3c

Please sign in to comment.