Skip to content

Commit 31b8aaf

Browse files
committed
[SYCL] Fix buffer type
Signed-off-by: Hu, Peisen <[email protected]>
1 parent e95fc69 commit 31b8aaf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/test-e2e/GroupAlgorithm/root_group.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ void testRootGroup() {
7373
sycl::buffer<int> dataBuf{sycl::range{maxWGs * WorkGroupSize}};
7474
const auto range = sycl::nd_range<1>{maxWGs * WorkGroupSize, WorkGroupSize};
7575
struct TestKernel1 {
76-
sycl::buffer<bool> *m_dataBuf;
76+
sycl::buffer<int> *m_dataBuf;
7777
sycl::handler *m_h;
78-
TestKernel1(sycl::buffer<bool> *dataBuf, sycl::handler *h)
78+
TestKernel1(sycl::buffer<int> *dataBuf, sycl::handler *h)
7979
: m_dataBuf(dataBuf), m_h(h) {}
8080
void operator()(sycl::nd_item<1> it) const {
8181
sycl::accessor data{*m_dataBuf, *m_h};

0 commit comments

Comments
 (0)