Skip to content

Commit

Permalink
Add header to .def file
Browse files Browse the repository at this point in the history
  • Loading branch information
callumfare committed Sep 4, 2024
1 parent d16203b commit 3ba6bba
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
15 changes: 15 additions & 0 deletions include/ur_api_funcs.def
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@

/*
*
* Copyright (C) 2024 Intel Corporation
*
* Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions.
* See LICENSE.TXT
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*
* @file ur_api_funcs.def
* @version v0.11-r0
*
*/

// Auto-generated file, do not edit.

_UR_API(urPlatformGet)
_UR_API(urPlatformGetInfo)
_UR_API(urPlatformGetNativeHandle)
Expand Down
15 changes: 15 additions & 0 deletions scripts/templates/api_funcs.def.mako
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,21 @@ from templates import helper as th
x=tags['$x']
X=x.upper()
%>
/*
*
* Copyright (C) 2024 Intel Corporation
*
* Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions.
* See LICENSE.TXT
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*
* @file ${name}.def
* @version v${ver}-r${rev}
*
*/

// Auto-generated file, do not edit.

%for tbl in th.get_pfntables(specs, meta, n, tags):
%for obj in tbl['functions']:
_UR_API(${th.make_func_name(n, tags, obj)})
Expand Down

0 comments on commit 3ba6bba

Please sign in to comment.