From 4ad0d4d6d3bd9b3507644d872fb27113fd3e487b Mon Sep 17 00:00:00 2001 From: Lei Jitang Date: Tue, 18 Jun 2024 02:47:48 +0800 Subject: [PATCH] Fix a build warning (#5096) Signed-off-by: Lei Jitang --- gpu/gpu_info_oneapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpu/gpu_info_oneapi.c b/gpu/gpu_info_oneapi.c index 80ed1164..00437745 100644 --- a/gpu/gpu_info_oneapi.c +++ b/gpu/gpu_info_oneapi.c @@ -98,7 +98,7 @@ void oneapi_init(char *oneapi_lib_path, oneapi_init_resp_t *resp) { } for (d = 0; d < resp->oh.num_drivers; d++) { - LOG(resp->oh.verbose, "calling zesDeviceGet %d\n", resp->oh.drivers[d]); + LOG(resp->oh.verbose, "calling zesDeviceGet count %d: %p\n", d, resp->oh.drivers[d]); ret = (*resp->oh.zesDeviceGet)(resp->oh.drivers[d], &resp->oh.num_devices[d], NULL); if (ret != ZE_RESULT_SUCCESS) {