Revision a0fc7fafeee3a6678887d8c8e86c47def4572526 authored by Alexander Root on 04 February 2021, 01:13:53 UTC, committed by GitHub on 04 February 2021, 01:13:53 UTC
* add fixes to overflow analysis in bounds inference Co-authored-by: Steven Johnson <srj@google.com>
1 parent dadbcbf
wasm_cpu_features.cpp
#include "HalideRuntime.h"
#include "cpu_features.h"
namespace Halide {
namespace Runtime {
namespace Internal {
WEAK CpuFeatures halide_get_cpu_features() {
CpuFeatures features;
// There isn't a way to determine what features are available --
// if a feature we need isn't available, we couldn't
// even load. So just declare that all wasm-related features are
// known and available.
features.set_known(halide_target_feature_wasm_simd128);
features.set_available(halide_target_feature_wasm_simd128);
return features;
}
} // namespace Internal
} // namespace Runtime
} // namespace Halide
Computing file changes ...