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

Commit 31fe629

Browse files
committed
Address PR comments
1 parent ff8890c commit 31fe629

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

SYCL/ESIMD/regression/copyto_char_test.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ using shared_vector = std::vector<DataT, shared_allocator<DataT>>;
2626

2727
using DataT = char;
2828

29-
template <int NumElems, typename T1> int test_to_copy() {
29+
template <int NumElems> int test_to_copy() {
3030
sycl::queue queue;
3131
constexpr int NumSelectedElems = NumElems / 3;
3232
constexpr int Stride = 2;
@@ -52,7 +52,7 @@ template <int NumElems, typename T1> int test_to_copy() {
5252
DataT *ref_data_for_fill_ptr = ref_data_for_fill.data();
5353
DataT *const out_ptr = result.data();
5454

55-
cgh.single_task<T1>([=]() SYCL_ESIMD_KERNEL {
55+
cgh.single_task([=]() SYCL_ESIMD_KERNEL {
5656
simd<DataT, NumElems> src_simd_obj;
5757
src_simd_obj.copy_from(init_ref_ptr);
5858
simd<DataT, NumSelectedElems> dst_simd_obj;
@@ -114,11 +114,11 @@ template <int NumElems, typename T1> int test_to_copy() {
114114
int main() {
115115
int test_result = 0;
116116

117-
test_result |= test_to_copy<16, class Kernel>();
118-
test_result |= test_to_copy<32 + 8, class Kernel1>();
119-
test_result |= test_to_copy<32 + 10, class Kernel2>();
120-
test_result |= test_to_copy<10, class Kernel3>();
121-
test_result |= test_to_copy<8, class Kernel4>();
117+
test_result |= test_to_copy<16>();
118+
test_result |= test_to_copy<32 + 8>();
119+
test_result |= test_to_copy<32 + 10>();
120+
test_result |= test_to_copy<10>();
121+
test_result |= test_to_copy<8>();
122122

123123
if (!test_result) {
124124
std::cout << "Test passed" << std::endl;

0 commit comments

Comments
 (0)