Skip to content

Commit b25e927

Browse files
authored
fix async_mode bug (#14432)
1 parent 6609507 commit b25e927

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
@@ -359,7 +359,7 @@ struct ggml_backend_cann_context {
359359
ggml_cann_set_device(device);
360360
description = aclrtGetSocName();
361361

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

0 commit comments

Comments
 (0)