Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 432cbbc

Browse files
authored
[SYCL] Fixes clang-format issue in device_implicitly_copyable.cpp. (#1596)
#1583 introduced a clang-format issue. This fixes the issue. --------- Signed-off-by: Maronas, Marcos <marcos.maronas@intel.com>
1 parent 2f07e69 commit 432cbbc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

SYCL/Basic/device_implicitly_copyable.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ template <> struct sycl::is_device_copyable<ACopyable> : std::true_type {};
2727
template <typename DataT, size_t ArrSize>
2828
void CaptureAndCopy(const DataT *data_arr, const DataT &data_scalar,
2929
DataT *result_arr, DataT *result_scalar, sycl::queue &q) {
30-
// We need to copy data_arr, otherwise when using a device it tries to use the host memory
30+
// We need to copy data_arr, otherwise when using a device it tries to use the
31+
// host memory.
3132
DataT cpy_data_arr[ArrSize];
3233
std::memcpy(cpy_data_arr, data_arr, sizeof(cpy_data_arr));
3334
sycl::buffer<DataT, 1> buf_arr{result_arr, sycl::range<1>(ArrSize)};

0 commit comments

Comments
 (0)