build: slightly change files to pass compilation
Compiled using Clang and encountered errors on ambiguous pointer type, implicit conversion NULL to bool, and unused function, etc. As a fix, this patch slightly updates the related codes. Change-Id: I4a73d66293313dda36749036f5c73aaf2a445231
Šī revīzija ir iekļauta:
1 vecāks
4a9c36b32c
revīzija
ee917344ff
7 files changed
+6
-7
No files matched your search
@@ -73,7 +73,7 @@ int main(int argc, char** argv) {
|
||||
|
||||
TestHsa::HsaInstantiate();
|
||||
|
||||
std::thread t[thrs];
|
||||
std::vector<std::thread> t(thrs);
|
||||
for (int n = 0; n < thrs; ++n) {
|
||||
t[n] = std::thread(thread_fun, kiter, diter, agents_number);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user