feat update

This commit is contained in:
tqcq
2024-03-30 08:54:42 +08:00
parent 7dd4652964
commit a74cf3219c
4 changed files with 40 additions and 41 deletions

View File

@@ -27,9 +27,5 @@ TEST(Async, parallel_for)
TEST(Async, parallel_reduce)
{
auto r = async::parallel_reduce(async::irange(1, 5), 0, [](int x, int y) {
LOGD("", "{},{}", x, y);
return x + y;
});
LOGD("", "{}", r);
auto r = async::parallel_reduce(async::irange(1, 5), 0, [](int x, int y) { return x + y; });
}

1
src/sanitizer_test.cc Normal file
View File

@@ -0,0 +1 @@
#include <gtest/gtest.h>