File tree Expand file tree Collapse file tree 7 files changed +59
-1
lines changed Expand file tree Collapse file tree 7 files changed +59
-1
lines changed Original file line number Diff line number Diff line change
1
+ //===----------------------------------------------------------------------===//
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
+
9
+ #ifndef __CLC_ASYNC_CLC_PREFETCH_H__
10
+ #define __CLC_ASYNC_CLC_PREFETCH_H__
11
+
12
+ #define __CLC_BODY <clc/async/clc_prefetch.inc>
13
+ #include <clc/integer/gentype.inc>
14
+
15
+ #define __CLC_BODY <clc/async/clc_prefetch.inc>
16
+ #include <clc/math/gentype.inc>
17
+
18
+ #endif // __CLC_ASYNC_CLC_PREFETCH_H__
Original file line number Diff line number Diff line change
1
+ // ===----------------------------------------------------------------------===//
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
+
9
+ _CLC_OVERLOAD _CLC_DECL void __clc_prefetch (const global __CLC_GENTYPE *p,
10
+ size_t num_gentypes);
Original file line number Diff line number Diff line change
1
+ async/clc_prefetch.cl
1
2
common/clc_degrees.cl
2
3
common/clc_radians.cl
3
4
common/clc_sign.cl
Original file line number Diff line number Diff line change
1
+ //===----------------------------------------------------------------------===//
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
+
9
+ #include <clc/async/clc_prefetch.h>
10
+ #include <clc/internal/clc.h>
11
+
12
+ #define __CLC_BODY <clc_prefetch.inc>
13
+ #include <clc/integer/gentype.inc>
14
+
15
+ #define __CLC_BODY <clc_prefetch.inc>
16
+ #include <clc/math/gentype.inc>
Original file line number Diff line number Diff line change
1
+ // ===----------------------------------------------------------------------===//
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
+
9
+ _CLC_OVERLOAD _CLC_DEF void __clc_prefetch (const global __CLC_GENTYPE *p,
10
+ size_t num_gentypes) {}
Original file line number Diff line number Diff line change 6
6
//
7
7
//===----------------------------------------------------------------------===//
8
8
9
+ #include <clc/async/clc_prefetch.h>
9
10
#include <clc/opencl/clc.h>
10
11
11
12
#define __CLC_BODY <prefetch.inc>
Original file line number Diff line number Diff line change 7
7
// ===----------------------------------------------------------------------===//
8
8
9
9
_CLC_OVERLOAD _CLC_DEF void prefetch (const global __CLC_GENTYPE *p,
10
- size_t num_gentypes) {}
10
+ size_t num_gentypes) {
11
+ __clc_prefetch (p, num_gentypes);
12
+ }
You can’t perform that action at this time.
0 commit comments