Skip to content

Commit a00416b

Browse files
authored
[SYCL][NFC] Fix compilation warnings (#1364)
Signed-off-by: Andrea Bocci <[email protected]>
1 parent 919ed65 commit a00416b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sycl/plugins/cuda/pi_cuda.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -782,9 +782,9 @@ pi_result cuda_piextDeviceSelectBinary(pi_device device,
782782
}
783783

784784
pi_result cuda_piextGetDeviceFunctionPointer(pi_device device,
785-
pi_device_binary *binaries,
786-
pi_uint32 num_binaries,
787-
pi_device_binary *selected_binary) {
785+
pi_program program,
786+
const char *function_name,
787+
pi_uint64 *function_pointer_ret) {
788788
cl::sycl::detail::pi::die("cuda_piextGetDeviceFunctionPointer not implemented");
789789
return {};
790790
}

sycl/plugins/opencl/pi_opencl.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ pi_result OCL(piextUSMEnqueueMemset)(pi_queue queue, void *ptr, pi_int32 value,
834834
/// \param event is the event that represents this operation
835835
pi_result OCL(piextUSMEnqueueMemcpy)(pi_queue queue, pi_bool blocking,
836836
void *dst_ptr, const void *src_ptr,
837-
pi_int32 size,
837+
size_t size,
838838
pi_uint32 num_events_in_waitlist,
839839
const pi_event *events_waitlist,
840840
pi_event *event) {

0 commit comments

Comments
 (0)