metal : print node names for debugging (#17882)
This commit is contained in:
parent
86a3f0fad8
commit
6b82eb7883
|
|
@ -221,7 +221,7 @@ static int ggml_metal_op_encode_impl(ggml_metal_op_t ctx, int idx) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ctx->debug_graph > 0) {
|
if (ctx->debug_graph > 0) {
|
||||||
GGML_LOG_DEBUG("%s: node[%5d] - %-12s %s\n", __func__, idx, ggml_op_name(node->op), is_concurrent ? "(concurrent)" : "");
|
GGML_LOG_DEBUG("%s: node[%5d] - %-12s %-12s %s\n", __func__, idx, ggml_op_name(node->op), ggml_get_name(node), is_concurrent ? "(concurrent)" : "");
|
||||||
}
|
}
|
||||||
if (ctx->debug_graph > 1) {
|
if (ctx->debug_graph > 1) {
|
||||||
GGML_TENSOR_LOCALS( int64_t, ne0, node->src[0], ne);
|
GGML_TENSOR_LOCALS( int64_t, ne0, node->src[0], ne);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue