Skip to content

Commit 451cbef

Browse files
committed
Add comment about rope mode
1 parent bcf18d8 commit 451cbef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4009,6 +4009,7 @@ static bool ggml_backend_sycl_device_supports_op(ggml_backend_dev_t dev, const g
40094009
case GGML_OP_ROPE:
40104010
{
40114011
const int mode = ((const int32_t *) op->op_params)[2];
4012+
// mode is not used as a bitmask in practice, the various rope type modes are independent implementations
40124013
if (mode == GGML_ROPE_TYPE_MROPE) {
40134014
return false;
40144015
}

0 commit comments

Comments
 (0)