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

Commit c18962f

Browse files
committed
Apply comments
1 parent 25011da commit c18962f

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

SYCL/ESIMD/regression/Inputs/complex-lib-esimd.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@ sycl::event add(size_t n, sycl::buffer<int, 1> &buf_a,
1414
H.parallel_for(n, [=](sycl::id<1> i) SYCL_ESIMD_KERNEL {
1515
using namespace sycl::ext::intel::experimental::esimd;
1616
unsigned int offset = i * VL * sizeof(int);
17-
simd<int, VL> va;
18-
va.copy_from(acc_a, offset);
19-
simd<int, VL> vb;
20-
vb.copy_from(acc_b, offset);
17+
simd<int, VL> va(acc_a, offset);
18+
simd<int, VL> vb(acc_b, offset);
2119
simd<int, VL> vc = va + vb;
2220
vc.copy_to(acc_c, offset);
2321
});

SYCL/ESIMD/regression/complex-lib-lin.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,8 @@
3030
// RUN: %clangxx -fsycl %t-test.o %t-lib-o.so -o %t-o.run
3131
//
3232
// FIXME: is there better way to handle libraries loading than LD_PRELOAD?
33+
// There is no LIT substitution, which would point to a directory, where
34+
// temporary files are located. There is %T, but it is marked as "deprecated,
35+
// do not use"
3336
// RUN: %GPU_RUN_PLACEHOLDER LD_PRELOAD=%t-lib-a.so %t-a.run
3437
// RUN: %GPU_RUN_PLACEHOLDER LD_PRELOAD=%t-lib-o.so %t-o.run

0 commit comments

Comments
 (0)