Skip to content

Commit d16203b

Browse files
committed
Include loader functions in API def
1 parent 4d964a4 commit d16203b

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

include/ur_api_funcs.def

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,3 +186,12 @@ _UR_API(urDeviceSelectBinary)
186186
_UR_API(urDeviceGetNativeHandle)
187187
_UR_API(urDeviceCreateWithNativeHandle)
188188
_UR_API(urDeviceGetGlobalTimestamps)
189+
_UR_API(urLoaderConfigCreate)
190+
_UR_API(urLoaderConfigEnableLayer)
191+
_UR_API(urLoaderConfigGetInfo)
192+
_UR_API(urLoaderConfigRelease)
193+
_UR_API(urLoaderConfigRetain)
194+
_UR_API(urLoaderConfigSetCodeLocationCallback)
195+
_UR_API(urLoaderConfigSetMockingEnabled)
196+
_UR_API(urLoaderInit)
197+
_UR_API(urLoaderTearDown)

scripts/templates/api_funcs.def.mako

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,8 @@ from templates import helper as th
1313
_UR_API(${th.make_func_name(n, tags, obj)})
1414
%endfor
1515
%endfor
16+
%for obj in th.get_loader_functions(specs, meta, n, tags):
17+
%if n + "Loader" in obj:
18+
_UR_API(${obj})
19+
%endif
20+
%endfor

0 commit comments

Comments
 (0)