1 diff -aur a/src/core/runtime/runtime.cpp b/src/core/runtime/runtime.cpp
2 --- a/src/core/runtime/runtime.cpp 2022-12-14 22:47:12.000000000 +0800
3 +++ b/src/core/runtime/runtime.cpp 2023-01-29 09:53:55.084690262 +0800
6 if (!ld(&hsa_api_table_.hsa_api,
7 hsa_api_table_.hsa_api.version.major_id,
8 - failed.size(), &failed[0])) {
9 + failed.size(), failed.data())) {
10 failed.push_back(lib.name_.c_str());