Skip to content

Commit 39ab2b9

Browse files
committed
fixup
1 parent 6913660 commit 39ab2b9

File tree

1 file changed

+2
-2
lines changed
  • sycl/include/sycl/ext/intel/experimental

1 file changed

+2
-2
lines changed

sycl/include/sycl/ext/intel/experimental/pipes.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class pipe : public pipe_base {
104104

105105
const void *HostPipePtr = &m_Storage;
106106
const std::string PipeName = pipe_base::get_pipe_name(HostPipePtr);
107-
const void *DataPtr = &Data;
107+
void *DataPtr = &Data;
108108

109109
event E = Q.submit([=](handler &CGH) {
110110
CGH.ext_intel_write_host_pipe(
@@ -249,7 +249,7 @@ class pipe : public pipe_base {
249249
}
250250
const void *HostPipePtr = &m_Storage;
251251
const std::string PipeName = pipe_base::get_pipe_name(HostPipePtr);
252-
const void *DataPtr = &Data;
252+
void *DataPtr = &Data;
253253
event E = Q.submit([=](handler &CGH) {
254254
CGH.ext_intel_write_host_pipe(PipeName, (void *)DataPtr,
255255
sizeof(_dataT), true /*blocking */);

0 commit comments

Comments
 (0)