diff --git a/SYCL/Basic/device_implicitly_copyable.cpp b/SYCL/Basic/device_implicitly_copyable.cpp index 203c1ff190..6d00d84a4d 100644 --- a/SYCL/Basic/device_implicitly_copyable.cpp +++ b/SYCL/Basic/device_implicitly_copyable.cpp @@ -27,7 +27,8 @@ template <> struct sycl::is_device_copyable : std::true_type {}; template void CaptureAndCopy(const DataT *data_arr, const DataT &data_scalar, DataT *result_arr, DataT *result_scalar, sycl::queue &q) { - // We need to copy data_arr, otherwise when using a device it tries to use the host memory + // We need to copy data_arr, otherwise when using a device it tries to use the + // host memory. DataT cpy_data_arr[ArrSize]; std::memcpy(cpy_data_arr, data_arr, sizeof(cpy_data_arr)); sycl::buffer buf_arr{result_arr, sycl::range<1>(ArrSize)};