Searched refs:maybe_add (Results 1 – 1 of 1) sorted by relevance
94 auto maybe_add = [&](Path path, std::function<bool(void)> is_supported) { in DetectRuntimeSupportedPaths() local111 maybe_add(Path::kNeon, []() { return true; }); in DetectRuntimeSupportedPaths()118 maybe_add(Path::kNeonDotprod, [=]() { return cpuinfo->NeonDotprod(); }); in DetectRuntimeSupportedPaths()122 maybe_add(Path::kAvx, in DetectRuntimeSupportedPaths()124 maybe_add(Path::kAvx2Fma, in DetectRuntimeSupportedPaths()126 maybe_add(Path::kAvx512, in DetectRuntimeSupportedPaths()129 (void)maybe_add; in DetectRuntimeSupportedPaths()
Completed in 3 milliseconds