Skip to content

Commit 2f577c5

Browse files
committed
ggml : add TODOs for adding GGML_OP_SET_ROWS support in the backends
ggml-ci
1 parent 1c0d991 commit 2f577c5

File tree

4 files changed

+24
-0
lines changed

4 files changed

+24
-0
lines changed

ggml/src/ggml-cann/ggml-cann.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2086,6 +2086,12 @@ static bool ggml_backend_cann_supports_op(ggml_backend_dev_t dev,
20862086
return false;
20872087
}
20882088
} break;
2089+
case GGML_OP_SET_ROWS:
2090+
{
2091+
// TODO: add support
2092+
// ref: https://github.com/ggml-org/llama.cpp/pull/14274
2093+
return false;
2094+
} break;
20892095
case GGML_OP_CPY: {
20902096
ggml_tensor *src = op->src[0];
20912097
if ((op->type != GGML_TYPE_F32 && op->type != GGML_TYPE_F16) ||

ggml/src/ggml-opencl/ggml-opencl.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2198,6 +2198,12 @@ static bool ggml_opencl_supports_op(ggml_backend_dev_t dev, const struct ggml_te
21982198
default:
21992199
return false;
22002200
}
2201+
case GGML_OP_SET_ROWS:
2202+
{
2203+
// TODO: add support
2204+
// ref: https://github.com/ggml-org/llama.cpp/pull/14274
2205+
return false;
2206+
} break;
22012207
case GGML_OP_CPY:
22022208
case GGML_OP_DUP:
22032209
case GGML_OP_CONT:

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4285,6 +4285,12 @@ static bool ggml_backend_sycl_device_supports_op(ggml_backend_dev_t dev, const g
42854285
return false;
42864286
}
42874287
}
4288+
case GGML_OP_SET_ROWS:
4289+
{
4290+
// TODO: add support
4291+
// ref: https://github.com/ggml-org/llama.cpp/pull/14274
4292+
return false;
4293+
} break;
42884294
case GGML_OP_CPY:
42894295
{
42904296
ggml_type src0_type = op->src[0]->type;

ggml/src/ggml-vulkan/ggml-vulkan.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10279,6 +10279,12 @@ static bool ggml_backend_vk_device_supports_op(ggml_backend_dev_t dev, const ggm
1027910279
return false;
1028010280
}
1028110281
} break;
10282+
case GGML_OP_SET_ROWS:
10283+
{
10284+
// TODO: add support
10285+
// ref: https://github.com/ggml-org/llama.cpp/pull/14274
10286+
return false;
10287+
} break;
1028210288
case GGML_OP_CONT:
1028310289
case GGML_OP_CPY:
1028410290
case GGML_OP_DUP:

0 commit comments

Comments
 (0)