Skip to content

Commit a20dde3

Browse files
committed
SYCL: reg_get_proc_address func, update to the current func signature
1 parent 82ce602 commit a20dde3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

ggml/src/ggml-sycl/ggml-sycl.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4639,10 +4639,9 @@ static ggml_backend_dev_t ggml_backend_sycl_reg_get_device(ggml_backend_reg_t re
46394639
static void *ggml_backend_sycl_reg_get_proc_address(ggml_backend_reg_t reg, const char *name) {
46404640
GGML_UNUSED(reg);
46414641

4642-
// TODO: update to the current function signature
4643-
//if (strcmp(name, "ggml_backend_split_buffer_type") == 0) {
4644-
// return (void *)ggml_backend_sycl_split_buffer_type;
4645-
//}
4642+
if (strcmp(name, "ggml_backend_split_buffer_type") == 0) {
4643+
return (void *)ggml_backend_sycl_split_buffer_type;
4644+
}
46464645

46474646
// SYCL doesn't support registering host memory, left here for reference
46484647
// "ggml_backend_register_host_buffer"

0 commit comments

Comments
 (0)