Skip to content

Commit ccb079c

Browse files
authored
[SYCL][NFC] Move khr_free_function_commands extension to common khr directory (#18556)
Purpose of this PR is to move `khr_free_function_commands` extension to common `khr` directory based on discussion #17595 (comment) Extension spec: KhronosGroup/SYCL-Docs#644
1 parent 420ac96 commit ccb079c

File tree

12 files changed

+11
-11
lines changed

12 files changed

+11
-11
lines changed

sycl/include/sycl/sycl.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@
7474
#include <sycl/ext/intel/experimental/task_sequence_properties.hpp>
7575
#include <sycl/ext/intel/experimental/usm_properties.hpp>
7676
#include <sycl/ext/intel/usm_pointers.hpp>
77-
#include <sycl/ext/khr/free_function_commands.hpp>
7877
#include <sycl/ext/oneapi/bfloat16.hpp>
7978
#include <sycl/ext/oneapi/bindless_images.hpp>
8079
#include <sycl/ext/oneapi/device_global/device_global.hpp>
@@ -123,4 +122,5 @@
123122
#include <sycl/ext/oneapi/virtual_mem/physical_mem.hpp>
124123
#include <sycl/ext/oneapi/virtual_mem/virtual_mem.hpp>
125124
#include <sycl/ext/oneapi/weak_object.hpp>
125+
#include <sycl/khr/free_function_commands.hpp>
126126
#include <sycl/khr/group_interface.hpp>

sycl/test-e2e/FreeFunctionCommands/launch.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#define __DPCPP_ENABLE_UNFINISHED_KHR_EXTENSIONS
77

88
#include <sycl/detail/core.hpp>
9-
#include <sycl/ext/khr/free_function_commands.hpp>
9+
#include <sycl/khr/free_function_commands.hpp>
1010
#include <sycl/usm.hpp>
1111

1212
#include <array>

sycl/test-e2e/FreeFunctionCommands/launch_grouped.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#define __DPCPP_ENABLE_UNFINISHED_KHR_EXTENSIONS
88

99
#include <sycl/detail/core.hpp>
10-
#include <sycl/ext/khr/free_function_commands.hpp>
10+
#include <sycl/khr/free_function_commands.hpp>
1111
#include <sycl/usm.hpp>
1212

1313
#include "helpers.hpp"

sycl/test-e2e/FreeFunctionCommands/launch_grouped_reduce.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#define __DPCPP_ENABLE_UNFINISHED_KHR_EXTENSIONS
99

1010
#include <sycl/detail/core.hpp>
11-
#include <sycl/ext/khr/free_function_commands.hpp>
11+
#include <sycl/khr/free_function_commands.hpp>
1212
#include <sycl/reduction.hpp>
1313
#include <sycl/usm.hpp>
1414

sycl/test-e2e/FreeFunctionCommands/launch_reduce.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#define __DPCPP_ENABLE_UNFINISHED_KHR_EXTENSIONS
77

88
#include <sycl/detail/core.hpp>
9-
#include <sycl/ext/khr/free_function_commands.hpp>
9+
#include <sycl/khr/free_function_commands.hpp>
1010
#include <sycl/reduction.hpp>
1111
#include <sycl/usm.hpp>
1212

sycl/test-e2e/FreeFunctionCommands/launch_task.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#define __DPCPP_ENABLE_UNFINISHED_KHR_EXTENSIONS
88

99
#include <sycl/detail/core.hpp>
10-
#include <sycl/ext/khr/free_function_commands.hpp>
10+
#include <sycl/khr/free_function_commands.hpp>
1111
#include <sycl/usm.hpp>
1212

1313
#include <array>

sycl/test-e2e/FreeFunctionCommands/mem_advise.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#define __DPCPP_ENABLE_UNFINISHED_KHR_EXTENSIONS
88

99
#include <sycl/detail/core.hpp>
10-
#include <sycl/ext/khr/free_function_commands.hpp>
10+
#include <sycl/khr/free_function_commands.hpp>
1111
#include <sycl/usm.hpp>
1212

1313
int main() {

sycl/test-e2e/FreeFunctionCommands/memory_operations.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#define __DPCPP_ENABLE_UNFINISHED_KHR_EXTENSIONS
88

99
#include <sycl/detail/core.hpp>
10-
#include <sycl/ext/khr/free_function_commands.hpp>
10+
#include <sycl/khr/free_function_commands.hpp>
1111
#include <sycl/usm.hpp>
1212

1313
#include "helpers.hpp"

sycl/test-e2e/FreeFunctionCommands/prefetch.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#define __DPCPP_ENABLE_UNFINISHED_KHR_EXTENSIONS
88

99
#include <sycl/detail/core.hpp>
10-
#include <sycl/ext/khr/free_function_commands.hpp>
10+
#include <sycl/khr/free_function_commands.hpp>
1111
#include <sycl/usm.hpp>
1212

1313
int main() {

sycl/unittests/Extensions/FreeFunctionCommands/Barrier.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include <gtest/gtest.h>
55

66
#define __DPCPP_ENABLE_UNFINISHED_KHR_EXTENSIONS
7-
#include <sycl/ext/khr/free_function_commands.hpp>
7+
#include <sycl/khr/free_function_commands.hpp>
88

99
thread_local size_t NumOfEnqueueEventsWaitWithBarrier = 0;
1010

sycl/unittests/Extensions/FreeFunctionCommands/FreeFunctionCommandsEvents.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#include "helpers/MockKernelInfo.hpp"
1414

1515
#define __DPCPP_ENABLE_UNFINISHED_KHR_EXTENSIONS
16-
#include <sycl/ext/khr/free_function_commands.hpp>
16+
#include <sycl/khr/free_function_commands.hpp>
1717

1818
class TestFunctor {
1919
public:

0 commit comments

Comments
 (0)