Skip to content

Commit bcec635

Browse files
committed
remove unnecessary cast
1 parent 05a7dff commit bcec635

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ class pipe : public pipe_base {
251251
const std::string PipeName = pipe_base::get_pipe_name(HostPipePtr);
252252
void *DataPtr = const_cast<void *>(&Data);
253253
event E = Q.submit([=](handler &CGH) {
254-
CGH.ext_intel_write_host_pipe(PipeName, (void *)DataPtr,
254+
CGH.ext_intel_write_host_pipe(PipeName, DataPtr,
255255
sizeof(_dataT), true /*blocking */);
256256
});
257257
E.wait();

0 commit comments

Comments
 (0)