File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1
1
// *****************************************************************************
2
- // Copyright (c) 2016-2020 , Intel Corporation
2
+ // Copyright (c) 2016-2022 , Intel Corporation
3
3
// All rights reserved.
4
4
//
5
5
// Redistribution and use in source and binary forms, with or without
40
40
(__LIBSYCL_MAJOR_VERSION > major) || (__LIBSYCL_MAJOR_VERSION == major and __LIBSYCL_MINOR_VERSION > minor) || \
41
41
(__LIBSYCL_MAJOR_VERSION == major and __LIBSYCL_MINOR_VERSION == minor and __LIBSYCL_PATCH_VERSION >= patch)
42
42
43
+ /* *
44
+ * Version of SYCL DPC++ 2023 compiler at which transition to SYCL 2020 occurs
45
+ */
46
+ #ifndef __SYCL_COMPILER_2023_SWITCHOVER
47
+ #define __SYCL_COMPILER_2023_SWITCHOVER 20221020L
48
+ #endif
49
+
43
50
/* *
44
51
* @defgroup BACKEND_UTILS Backend C++ library utilities
45
52
* @{
Original file line number Diff line number Diff line change 1
1
// *****************************************************************************
2
- // Copyright (c) 2016-2020 , Intel Corporation
2
+ // Copyright (c) 2016-2022 , Intel Corporation
3
3
// All rights reserved.
4
4
//
5
5
// Redistribution and use in source and binary forms, with or without
28
28
#define DPNP_MEMORY_ADAPTER_H
29
29
30
30
#include " queue_sycl.hpp"
31
+ #include " dpnp_utils.hpp"
31
32
32
33
/* *
33
34
* @ingroup BACKEND_UTILS
@@ -84,7 +85,9 @@ class DPNPC_ptr_adapter final
84
85
std::cerr << " \n\t size_in_bytes=" << size_in_bytes;
85
86
std::cerr << " \n\t pointer type=" << (long )src_ptr_type;
86
87
std::cerr << " \n\t queue inorder=" << queue.is_in_order ();
88
+ #if __SYCL_COMPILER_VERSION < __SYCL_COMPILER_2023_SWITCHOVER
87
89
std::cerr << " \n\t queue is_host=" << queue.is_host ();
90
+ #endif
88
91
std::cerr << " \n\t queue device is_host=" << queue.get_device ().is_host ();
89
92
std::cerr << " \n\t queue device is_cpu=" << queue.get_device ().is_cpu ();
90
93
std::cerr << " \n\t queue device is_gpu=" << queue.get_device ().is_gpu ();
You can’t perform that action at this time.
0 commit comments