Skip to content

Commit acad115

Browse files
Do not use relative path in include statements which presumes rigid folder structure
Compiler's include directory options are used to direct compiler to location of header files
1 parent f9d7498 commit acad115

14 files changed

+24
-24
lines changed

libsyclinterface/helper/include/dpctl_string_utils.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
/// \file
2222
/// Helper function to convert a C++ string to a C string.
2323
//===----------------------------------------------------------------------===//
24-
#include "../helper/include/dpctl_error_handlers.h"
24+
#include "dpctl_error_handlers.h"
2525
#include <cstring>
2626
#include <iostream>
2727
#include <string>

libsyclinterface/source/dpctl_sycl_context_interface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
//===----------------------------------------------------------------------===//
2626

2727
#include "dpctl_sycl_context_interface.h"
28-
#include "../helper/include/dpctl_error_handlers.h"
2928
#include "Support/CBindingWrapping.h"
29+
#include "dpctl_error_handlers.h"
3030
#include <CL/sycl.hpp>
3131
#include <vector>
3232

libsyclinterface/source/dpctl_sycl_device_interface.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@
2525
//===----------------------------------------------------------------------===//
2626

2727
#include "dpctl_sycl_device_interface.h"
28-
#include "../helper/include/dpctl_error_handlers.h"
29-
#include "../helper/include/dpctl_string_utils.hpp"
30-
#include "../helper/include/dpctl_utils_helper.h"
3128
#include "Support/CBindingWrapping.h"
29+
#include "dpctl_error_handlers.h"
30+
#include "dpctl_string_utils.hpp"
3231
#include "dpctl_sycl_device_manager.h"
32+
#include "dpctl_utils_helper.h"
3333
#include <CL/sycl.hpp> /* SYCL headers */
3434
#include <algorithm>
3535
#include <cstring>

libsyclinterface/source/dpctl_sycl_device_manager.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
//===----------------------------------------------------------------------===//
2525

2626
#include "dpctl_sycl_device_manager.h"
27-
#include "../helper/include/dpctl_error_handlers.h"
28-
#include "../helper/include/dpctl_string_utils.hpp"
29-
#include "../helper/include/dpctl_utils_helper.h"
3027
#include "Support/CBindingWrapping.h"
28+
#include "dpctl_error_handlers.h"
29+
#include "dpctl_string_utils.hpp"
3130
#include "dpctl_sycl_enum_types.h"
31+
#include "dpctl_utils_helper.h"
3232
#include <CL/sycl.hpp> /* SYCL headers */
3333
#include <iomanip>
3434
#include <iostream>

libsyclinterface/source/dpctl_sycl_device_selector_interface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
//===----------------------------------------------------------------------===//
2525

2626
#include "dpctl_sycl_device_selector_interface.h"
27-
#include "../helper/include/dpctl_error_handlers.h"
2827
#include "Support/CBindingWrapping.h"
28+
#include "dpctl_error_handlers.h"
2929
#include <CL/sycl.hpp> /* SYCL headers */
3030

3131
using namespace cl::sycl;

libsyclinterface/source/dpctl_sycl_event_interface.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
//===----------------------------------------------------------------------===//
2626

2727
#include "dpctl_sycl_event_interface.h"
28-
#include "../helper/include/dpctl_error_handlers.h"
29-
#include "../helper/include/dpctl_utils_helper.h"
3028
#include "Support/CBindingWrapping.h"
29+
#include "dpctl_error_handlers.h"
30+
#include "dpctl_utils_helper.h"
3131
#include <CL/sycl.hpp> /* SYCL headers */
3232
#include <vector>
3333

libsyclinterface/source/dpctl_sycl_kernel_interface.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
//===----------------------------------------------------------------------===//
2626

2727
#include "dpctl_sycl_kernel_interface.h"
28-
#include "../helper/include/dpctl_error_handlers.h"
29-
#include "../helper/include/dpctl_string_utils.hpp"
3028
#include "Support/CBindingWrapping.h"
29+
#include "dpctl_error_handlers.h"
30+
#include "dpctl_string_utils.hpp"
3131
#include <CL/sycl.hpp> /* Sycl headers */
3232

3333
using namespace cl::sycl;

libsyclinterface/source/dpctl_sycl_platform_interface.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
//===----------------------------------------------------------------------===//
2626

2727
#include "dpctl_sycl_platform_interface.h"
28-
#include "../helper/include/dpctl_error_handlers.h"
29-
#include "../helper/include/dpctl_string_utils.hpp"
30-
#include "../helper/include/dpctl_utils_helper.h"
3128
#include "Support/CBindingWrapping.h"
29+
#include "dpctl_error_handlers.h"
30+
#include "dpctl_string_utils.hpp"
31+
#include "dpctl_utils_helper.h"
3232
#include <CL/sycl.hpp>
3333
#include <iomanip>
3434
#include <iostream>

libsyclinterface/source/dpctl_sycl_platform_manager.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
//===----------------------------------------------------------------------===//
2626

2727
#include "dpctl_sycl_platform_manager.h"
28-
#include "../helper/include/dpctl_error_handlers.h"
29-
#include "../helper/include/dpctl_utils_helper.h"
3028
#include "Support/CBindingWrapping.h"
29+
#include "dpctl_error_handlers.h"
3130
#include "dpctl_sycl_platform_interface.h"
31+
#include "dpctl_utils_helper.h"
3232
#include <CL/sycl.hpp>
3333
#include <iomanip>
3434
#include <iostream>

libsyclinterface/source/dpctl_sycl_program_interface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
#endif
3131

3232
#include "dpctl_sycl_program_interface.h"
33-
#include "../helper/include/dpctl_error_handlers.h"
3433
#include "Config/dpctl_config.h"
3534
#include "Support/CBindingWrapping.h"
35+
#include "dpctl_error_handlers.h"
3636
#include <CL/cl.h> /* OpenCL headers */
3737
#include <CL/sycl.hpp> /* Sycl headers */
3838
#include <CL/sycl/backend/opencl.hpp>

0 commit comments

Comments
 (0)