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

Commit bb846ff

Browse files
committed
fix 3-way merge conflicts in union_kernel_param.cpp
1 parent 1127547 commit bb846ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SYCL/KernelParams/union_kernel_param.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ int main(int argc, char **argv) {
2525

2626
sycl::queue queue;
2727
{
28-
sycl::buffer<double, 1> buf(&mydouble, 1);
28+
sycl::buffer<float, 1> buf(&myfloat, 1);
2929
queue.submit([&](sycl::handler &cgh) {
3030
auto acc = buf.get_access<sycl::access::mode::read_write>(cgh);
3131
cgh.single_task<class test>([=]() { acc[0] = x.myfloat; });

0 commit comments

Comments
 (0)