From 5f2f26e737aa51e5d21e9065e393f68e1e72e0bc Mon Sep 17 00:00:00 2001 From: Nathalie Furmento Date: Wed, 13 Mar 2024 11:33:59 +0100 Subject: [PATCH] src/drivers/opencl: add extra information in debug messages --- src/drivers/opencl/driver_opencl_utils.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/drivers/opencl/driver_opencl_utils.c b/src/drivers/opencl/driver_opencl_utils.c index dff5d64427..9bc235b924 100644 --- a/src/drivers/opencl/driver_opencl_utils.c +++ b/src/drivers/opencl/driver_opencl_utils.c @@ -1,6 +1,6 @@ /* StarPU --- Runtime system for heterogeneous multicore architectures. * - * Copyright (C) 2010-2022 Université de Bordeaux, CNRS (LaBRI UMR 5800), Inria + * Copyright (C) 2010-2024 Université de Bordeaux, CNRS (LaBRI UMR 5800), Inria * * StarPU is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by @@ -61,7 +61,7 @@ int _starpu_opencl_locate_file(const char *source_file_name, char **located_file { _STARPU_CALLOC(*located_file_name, 1, strlen(_starpu_opencl_program_dir)+1+strlen(source_file_name)+1); snprintf(*located_file_name, strlen(_starpu_opencl_program_dir)+1+strlen(source_file_name)+1, "%s/%s", _starpu_opencl_program_dir, source_file_name); - _STARPU_DEBUG("Trying to locate <%s>\n", *located_file_name); + _STARPU_DEBUG("Trying to locate with _starpu_opencl_program_dir <%s>\n", *located_file_name); if (access(*located_file_name, R_OK) == 0) ret = EXIT_SUCCESS; } @@ -71,7 +71,7 @@ int _starpu_opencl_locate_file(const char *source_file_name, char **located_file { _STARPU_CALLOC(*located_file_name, 1, strlen(STARPU_SRC_DIR)+1+strlen(source_file_name)+1); snprintf(*located_file_name, strlen(STARPU_SRC_DIR)+1+strlen(source_file_name)+1, "%s/%s", STARPU_SRC_DIR, source_file_name); - _STARPU_DEBUG("Trying to locate <%s>\n", *located_file_name); + _STARPU_DEBUG("Trying to locate with STARPU_SRC_DIR <%s>\n", *located_file_name); if (access(*located_file_name, R_OK) == 0) ret = EXIT_SUCCESS; } @@ -81,7 +81,7 @@ int _starpu_opencl_locate_file(const char *source_file_name, char **located_file { _STARPU_CALLOC(*located_file_name, 1, strlen(STARPU_OPENCL_DATADIR)+1+strlen(source_file_name)+1); snprintf(*located_file_name, strlen(STARPU_OPENCL_DATADIR)+1+strlen(source_file_name)+1, "%s/%s", STARPU_OPENCL_DATADIR, source_file_name); - _STARPU_DEBUG("Trying to locate <%s>\n", *located_file_name); + _STARPU_DEBUG("Trying to locate with STARPU_OPENCL_DATADIR <%s>\n", *located_file_name); if (access(*located_file_name, R_OK) == 0) ret = EXIT_SUCCESS; }