Skip to content

Commit 47fafe3

Browse files
committed
Fix werror problems
1 parent 7676a02 commit 47fafe3

File tree

4 files changed

+8
-16
lines changed

4 files changed

+8
-16
lines changed

source/adapters/cuda/program.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -495,10 +495,8 @@ UR_APIEXPORT ur_result_t UR_APICALL urProgramCreateWithBinary(
495495
}
496496

497497
UR_APIEXPORT ur_result_t UR_APICALL urProgramCreateWithBinaryExp(
498-
ur_context_handle_t hContext, uint32_t numDevices,
499-
ur_device_handle_t *phDevices, size_t *pLengths, const uint8_t **ppBinaries,
500-
const ur_program_properties_t *pProperties,
501-
ur_program_handle_t *phProgram) {
498+
ur_context_handle_t, uint32_t, ur_device_handle_t *, size_t *,
499+
const uint8_t **, const ur_program_properties_t *, ur_program_handle_t *) {
502500
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
503501
}
504502

source/adapters/hip/program.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -523,10 +523,8 @@ UR_APIEXPORT ur_result_t UR_APICALL urProgramCreateWithBinary(
523523
}
524524

525525
UR_APIEXPORT ur_result_t UR_APICALL urProgramCreateWithBinaryExp(
526-
ur_context_handle_t hContext, uint32_t numDevices,
527-
ur_device_handle_t *phDevices, size_t *pLengths, const uint8_t **ppBinaries,
528-
const ur_program_properties_t *pProperties,
529-
ur_program_handle_t *phProgram) {
526+
ur_context_handle_t, uint32_t, ur_device_handle_t *, size_t *,
527+
const uint8_t **, const ur_program_properties_t *, ur_program_handle_t *) {
530528
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
531529
}
532530

source/adapters/native_cpu/program.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,8 @@ UR_APIEXPORT ur_result_t UR_APICALL urProgramCreateWithBinary(
107107
}
108108

109109
UR_APIEXPORT ur_result_t UR_APICALL urProgramCreateWithBinaryExp(
110-
ur_context_handle_t hContext, uint32_t numDevices,
111-
ur_device_handle_t *phDevices, size_t *pLengths, const uint8_t **ppBinaries,
112-
const ur_program_properties_t *pProperties,
113-
ur_program_handle_t *phProgram) {
110+
ur_context_handle_t, uint32_t, ur_device_handle_t *, size_t *,
111+
const uint8_t **, const ur_program_properties_t *, ur_program_handle_t *) {
114112
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
115113
}
116114

source/adapters/opencl/program.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,8 @@ UR_APIEXPORT ur_result_t UR_APICALL urProgramCreateWithBinary(
134134
}
135135

136136
UR_APIEXPORT ur_result_t UR_APICALL urProgramCreateWithBinaryExp(
137-
ur_context_handle_t hContext, uint32_t numDevices,
138-
ur_device_handle_t *phDevices, size_t *pLengths, const uint8_t **ppBinaries,
139-
const ur_program_properties_t *pProperties,
140-
ur_program_handle_t *phProgram) {
137+
ur_context_handle_t, uint32_t, ur_device_handle_t *, size_t *,
138+
const uint8_t **, const ur_program_properties_t *, ur_program_handle_t *) {
141139
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
142140
}
143141

0 commit comments

Comments
 (0)