Skip to content

Commit 241656e

Browse files
bachelor-douMinh141120
authored andcommitted
fix async_mode bug (ggml-org#14432)
1 parent 1a29b38 commit 241656e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/ggml-cann/common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ struct ggml_backend_cann_context {
360360
ggml_cann_set_device(device);
361361
description = aclrtGetSocName();
362362

363-
bool async_mode = parse_bool(get_env("GGML_CANN_ASYNC_MODE").value_or(""));
363+
async_mode = parse_bool(get_env("GGML_CANN_ASYNC_MODE").value_or(""));
364364
GGML_LOG_INFO("%s: device %d async operator submission is %s\n", __func__,
365365
device, async_mode ? "ON" : "OFF");
366366
}

0 commit comments

Comments
 (0)