1#ifndef HALIDE_CPU_FEATURES_H
2#define HALIDE_CPU_FEATURES_H
32 return (features->
known[i >> 6] & ((
uint64_t)1) << (i & 63)) != 0;
This file declares the routines used by Halide internally in its runtime.
@ halide_target_feature_end
A sentinel. Every target is considered to have this feature, and setting this feature does nothing.
ALWAYS_INLINE bool halide_test_known_cpu_feature(CpuFeatures *features, int i)
WEAK int halide_get_cpu_features(CpuFeatures *features)
ALWAYS_INLINE void halide_set_known_cpu_feature(CpuFeatures *features, int i)
ALWAYS_INLINE bool halide_test_available_cpu_feature(CpuFeatures *features, int i)
ALWAYS_INLINE void halide_set_available_cpu_feature(CpuFeatures *features, int i)
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
unsigned __INT64_TYPE__ uint64_t
uint64_t known[cpu_feature_mask_size]
uint64_t available[cpu_feature_mask_size]