File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed
sycl/include/sycl/ext/intel Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 8
8
9
9
#pragma once
10
10
#include < sycl/ext/intel/fpga_device_selector.hpp>
11
+ #include < sycl/ext/intel/fpga_loop_fuse.hpp>
11
12
#include < sycl/ext/intel/fpga_lsu.hpp>
12
13
#include < sycl/ext/intel/fpga_reg.hpp>
13
14
#include < sycl/ext/intel/pipes.hpp>
Original file line number Diff line number Diff line change
1
+ // ==--------- fpga_loop_fuse.hpp --- SYCL FPGA Loop Fuse Extension ---------==//
2
+ //
3
+ // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
+ // See https://llvm.org/LICENSE.txt for license information.
5
+ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
+ //
7
+ // ===----------------------------------------------------------------------===//
8
+ #pragma once
9
+
10
+ __SYCL_INLINE_NAMESPACE (cl) {
11
+ namespace sycl {
12
+ namespace ext {
13
+ namespace intel {
14
+
15
+ template <int _N = 1 , typename _F>
16
+ void fpga_loop_fuse [[intel::loop_fuse(_N)]] (_F f) {
17
+ f ();
18
+ }
19
+
20
+ template <int _N = 1 , typename _F>
21
+ void fpga_loop_fuse_independent [[intel::loop_fuse_independent(_N)]] (_F f) {
22
+ f ();
23
+ }
24
+
25
+ } // namespace intel
26
+ } // namespace ext
27
+ } // namespace sycl
28
+ } // __SYCL_INLINE_NAMESPACE(cl)
You can’t perform that action at this time.
0 commit comments