Skip to content

Commit 31aa6a3

Browse files
committed
Address code comments
Signed-off-by: Larsen, Steffen <[email protected]>
1 parent 0f3b66f commit 31aa6a3

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

sycl/source/feature_test.hpp.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ inline namespace _V1 {
127127
#define SYCL_KHR_DEFAULT_CONTEXT 1
128128
#define SYCL_EXT_INTEL_EVENT_MODE 1
129129
#define SYCL_EXT_ONEAPI_TANGLE 1
130-
#define SYCL_EXT_ONEAPI_IPC 1
130+
#define SYCL_EXT_ONEAPI_INTER_PROCESS_COMMUNICATION 1
131131

132132
// Unfinished KHR extensions. These extensions are only available if the
133133
// __DPCPP_ENABLE_UNFINISHED_KHR_EXTENSIONS macro is defined.

sycl/test-e2e/Experimental/ipc_memory.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ int spawner(int argc, char *argv[]) {
5757
HandleDataSize);
5858
}
5959

60-
// Spawn other process with an arguement.
60+
// Spawn other process with an argument.
6161
std::string Cmd = std::string{argv[0]} + " 1";
6262
std::cout << "Spawning: " << Cmd << std::endl;
6363
std::system(Cmd.c_str());
@@ -116,6 +116,5 @@ int consumer() {
116116
}
117117

118118
int main(int argc, char *argv[]) {
119-
// We either have the spawner (if no extra argument it provided) or
120119
return argc == 1 ? spawner(argc, argv) : consumer();
121120
}

sycl/unittests/Extensions/IPC.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ void *DummyPtr = &DummyInt;
2424
constexpr size_t DummyHandleDataSize = 10;
2525
std::byte DummyHandleData[DummyHandleDataSize] = {
2626
std::byte{9}, std::byte{8}, std::byte{7}, std::byte{6}, std::byte{5},
27-
std::byte{4}, std::byte{3}, std::byte{2}, std::byte{1}};
27+
std::byte{4}, std::byte{3}, std::byte{2}, std::byte{1}, std::byte{0}};
2828

2929
thread_local int urIPCGetMemHandleExp_counter = 0;
3030
thread_local int urIPCPutMemHandleExp_counter = 0;

0 commit comments

Comments
 (0)