Skip to content

Commit 05fec5b

Browse files
authored
ggml : add build-time message to remind about ggml_set_rows (#14661)
ggml-ci
1 parent dcf7f2e commit 05fec5b

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2090,6 +2090,7 @@ static bool ggml_backend_cann_supports_op(ggml_backend_dev_t dev,
20902090
{
20912091
// TODO: add support
20922092
// ref: https://github.com/ggml-org/llama.cpp/pull/14274
2093+
#pragma message("TODO: implement F32, F16, BF16, Q4_0, Q4_1, Q5_0, Q5_1, Q8_0, IQ4_NL support (https://github.com/ggml-org/llama.cpp/pull/14661)")
20932094
return false;
20942095
} break;
20952096
case GGML_OP_CPY: {

ggml/src/ggml-cuda/ggml-cuda.cu

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3222,6 +3222,7 @@ static bool ggml_backend_cuda_device_supports_op(ggml_backend_dev_t dev, const g
32223222
} break;
32233223
case GGML_OP_SET_ROWS:
32243224
{
3225+
#pragma message("TODO: implement BF16, Q4_0, Q4_1, Q5_0, Q5_1, Q8_0, IQ4_NL support (https://github.com/ggml-org/llama.cpp/pull/14661)")
32253226
return (op->type == GGML_TYPE_F32 || op->type == GGML_TYPE_F16) &&
32263227
op->src[0]->type == GGML_TYPE_F32 &&
32273228
op->src[1]->type == GGML_TYPE_I64;

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2280,6 +2280,7 @@ static bool ggml_opencl_supports_op(ggml_backend_dev_t dev, const struct ggml_te
22802280
{
22812281
// TODO: add support
22822282
// ref: https://github.com/ggml-org/llama.cpp/pull/14274
2283+
#pragma message("TODO: implement BF16, Q4_0, Q4_1, Q5_0, Q5_1, Q8_0, IQ4_NL support (https://github.com/ggml-org/llama.cpp/pull/14661)")
22832284
if (op->src[0]->type != GGML_TYPE_F32) {
22842285
return false;
22852286
}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4303,6 +4303,7 @@ static bool ggml_backend_sycl_device_supports_op(ggml_backend_dev_t dev, const g
43034303
{
43044304
// TODO: add support
43054305
// ref: https://github.com/ggml-org/llama.cpp/pull/14274
4306+
#pragma message("TODO: implement BF16, Q4_0, Q4_1, Q5_0, Q5_1, Q8_0, IQ4_NL support (https://github.com/ggml-org/llama.cpp/pull/14661)")
43064307
return (op->type == GGML_TYPE_F32 || (op->type == GGML_TYPE_F16 && op->src[0]->type == GGML_TYPE_F32 && op->src[1]->type == GGML_TYPE_I64));
43074308
} break;
43084309
case GGML_OP_CPY:

0 commit comments

Comments
 (0)