File tree Expand file tree Collapse file tree 2 files changed +5
-119
lines changed Expand file tree Collapse file tree 2 files changed +5
-119
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
// RUN: %clangxx -fsycl %s -o %t.out
2
2
// RUNx: %ACC_RUN_PLACEHOLDER %t.out
3
- // ==--------------- fpga_lsu.cpp - SYCL FPGA pipes test --------------------==//
3
+ // ==----------------- fpga_lsu.cpp - SYCL FPGA LSU test --------------------==//
4
4
//
5
5
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
6
6
// See https://llvm.org/LICENSE.txt for license information.
@@ -29,8 +29,10 @@ int test_lsu(cl::sycl::queue Queue) {
29
29
cl::sycl::buffer<int , 1 > input_buffer (input_data, 1 );
30
30
31
31
Queue.submit ([&](cl::sycl::handler &cgh) {
32
- auto output_accessor = output_buffer.get_access <cl::sycl::access::mode::write>(cgh);
33
- auto input_accessor = input_buffer.get_access <cl::sycl::access::mode::read>(cgh);
32
+ auto output_accessor =
33
+ output_buffer.get_access <cl::sycl::access::mode::write>(cgh);
34
+ auto input_accessor =
35
+ input_buffer.get_access <cl::sycl::access::mode::read>(cgh);
34
36
35
37
cgh.single_task <class kernel >([=] {
36
38
auto input_ptr = input_accessor.get_pointer ();
You can’t perform that action at this time.
0 commit comments