Skip to content

Commit

Permalink
Fix werror problems
Browse files Browse the repository at this point in the history
  • Loading branch information
againull committed Sep 30, 2024
1 parent 7676a02 commit 47fafe3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 16 deletions.
6 changes: 2 additions & 4 deletions source/adapters/cuda/program.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -495,10 +495,8 @@ UR_APIEXPORT ur_result_t UR_APICALL urProgramCreateWithBinary(
}

UR_APIEXPORT ur_result_t UR_APICALL urProgramCreateWithBinaryExp(
ur_context_handle_t hContext, uint32_t numDevices,
ur_device_handle_t *phDevices, size_t *pLengths, const uint8_t **ppBinaries,
const ur_program_properties_t *pProperties,
ur_program_handle_t *phProgram) {
ur_context_handle_t, uint32_t, ur_device_handle_t *, size_t *,
const uint8_t **, const ur_program_properties_t *, ur_program_handle_t *) {
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
}

Expand Down
6 changes: 2 additions & 4 deletions source/adapters/hip/program.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -523,10 +523,8 @@ UR_APIEXPORT ur_result_t UR_APICALL urProgramCreateWithBinary(
}

UR_APIEXPORT ur_result_t UR_APICALL urProgramCreateWithBinaryExp(
ur_context_handle_t hContext, uint32_t numDevices,
ur_device_handle_t *phDevices, size_t *pLengths, const uint8_t **ppBinaries,
const ur_program_properties_t *pProperties,
ur_program_handle_t *phProgram) {
ur_context_handle_t, uint32_t, ur_device_handle_t *, size_t *,
const uint8_t **, const ur_program_properties_t *, ur_program_handle_t *) {
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
}

Expand Down
6 changes: 2 additions & 4 deletions source/adapters/native_cpu/program.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,8 @@ UR_APIEXPORT ur_result_t UR_APICALL urProgramCreateWithBinary(
}

UR_APIEXPORT ur_result_t UR_APICALL urProgramCreateWithBinaryExp(
ur_context_handle_t hContext, uint32_t numDevices,
ur_device_handle_t *phDevices, size_t *pLengths, const uint8_t **ppBinaries,
const ur_program_properties_t *pProperties,
ur_program_handle_t *phProgram) {
ur_context_handle_t, uint32_t, ur_device_handle_t *, size_t *,
const uint8_t **, const ur_program_properties_t *, ur_program_handle_t *) {
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
}

Expand Down
6 changes: 2 additions & 4 deletions source/adapters/opencl/program.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,8 @@ UR_APIEXPORT ur_result_t UR_APICALL urProgramCreateWithBinary(
}

UR_APIEXPORT ur_result_t UR_APICALL urProgramCreateWithBinaryExp(
ur_context_handle_t hContext, uint32_t numDevices,
ur_device_handle_t *phDevices, size_t *pLengths, const uint8_t **ppBinaries,
const ur_program_properties_t *pProperties,
ur_program_handle_t *phProgram) {
ur_context_handle_t, uint32_t, ur_device_handle_t *, size_t *,
const uint8_t **, const ur_program_properties_t *, ur_program_handle_t *) {
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
}

Expand Down

0 comments on commit 47fafe3

Please sign in to comment.