Skip to content

Commit 5a95da7

Browse files
committed
Remove a couple of left over Exp references.
1 parent 62685f4 commit 5a95da7

File tree

3 files changed

+2
-20
lines changed

3 files changed

+2
-20
lines changed

source/adapters/cuda/program.cpp

-9
Original file line numberDiff line numberDiff line change
@@ -261,15 +261,6 @@ UR_APIEXPORT ur_result_t UR_APICALL urProgramBuild(ur_program_handle_t hProgram,
261261
return Result;
262262
}
263263

264-
UR_APIEXPORT ur_result_t UR_APICALL urProgramLinkExp(
265-
ur_context_handle_t, uint32_t, ur_device_handle_t *, uint32_t,
266-
const ur_program_handle_t *, const char *, ur_program_handle_t *phProgram) {
267-
if (nullptr != phProgram) {
268-
*phProgram = nullptr;
269-
}
270-
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
271-
}
272-
273264
/// Creates a new UR program object that is the outcome of linking all input
274265
/// programs.
275266
/// \TODO Implement linker options, requires mapping of OpenCL to CUDA

source/adapters/native_cpu/program.cpp

-9
Original file line numberDiff line numberDiff line change
@@ -146,15 +146,6 @@ urProgramLink(ur_context_handle_t hContext, uint32_t numDevices,
146146
DIE_NO_IMPLEMENTATION
147147
}
148148

149-
UR_APIEXPORT ur_result_t UR_APICALL urProgramLinkExp(
150-
ur_context_handle_t, uint32_t, ur_device_handle_t *, uint32_t,
151-
const ur_program_handle_t *, const char *, ur_program_handle_t *phProgram) {
152-
if (nullptr != phProgram) {
153-
*phProgram = nullptr;
154-
}
155-
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
156-
}
157-
158149
UR_APIEXPORT ur_result_t UR_APICALL
159150
urProgramRetain(ur_program_handle_t hProgram) {
160151
hProgram->incrementReferenceCount();

source/loader/layers/sanitizer/ur_sanddi.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ __urdlllocal ur_result_t UR_APICALL urProgramBuild(
201201
}
202202

203203
///////////////////////////////////////////////////////////////////////////////
204-
/// @brief Intercept function for urProgramLinkExp
204+
/// @brief Intercept function for urProgramLink
205205
ur_result_t UR_APICALL urProgramLink(
206206
ur_context_handle_t hContext, ///< [in] handle of the context instance.
207207
uint32_t numDevices, ///< [in] number of devices
@@ -221,7 +221,7 @@ ur_result_t UR_APICALL urProgramLink(
221221
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
222222
}
223223

224-
getContext()->logger.debug("==== urProgramLinkExp");
224+
getContext()->logger.debug("==== urProgramLink");
225225

226226
UR_CALL(pfnProgramLink(hContext, numDevices, phDevices, count, phPrograms,
227227
pOptions, phProgram));

0 commit comments

Comments
 (0)