Skip to content

Commit 3ba6bba

Browse files
committed
Add header to .def file
1 parent d16203b commit 3ba6bba

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

include/ur_api_funcs.def

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
11

2+
/*
3+
*
4+
* Copyright (C) 2024 Intel Corporation
5+
*
6+
* Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions.
7+
* See LICENSE.TXT
8+
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
9+
*
10+
* @file ur_api_funcs.def
11+
* @version v0.11-r0
12+
*
13+
*/
14+
15+
// Auto-generated file, do not edit.
16+
217
_UR_API(urPlatformGet)
318
_UR_API(urPlatformGetInfo)
419
_UR_API(urPlatformGetNativeHandle)

scripts/templates/api_funcs.def.mako

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,21 @@ from templates import helper as th
88
x=tags['$x']
99
X=x.upper()
1010
%>
11+
/*
12+
*
13+
* Copyright (C) 2024 Intel Corporation
14+
*
15+
* Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions.
16+
* See LICENSE.TXT
17+
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
18+
*
19+
* @file ${name}.def
20+
* @version v${ver}-r${rev}
21+
*
22+
*/
23+
24+
// Auto-generated file, do not edit.
25+
1126
%for tbl in th.get_pfntables(specs, meta, n, tags):
1227
%for obj in tbl['functions']:
1328
_UR_API(${th.make_func_name(n, tags, obj)})

0 commit comments

Comments
 (0)