Skip to content

Commit 50a12f2

Browse files
committed
Add stub implementation to L0 adapter
1 parent bd86785 commit 50a12f2

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

source/adapters/level_zero/program.cpp

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,26 @@ ur_result_t urProgramCreateWithBinary(
118118
return UR_RESULT_SUCCESS;
119119
}
120120

121+
ur_result_t urProgramCreateWithBinaryExp(
122+
ur_context_handle_t hContext, ///< [in] handle of the context instance
123+
uint32_t numDevices, ///< [in] number of devices
124+
ur_device_handle_t
125+
*phDevices, ///< [in][range(0, numDevices)] a pointer to a list of
126+
///< device handles. The binaries are loaded for devices
127+
///< specified in this list.
128+
size_t *pLengths, ///< [in][range(0, numDevices)] array of sizes of program
129+
///< binaries specified by `pBinaries` (in bytes).
130+
const uint8_t *
131+
*ppBinaries, ///< [in][range(0, numDevices)] pointer to program binaries
132+
///< to be loaded for devices specified by `phDevices`.
133+
const ur_program_properties_t *
134+
pProperties, ///< [in][optional] pointer to program creation properties.
135+
ur_program_handle_t
136+
*phProgram ///< [out] pointer to handle of Program object created.
137+
) {
138+
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
139+
}
140+
121141
ur_result_t urProgramBuild(
122142
ur_context_handle_t Context, ///< [in] handle of the context instance.
123143
ur_program_handle_t Program, ///< [in] Handle of the program to build.

0 commit comments

Comments
 (0)