WEAK                5 src/runtime/aarch64_cpu_features.cpp WEAK CpuFeatures halide_get_cpu_features() {
WEAK                7 src/runtime/android_host_cpu_count.cpp WEAK int halide_host_cpu_count() {
WEAK               13 src/runtime/android_io.cpp WEAK void halide_print_impl(void *user_context, const char * str) {
WEAK               55 src/runtime/android_opengl_context.cpp WEAK int halide_opengl_create_context(void *user_context) {
WEAK              109 src/runtime/android_opengl_context.cpp WEAK void *halide_opengl_get_proc_address(void *user_context, const char *name) {
WEAK               10 src/runtime/android_tempfile.cpp WEAK int halide_create_temp_file(void *user_context, const char *prefix, const char *suffix,
WEAK                5 src/runtime/arm_cpu_features.cpp WEAK CpuFeatures halide_get_cpu_features() {
WEAK               18 src/runtime/cache.cpp WEAK void debug_print_buffer(void *user_context, const char *buf_name, const halide_buffer_t &buf) {
WEAK               29 src/runtime/cache.cpp WEAK char to_hex_char(int val) {
WEAK               36 src/runtime/cache.cpp WEAK void debug_print_key(void *user_context, const char *msg, const uint8_t *cache_key, int32_t key_size) {
WEAK               63 src/runtime/cache.cpp WEAK bool keys_equal(const uint8_t *key1, const uint8_t *key2, size_t key_size) {
WEAK               68 src/runtime/cache.cpp WEAK bool buffer_has_shape(const halide_buffer_t *buf, const halide_dimension_t *shape) {
WEAK              113 src/runtime/cache.cpp WEAK CacheBlockHeader *get_pointer_to_header(uint8_t * host) {
WEAK              117 src/runtime/cache.cpp WEAK bool CacheEntry::init(const uint8_t *cache_key, size_t cache_key_size,
WEAK              176 src/runtime/cache.cpp WEAK void CacheEntry::destroy() {
WEAK              184 src/runtime/cache.cpp WEAK uint32_t djb_hash(const uint8_t *key, size_t key_size)  {
WEAK              192 src/runtime/cache.cpp WEAK halide_mutex memoization_lock;
WEAK              196 src/runtime/cache.cpp WEAK CacheEntry *cache_entries[kHashTableSize];
WEAK              198 src/runtime/cache.cpp WEAK CacheEntry *most_recently_used = NULL;
WEAK              199 src/runtime/cache.cpp WEAK CacheEntry *least_recently_used = NULL;
WEAK              202 src/runtime/cache.cpp WEAK int64_t max_cache_size = kDefaultCacheSize;
WEAK              203 src/runtime/cache.cpp WEAK int64_t current_cache_size = 0;
WEAK              206 src/runtime/cache.cpp WEAK void validate_cache() {
WEAK              256 src/runtime/cache.cpp WEAK void prune_cache() {
WEAK              318 src/runtime/cache.cpp WEAK void halide_memoization_cache_set_size(int64_t size) {
WEAK              329 src/runtime/cache.cpp WEAK int halide_memoization_cache_lookup(void *user_context, const uint8_t *cache_key, int32_t size,
WEAK              420 src/runtime/cache.cpp WEAK int halide_memoization_cache_store(void *user_context, const uint8_t *cache_key, int32_t size,
WEAK              531 src/runtime/cache.cpp WEAK void halide_memoization_cache_release(void *user_context, void *host) {
WEAK              551 src/runtime/cache.cpp WEAK void halide_memoization_cache_cleanup() {
WEAK              572 src/runtime/cache.cpp WEAK void halide_cache_cleanup() {
WEAK                4 src/runtime/can_use_target.cpp WEAK halide_can_use_target_features_t custom_can_use_target_features = halide_default_can_use_target_features;
WEAK                9 src/runtime/can_use_target.cpp WEAK halide_can_use_target_features_t halide_set_custom_can_use_target_features(halide_can_use_target_features_t fn) {
WEAK               15 src/runtime/can_use_target.cpp WEAK int halide_can_use_target_features(uint64_t features) {
WEAK               19 src/runtime/can_use_target.cpp WEAK int halide_default_can_use_target_features(uint64_t features) {
WEAK               12 src/runtime/cuda.cpp #define CUDA_FN(ret, fn, args) WEAK ret (CUDAAPI *fn)args;
WEAK               13 src/runtime/cuda.cpp #define CUDA_FN_3020(ret, fn, fn_3020, args) WEAK ret (CUDAAPI *fn)args;
WEAK               14 src/runtime/cuda.cpp #define CUDA_FN_4000(ret, fn, fn_4000, args) WEAK ret (CUDAAPI *fn)args;
WEAK               19 src/runtime/cuda.cpp WEAK void *lib_cuda = NULL;
WEAK               21 src/runtime/cuda.cpp extern "C" WEAK void *halide_cuda_get_symbol(void *user_context, const char *name) {
WEAK               60 src/runtime/cuda.cpp WEAK void load_libcuda(void *user_context) {
WEAK               70 src/runtime/cuda.cpp extern WEAK halide_device_interface_t cuda_device_interface;
WEAK               72 src/runtime/cuda.cpp WEAK const char *get_error_name(CUresult error);
WEAK               73 src/runtime/cuda.cpp WEAK CUresult create_cuda_context(void *user_context, CUcontext *ctx);
WEAK               76 src/runtime/cuda.cpp CUcontext WEAK context = 0;
WEAK               77 src/runtime/cuda.cpp volatile int WEAK thread_lock = 0;
WEAK               95 src/runtime/cuda.cpp WEAK int halide_cuda_acquire_context(void *user_context, CUcontext *ctx, bool create = true) {
WEAK              117 src/runtime/cuda.cpp WEAK int halide_cuda_release_context(void *user_context) {
WEAK              170 src/runtime/cuda.cpp WEAK module_state *state_list = NULL;
WEAK              172 src/runtime/cuda.cpp WEAK CUresult create_cuda_context(void *user_context, CUcontext *ctx) {
WEAK              335 src/runtime/cuda.cpp WEAK bool validate_device_pointer(void *user_context, halide_buffer_t* buf, size_t size=0) {
WEAK              366 src/runtime/cuda.cpp WEAK int halide_cuda_initialize_kernels(void *user_context, void **state_ptr, const char* ptx_src, int size) {
WEAK              428 src/runtime/cuda.cpp WEAK int halide_cuda_device_free(void *user_context, halide_buffer_t* buf) {
WEAK              472 src/runtime/cuda.cpp WEAK int halide_cuda_device_release(void *user_context) {
WEAK              527 src/runtime/cuda.cpp WEAK int halide_cuda_device_malloc(void *user_context, halide_buffer_t *buf) {
WEAK              581 src/runtime/cuda.cpp WEAK int do_multidimensional_copy(void *user_context, const device_copy &c, uint64_t dst, uint64_t src, int d, bool d_to_h) {
WEAK              613 src/runtime/cuda.cpp WEAK int halide_cuda_copy_to_device(void *user_context, halide_buffer_t* buf) {
WEAK              645 src/runtime/cuda.cpp WEAK int halide_cuda_copy_to_host(void *user_context, halide_buffer_t* buf) {
WEAK              678 src/runtime/cuda.cpp WEAK int halide_cuda_device_sync(void *user_context, struct halide_buffer_t *) {
WEAK              706 src/runtime/cuda.cpp WEAK int halide_cuda_run(void *user_context,
WEAK              805 src/runtime/cuda.cpp WEAK int halide_cuda_device_and_host_malloc(void *user_context, struct halide_buffer_t *buf) {
WEAK              809 src/runtime/cuda.cpp WEAK int halide_cuda_device_and_host_free(void *user_context, struct halide_buffer_t *buf) {
WEAK              813 src/runtime/cuda.cpp WEAK int halide_cuda_wrap_device_ptr(void *user_context, struct halide_buffer_t *buf, uintptr_t device_ptr) {
WEAK              832 src/runtime/cuda.cpp WEAK uintptr_t halide_cuda_detach_device_ptr(void *user_context, struct halide_buffer_t *buf) {
WEAK              844 src/runtime/cuda.cpp WEAK uintptr_t halide_cuda_get_device_ptr(void *user_context, struct halide_buffer_t *buf) {
WEAK              852 src/runtime/cuda.cpp WEAK const halide_device_interface_t *halide_cuda_device_interface() {
WEAK              858 src/runtime/cuda.cpp WEAK void halide_cuda_cleanup() {
WEAK              867 src/runtime/cuda.cpp WEAK const char *get_error_name(CUresult error) {
WEAK              902 src/runtime/cuda.cpp WEAK halide_device_interface_t cuda_device_interface = {
WEAK               43 src/runtime/device_buffer_utils.h WEAK void copy_memory_helper(const device_copy &copy, int d, int64_t off) {
WEAK               59 src/runtime/device_buffer_utils.h WEAK void copy_memory(const device_copy &copy, void *user_context) {
WEAK               68 src/runtime/device_buffer_utils.h WEAK device_copy make_host_to_device_copy(const halide_buffer_t *buf) {
WEAK              138 src/runtime/device_buffer_utils.h WEAK device_copy make_device_to_host_copy(const halide_buffer_t *buf) {
WEAK               27 src/runtime/device_interface.cpp WEAK halide_mutex device_copy_mutex;
WEAK               29 src/runtime/device_interface.cpp WEAK int copy_to_host_already_locked(void *user_context, struct halide_buffer_t *buf) {
WEAK               62 src/runtime/device_interface.cpp WEAK void halide_device_release(void *user_context, const halide_device_interface_t *device_interface) {
WEAK               68 src/runtime/device_interface.cpp WEAK int halide_copy_to_host(void *user_context, struct halide_buffer_t *buf) {
WEAK               78 src/runtime/device_interface.cpp WEAK int halide_copy_to_device(void *user_context,
WEAK              150 src/runtime/device_interface.cpp WEAK int halide_device_sync(void *user_context, struct halide_buffer_t *buf) {
WEAK              168 src/runtime/device_interface.cpp WEAK int halide_device_malloc(void *user_context, struct halide_buffer_t *buf,
WEAK              199 src/runtime/device_interface.cpp WEAK int halide_device_free(void *user_context, struct halide_buffer_t *buf) {
WEAK              223 src/runtime/device_interface.cpp WEAK int halide_weak_device_free(void *user_context, struct halide_buffer_t *buf) {
WEAK              229 src/runtime/device_interface.cpp WEAK void halide_device_free_as_destructor(void *user_context, void *obj) {
WEAK              238 src/runtime/device_interface.cpp WEAK int halide_device_and_host_malloc(void *user_context, struct halide_buffer_t *buf,
WEAK              270 src/runtime/device_interface.cpp WEAK int halide_device_and_host_free(void *user_context, struct halide_buffer_t *buf) {
WEAK              300 src/runtime/device_interface.cpp WEAK int halide_default_device_and_host_malloc(void *user_context, struct halide_buffer_t *buf,
WEAK              315 src/runtime/device_interface.cpp WEAK int halide_default_device_and_host_free(void *user_context, struct halide_buffer_t *buf,
WEAK              329 src/runtime/device_interface.cpp WEAK void halide_device_and_host_free_as_destructor(void *user_context, void *obj) {
WEAK              335 src/runtime/device_interface.cpp WEAK void halide_device_host_nop_free(void *user_context, void *obj) {
WEAK               24 src/runtime/device_interface.h extern WEAK int halide_default_device_and_host_malloc(void *user_context, struct halide_buffer_t *buf,
WEAK               26 src/runtime/device_interface.h extern WEAK int halide_default_device_and_host_free(void *user_context, struct halide_buffer_t *buf,
WEAK                6 src/runtime/errors.cpp WEAK int halide_error_bounds_inference_call_failed(void *user_context, const char *extern_stage_name, int result) {
WEAK               13 src/runtime/errors.cpp WEAK int halide_error_extern_stage_failed(void *user_context, const char *extern_stage_name, int result) {
WEAK               20 src/runtime/errors.cpp WEAK int halide_error_explicit_bounds_too_small(void *user_context, const char *func_name, const char *var_name,
WEAK               30 src/runtime/errors.cpp WEAK int halide_error_bad_type(void *user_context, const char *func_name,
WEAK               42 src/runtime/errors.cpp WEAK int halide_error_access_out_of_bounds(void *user_context, const char *func_name,
WEAK               59 src/runtime/errors.cpp WEAK int halide_error_buffer_allocation_too_large(void *user_context, const char *buffer_name, uint64_t allocation_size, uint64_t max_size) {
WEAK               67 src/runtime/errors.cpp WEAK int halide_error_buffer_extents_negative(void *user_context, const char *buffer_name, int dimension, int extent) {
WEAK               75 src/runtime/errors.cpp WEAK int halide_error_buffer_extents_too_large(void *user_context, const char *buffer_name, int64_t actual_size, int64_t max_size) {
WEAK               83 src/runtime/errors.cpp WEAK int halide_error_constraints_make_required_region_smaller(void *user_context, const char *buffer_name,
WEAK               97 src/runtime/errors.cpp WEAK int halide_error_constraint_violated(void *user_context, const char *var, int val,
WEAK              105 src/runtime/errors.cpp WEAK int halide_error_param_too_small_i64(void *user_context, const char *param_name,
WEAK              114 src/runtime/errors.cpp WEAK int halide_error_param_too_small_u64(void *user_context, const char *param_name,
WEAK              123 src/runtime/errors.cpp WEAK int halide_error_param_too_small_f64(void *user_context, const char *param_name,
WEAK              132 src/runtime/errors.cpp WEAK int halide_error_param_too_large_i64(void *user_context, const char *param_name,
WEAK              141 src/runtime/errors.cpp WEAK int halide_error_param_too_large_u64(void *user_context, const char *param_name,
WEAK              150 src/runtime/errors.cpp WEAK int halide_error_param_too_large_f64(void *user_context, const char *param_name,
WEAK              159 src/runtime/errors.cpp WEAK int halide_error_out_of_memory(void *user_context) {
WEAK              165 src/runtime/errors.cpp WEAK int halide_error_buffer_argument_is_null(void *user_context, const char *buffer_name) {
WEAK              171 src/runtime/errors.cpp WEAK int halide_error_debug_to_file_failed(void *user_context, const char *func,
WEAK              180 src/runtime/errors.cpp WEAK int halide_error_failed_to_upgrade_buffer_t(void *user_context,
WEAK              188 src/runtime/errors.cpp WEAK int halide_error_failed_to_downgrade_buffer_t(void *user_context,
WEAK              196 src/runtime/errors.cpp WEAK int halide_error_unaligned_host_ptr(void *user_context, const char *func,
WEAK              205 src/runtime/errors.cpp WEAK int halide_error_bad_fold(void *user_context, const char *func_name, const char *var_name,
WEAK              213 src/runtime/errors.cpp WEAK int halide_error_fold_factor_too_small(void *user_context, const char *func_name, const char *var_name,
WEAK              223 src/runtime/errors.cpp WEAK int halide_error_requirement_failed(void *user_context, const char *condition, const char *message) {
WEAK              229 src/runtime/errors.cpp WEAK int halide_error_specialize_fail(void *user_context, const char *message) {
WEAK                4 src/runtime/fake_thread_pool.cpp WEAK int halide_do_task(void *user_context, halide_task_t f, int idx,
WEAK               10 src/runtime/fake_thread_pool.cpp WEAK int default_do_task(void *user_context, halide_task_t f, int idx,
WEAK               15 src/runtime/fake_thread_pool.cpp WEAK int default_do_par_for(void *user_context, halide_task_t f,
WEAK               26 src/runtime/fake_thread_pool.cpp WEAK halide_do_task_t custom_do_task = default_do_task;
WEAK               27 src/runtime/fake_thread_pool.cpp WEAK halide_do_par_for_t custom_do_par_for = default_do_par_for;
WEAK               33 src/runtime/fake_thread_pool.cpp WEAK halide_thread *halide_spawn_thread(void (*f)(void *), void *closure) {
WEAK               39 src/runtime/fake_thread_pool.cpp WEAK void halide_mutex_destroy(halide_mutex *mutex_arg) {
WEAK               42 src/runtime/fake_thread_pool.cpp WEAK void halide_mutex_lock(halide_mutex *mutex) {
WEAK               45 src/runtime/fake_thread_pool.cpp WEAK void halide_mutex_unlock(halide_mutex *mutex) {
WEAK               48 src/runtime/fake_thread_pool.cpp WEAK void halide_shutdown_thread_pool() {
WEAK               51 src/runtime/fake_thread_pool.cpp WEAK int halide_set_num_threads(int n) {
WEAK               58 src/runtime/fake_thread_pool.cpp WEAK halide_do_task_t halide_set_custom_do_task(halide_do_task_t f) {
WEAK               64 src/runtime/fake_thread_pool.cpp WEAK halide_do_par_for_t halide_set_custom_do_par_for(halide_do_par_for_t f) {
WEAK               70 src/runtime/fake_thread_pool.cpp WEAK int halide_do_task(void *user_context, halide_task_t f, int idx,
WEAK               75 src/runtime/fake_thread_pool.cpp WEAK int halide_do_par_for(void *user_context, halide_task_t f,
WEAK                6 src/runtime/float16_t.cpp WEAK float halide_float16_bits_to_float(uint16_t bits) {
WEAK               68 src/runtime/float16_t.cpp WEAK double halide_float16_bits_to_double(uint16_t bits) {
WEAK               28 src/runtime/gcd_thread_pool.cpp WEAK int halide_do_task(void *user_context, halide_task_t f, int idx,
WEAK               39 src/runtime/gcd_thread_pool.cpp WEAK void spawn_thread_helper(void *arg) {
WEAK               47 src/runtime/gcd_thread_pool.cpp WEAK halide_thread *halide_spawn_thread(void (*f)(void *), void *closure) {
WEAK               56 src/runtime/gcd_thread_pool.cpp WEAK void halide_join_thread(halide_thread *thread_arg) {
WEAK               68 src/runtime/gcd_thread_pool.cpp WEAK int custom_num_threads = 0;
WEAK               75 src/runtime/gcd_thread_pool.cpp WEAK void init_mutex(void *mutex_arg) {
WEAK               80 src/runtime/gcd_thread_pool.cpp WEAK int default_do_task(void *user_context, int (*f)(void *, int, uint8_t *),
WEAK               95 src/runtime/gcd_thread_pool.cpp WEAK void halide_do_gcd_task(void *job, size_t idx) {
WEAK              101 src/runtime/gcd_thread_pool.cpp WEAK int default_do_par_for(void *user_context, halide_task_t f,
WEAK              126 src/runtime/gcd_thread_pool.cpp WEAK halide_do_task_t custom_do_task = default_do_task;
WEAK              127 src/runtime/gcd_thread_pool.cpp WEAK halide_do_par_for_t custom_do_par_for = default_do_par_for;
WEAK              133 src/runtime/gcd_thread_pool.cpp WEAK void halide_mutex_destroy(halide_mutex *mutex_arg) {
WEAK              141 src/runtime/gcd_thread_pool.cpp WEAK void halide_mutex_lock(halide_mutex *mutex_arg) {
WEAK              147 src/runtime/gcd_thread_pool.cpp WEAK void halide_mutex_unlock(halide_mutex *mutex_arg) {
WEAK              152 src/runtime/gcd_thread_pool.cpp WEAK void halide_shutdown_thread_pool() {
WEAK              155 src/runtime/gcd_thread_pool.cpp WEAK int halide_set_num_threads(int n) {
WEAK              164 src/runtime/gcd_thread_pool.cpp WEAK halide_do_task_t halide_set_custom_do_task(halide_do_task_t f) {
WEAK              170 src/runtime/gcd_thread_pool.cpp WEAK halide_do_par_for_t halide_set_custom_do_par_for(halide_do_par_for_t f) {
WEAK              176 src/runtime/gcd_thread_pool.cpp WEAK int halide_do_task(void *user_context, halide_task_t f, int idx,
WEAK              181 src/runtime/gcd_thread_pool.cpp WEAK int halide_do_par_for(void *user_context, halide_task_t f,
WEAK                7 src/runtime/gpu_device_selection.cpp WEAK int halide_gpu_device = 0;
WEAK                8 src/runtime/gpu_device_selection.cpp WEAK int halide_gpu_device_lock = 0;
WEAK                9 src/runtime/gpu_device_selection.cpp WEAK bool halide_gpu_device_initialized = false;
WEAK               18 src/runtime/gpu_device_selection.cpp WEAK void halide_set_gpu_device(int d) {
WEAK               22 src/runtime/gpu_device_selection.cpp WEAK int halide_get_gpu_device(void *user_context) {
WEAK               15 src/runtime/hexagon_host.cpp WEAK halide_mutex thread_lock = { { 0 } };
WEAK               17 src/runtime/hexagon_host.cpp extern WEAK halide_device_interface_t hexagon_device_interface;
WEAK               45 src/runtime/hexagon_host.cpp WEAK remote_initialize_kernels_fn remote_initialize_kernels = NULL;
WEAK               46 src/runtime/hexagon_host.cpp WEAK remote_get_symbol_fn remote_get_symbol = NULL;
WEAK               47 src/runtime/hexagon_host.cpp WEAK remote_run_fn remote_run = NULL;
WEAK               48 src/runtime/hexagon_host.cpp WEAK remote_release_kernels_fn remote_release_kernels = NULL;
WEAK               49 src/runtime/hexagon_host.cpp WEAK remote_poll_log_fn remote_poll_log = NULL;
WEAK               50 src/runtime/hexagon_host.cpp WEAK remote_poll_profiler_state_fn remote_poll_profiler_state = NULL;
WEAK               51 src/runtime/hexagon_host.cpp WEAK remote_power_fn remote_power_hvx_on = NULL;
WEAK               52 src/runtime/hexagon_host.cpp WEAK remote_power_fn remote_power_hvx_off = NULL;
WEAK               53 src/runtime/hexagon_host.cpp WEAK remote_power_perf_fn remote_set_performance = NULL;
WEAK               54 src/runtime/hexagon_host.cpp WEAK remote_power_mode_fn remote_set_performance_mode = NULL;
WEAK               56 src/runtime/hexagon_host.cpp WEAK host_malloc_init_fn host_malloc_init = NULL;
WEAK               57 src/runtime/hexagon_host.cpp WEAK host_malloc_init_fn host_malloc_deinit = NULL;
WEAK               58 src/runtime/hexagon_host.cpp WEAK host_malloc_fn host_malloc = NULL;
WEAK               59 src/runtime/hexagon_host.cpp WEAK host_free_fn host_free = NULL;
WEAK               63 src/runtime/hexagon_host.cpp WEAK void poll_log(void *user_context) {
WEAK               85 src/runtime/hexagon_host.cpp WEAK void get_remote_profiler_state(int *func, int *threads) {
WEAK              105 src/runtime/hexagon_host.cpp WEAK int init_hexagon_runtime(void *user_context) {
WEAK              168 src/runtime/hexagon_host.cpp WEAK module_state *state_list = NULL;
WEAK              177 src/runtime/hexagon_host.cpp WEAK bool halide_is_hexagon_available(void *user_context) {
WEAK              182 src/runtime/hexagon_host.cpp WEAK int halide_hexagon_initialize_kernels(void *user_context, void **state_ptr,
WEAK              247 src/runtime/hexagon_host.cpp WEAK int map_arguments(void *user_context, int arg_count,
WEAK              274 src/runtime/hexagon_host.cpp WEAK int halide_hexagon_run(void *user_context,
WEAK              367 src/runtime/hexagon_host.cpp WEAK int halide_hexagon_device_release(void *user_context) {
WEAK              401 src/runtime/hexagon_host.cpp WEAK int halide_hexagon_device_malloc(void *user_context, halide_buffer_t *buf) {
WEAK              476 src/runtime/hexagon_host.cpp WEAK int halide_hexagon_device_free(void *user_context, halide_buffer_t* buf) {
WEAK              511 src/runtime/hexagon_host.cpp WEAK int halide_hexagon_copy_to_device(void *user_context, halide_buffer_t* buf) {
WEAK              540 src/runtime/hexagon_host.cpp WEAK int halide_hexagon_copy_to_host(void *user_context, struct halide_buffer_t *buf) {
WEAK              564 src/runtime/hexagon_host.cpp WEAK int halide_hexagon_device_sync(void *user_context, struct halide_buffer_t *) {
WEAK              571 src/runtime/hexagon_host.cpp WEAK int halide_hexagon_wrap_device_handle(void *user_context, struct halide_buffer_t *buf,
WEAK              590 src/runtime/hexagon_host.cpp WEAK void *halide_hexagon_detach_device_handle(void *user_context, struct halide_buffer_t *buf) {
WEAK              605 src/runtime/hexagon_host.cpp WEAK void *halide_hexagon_get_device_handle(void *user_context, struct halide_buffer_t *buf) {
WEAK              614 src/runtime/hexagon_host.cpp WEAK uint64_t halide_hexagon_get_device_size(void *user_context, struct halide_buffer_t *buf) {
WEAK              623 src/runtime/hexagon_host.cpp WEAK int halide_hexagon_device_and_host_malloc(void *user_context, struct halide_buffer_t *buf) {
WEAK              632 src/runtime/hexagon_host.cpp WEAK int halide_hexagon_device_and_host_free(void *user_context, struct halide_buffer_t *buf) {
WEAK              639 src/runtime/hexagon_host.cpp WEAK int halide_hexagon_power_hvx_on(void *user_context) {
WEAK              670 src/runtime/hexagon_host.cpp WEAK int halide_hexagon_power_hvx_off(void *user_context) {
WEAK              701 src/runtime/hexagon_host.cpp WEAK void halide_hexagon_power_hvx_off_as_destructor(void *user_context, void * /* obj */) {
WEAK              705 src/runtime/hexagon_host.cpp WEAK int halide_hexagon_set_performance_mode(void *user_context, halide_hexagon_power_mode_t mode) {
WEAK              726 src/runtime/hexagon_host.cpp WEAK int halide_hexagon_set_performance(void *user_context, halide_hexagon_power_t *perf) {
WEAK              755 src/runtime/hexagon_host.cpp WEAK const halide_device_interface_t *halide_hexagon_device_interface() {
WEAK              761 src/runtime/hexagon_host.cpp WEAK void halide_hexagon_cleanup() {
WEAK              770 src/runtime/hexagon_host.cpp WEAK halide_device_interface_t hexagon_device_interface = {
WEAK                6 src/runtime/ios_io.cpp WEAK void halide_print_impl(void *user_context, const char *str) {
WEAK               33 src/runtime/linux_clock.cpp WEAK bool halide_reference_clock_inited = false;
WEAK               34 src/runtime/linux_clock.cpp WEAK timespec halide_reference_clock;
WEAK               55 src/runtime/linux_clock.cpp WEAK int halide_start_clock(void *user_context) {
WEAK               64 src/runtime/linux_clock.cpp WEAK int64_t halide_current_time_ns(void *user_context) {
WEAK               75 src/runtime/linux_clock.cpp WEAK void halide_sleep_ms(void *user_context, int ms) {
WEAK                7 src/runtime/linux_host_cpu_count.cpp WEAK int halide_host_cpu_count() {
WEAK               42 src/runtime/linux_opengl_context.cpp WEAK bool glx_extension_supported(const char *extlist, const char *extension) {
WEAK               65 src/runtime/linux_opengl_context.cpp WEAK void *halide_opengl_get_proc_address(void *user_context, const char *name) {
WEAK               70 src/runtime/linux_opengl_context.cpp WEAK int halide_opengl_create_context(void *user_context) {
WEAK               79 src/runtime/matlab.cpp WEAK mxClassID get_class_id(int32_t type_code, int32_t type_bits) {
WEAK              110 src/runtime/matlab.cpp WEAK const char *get_class_name(mxClassID id) {
WEAK              184 src/runtime/matlab.cpp WEAK void halide_matlab_describe_pipeline(stringstream &desc, const halide_filter_metadata_t *metadata) {
WEAK              206 src/runtime/matlab.cpp WEAK void halide_matlab_note_pipeline_description(void *user_context, const halide_filter_metadata_t *metadata) {
WEAK              215 src/runtime/matlab.cpp WEAK void halide_matlab_error(void *user_context, const char *msg) {
WEAK              223 src/runtime/matlab.cpp WEAK void halide_matlab_print(void *, const char *msg) {
WEAK              227 src/runtime/matlab.cpp WEAK int halide_matlab_init(void *user_context) {
WEAK              254 src/runtime/matlab.cpp WEAK int halide_matlab_array_to_halide_buffer_t(void *user_context,
WEAK              317 src/runtime/matlab.cpp WEAK int halide_matlab_array_to_scalar(void *user_context,
WEAK              371 src/runtime/matlab.cpp WEAK int halide_matlab_call_pipeline(void *user_context,
WEAK                8 src/runtime/metadata.cpp WEAK const halide_filter_metadata_t *unused_function_to_get_halide_filter_metadata_t_declared() { return NULL; }
WEAK               29 src/runtime/metal.cpp WEAK mtl_buffer *new_buffer(mtl_device *device, size_t length) {
WEAK               36 src/runtime/metal.cpp WEAK mtl_command_queue *new_command_queue(mtl_device *device) {
WEAK               40 src/runtime/metal.cpp WEAK mtl_command_buffer *new_command_buffer(mtl_command_queue *queue) {
WEAK               44 src/runtime/metal.cpp WEAK void add_command_buffer_completed_handler(mtl_command_buffer *command_buffer, struct command_buffer_completed_handler_block_literal *handler) {
WEAK               50 src/runtime/metal.cpp WEAK objc_id command_buffer_error(mtl_command_buffer *buffer) {
WEAK               54 src/runtime/metal.cpp WEAK mtl_compute_command_encoder *new_compute_command_encoder(mtl_command_buffer *buffer) {
WEAK               58 src/runtime/metal.cpp WEAK mtl_blit_command_encoder *new_blit_command_encoder(mtl_command_buffer *buffer) {
WEAK               62 src/runtime/metal.cpp WEAK mtl_compute_pipeline_state *new_compute_pipeline_state_with_function(mtl_device *device, mtl_function *function) {
WEAK               76 src/runtime/metal.cpp WEAK void set_compute_pipeline_state(mtl_compute_command_encoder *encoder, mtl_compute_pipeline_state *pipeline_state) {
WEAK               82 src/runtime/metal.cpp WEAK void end_encoding(mtl_compute_command_encoder *encoder) {
WEAK               91 src/runtime/metal.cpp WEAK void did_modify_range(mtl_buffer *buffer, NSRange range) {
WEAK               97 src/runtime/metal.cpp WEAK void synchronize_resource(mtl_blit_command_encoder *encoder, mtl_buffer *buffer) {
WEAK              103 src/runtime/metal.cpp WEAK bool is_buffer_managed(mtl_buffer *buffer) {
WEAK              116 src/runtime/metal.cpp WEAK void end_encoding(mtl_blit_command_encoder *encoder) {
WEAK              120 src/runtime/metal.cpp WEAK mtl_library *new_library_with_source(mtl_device *device, const char *source, size_t source_len) {
WEAK              145 src/runtime/metal.cpp WEAK mtl_function *new_function_with_name(mtl_library *library, const char *name, size_t name_len) {
WEAK              154 src/runtime/metal.cpp WEAK void set_input_buffer(mtl_compute_command_encoder *encoder, mtl_buffer *input_buffer, uint32_t index) {
WEAK              162 src/runtime/metal.cpp WEAK void set_threadgroup_memory_length(mtl_compute_command_encoder *encoder, uint32_t length, uint32_t index) {
WEAK              170 src/runtime/metal.cpp WEAK void commit_command_buffer(mtl_command_buffer *buffer) {
WEAK              174 src/runtime/metal.cpp WEAK void wait_until_completed(mtl_command_buffer *buffer) {
WEAK              178 src/runtime/metal.cpp WEAK void *buffer_contents(mtl_buffer *buffer) {
WEAK              182 src/runtime/metal.cpp extern WEAK halide_device_interface_t metal_device_interface;
WEAK              184 src/runtime/metal.cpp volatile int WEAK thread_lock = 0;
WEAK              185 src/runtime/metal.cpp WEAK mtl_device *device;
WEAK              186 src/runtime/metal.cpp WEAK mtl_command_queue *queue;
WEAK              196 src/runtime/metal.cpp WEAK module_state *state_list = NULL;
WEAK              214 src/runtime/metal.cpp WEAK int halide_metal_acquire_context(void *user_context, mtl_device **device_ret,
WEAK              251 src/runtime/metal.cpp WEAK int halide_metal_release_context(void *user_context) {
WEAK              277 src/runtime/metal.cpp WEAK void MetalContextHolder::save(void *user_context_arg, bool create) {
WEAK              283 src/runtime/metal.cpp WEAK void MetalContextHolder::restore() {
WEAK              301 src/runtime/metal.cpp WEAK command_buffer_completed_handler_block_descriptor_1 command_buffer_completed_handler_descriptor = {
WEAK              305 src/runtime/metal.cpp WEAK void command_buffer_completed_handler_invoke(command_buffer_completed_handler_block_literal *block, mtl_command_buffer *buffer) {
WEAK              313 src/runtime/metal.cpp WEAK command_buffer_completed_handler_block_literal command_buffer_completed_handler_block = {
WEAK              327 src/runtime/metal.cpp WEAK int halide_metal_device_malloc(void *user_context, halide_buffer_t* buf) {
WEAK              373 src/runtime/metal.cpp WEAK int halide_metal_device_free(void *user_context, halide_buffer_t* buf) {
WEAK              398 src/runtime/metal.cpp WEAK int halide_metal_initialize_kernels(void *user_context, void **state_ptr, const char* source, int source_size) {
WEAK              464 src/runtime/metal.cpp WEAK int halide_metal_device_sync(void *user_context, struct halide_buffer_t *buffer) {
WEAK              484 src/runtime/metal.cpp WEAK int halide_metal_device_release(void *user_context) {
WEAK              530 src/runtime/metal.cpp WEAK int halide_metal_copy_to_device(void *user_context, halide_buffer_t* buffer) {
WEAK              571 src/runtime/metal.cpp WEAK int halide_metal_copy_to_host(void *user_context, halide_buffer_t* buffer) {
WEAK              602 src/runtime/metal.cpp WEAK int halide_metal_run(void *user_context,
WEAK              728 src/runtime/metal.cpp WEAK int halide_metal_device_and_host_malloc(void *user_context, struct halide_buffer_t *buffer) {
WEAK              742 src/runtime/metal.cpp WEAK int halide_metal_device_and_host_free(void *user_context, struct halide_buffer_t *buffer) {
WEAK              749 src/runtime/metal.cpp WEAK int halide_metal_wrap_buffer(void *user_context, struct halide_buffer_t *buf, uintptr_t buffer) {
WEAK              763 src/runtime/metal.cpp WEAK uintptr_t halide_metal_detach_buffer(void *user_context, struct halide_buffer_t *buf) {
WEAK              775 src/runtime/metal.cpp WEAK uintptr_t halide_metal_get_buffer(void *user_context, struct halide_buffer_t *buf) {
WEAK              783 src/runtime/metal.cpp WEAK const struct halide_device_interface_t *halide_metal_device_interface() {
WEAK              789 src/runtime/metal.cpp WEAK void halide_metal_cleanup() {
WEAK              797 src/runtime/metal.cpp WEAK halide_device_interface_t metal_device_interface = {
WEAK                7 src/runtime/metal_objc_platform_dependent.cpp WEAK void dispatch_threadgroups(mtl_compute_command_encoder *encoder,
WEAK               14 src/runtime/mingw_math.cpp WEAK void sincosf(float x, float *s, float *c) {
WEAK               23 src/runtime/mingw_math.cpp WEAK void sincos(double x, double *s, double *c) {
WEAK               35 src/runtime/mingw_math.cpp WEAK float asinhf(float x) {
WEAK               39 src/runtime/mingw_math.cpp WEAK double asinh(double x) {
WEAK               43 src/runtime/mingw_math.cpp WEAK float acoshf(float x) {
WEAK               47 src/runtime/mingw_math.cpp WEAK double acosh(double x) {
WEAK               51 src/runtime/mingw_math.cpp WEAK float atanhf(float x) {
WEAK               55 src/runtime/mingw_math.cpp WEAK double atanh(double x) {
WEAK                5 src/runtime/mips_cpu_features.cpp WEAK CpuFeatures halide_get_cpu_features() {
WEAK               17 src/runtime/module_aot_ref_count.cpp WEAK void halide_use_jit_module() {
WEAK               20 src/runtime/module_aot_ref_count.cpp WEAK void halide_release_jit_module() {
WEAK               21 src/runtime/module_jit_ref_count.cpp WEAK void *halide_jit_module_argument = NULL;
WEAK               22 src/runtime/module_jit_ref_count.cpp WEAK void (*halide_jit_module_adjust_ref_count)(void *arg, int32_t count) = NULL;
WEAK               28 src/runtime/module_jit_ref_count.cpp WEAK void halide_use_jit_module() {
WEAK               36 src/runtime/module_jit_ref_count.cpp WEAK void halide_release_jit_module() {
WEAK               10 src/runtime/msan.cpp WEAK void halide_msan_annotate_memory_is_initialized(void *user_context, const void *ptr, uint64_t len) {
WEAK               18 src/runtime/msan.cpp WEAK void annotate_helper(void *uc, const device_copy &c, int d, int64_t off) {
WEAK               38 src/runtime/msan.cpp WEAK void halide_msan_annotate_buffer_is_initialized(void *user_context, halide_buffer_t *b) {
WEAK               58 src/runtime/msan.cpp WEAK void halide_msan_annotate_buffer_is_initialized_as_destructor(void *user_context, void *b) {
WEAK                5 src/runtime/msan_stubs.cpp WEAK void halide_msan_annotate_memory_is_initialized(void *user_context, const void *ptr, uint64_t len) {}
WEAK                7 src/runtime/msan_stubs.cpp WEAK void halide_msan_annotate_buffer_is_initialized(void *user_context, halide_buffer_t *b) {}
WEAK                9 src/runtime/msan_stubs.cpp WEAK void halide_msan_annotate_buffer_is_initialized_as_destructor(void *user_context, void *b) {}
WEAK                7 src/runtime/noos.cpp WEAK halide_print_t custom_print = NULL;
WEAK                8 src/runtime/noos.cpp WEAK halide_error_handler_t error_handler = NULL;
WEAK                9 src/runtime/noos.cpp WEAK halide_malloc_t custom_malloc = NULL;
WEAK               10 src/runtime/noos.cpp WEAK halide_free_t custom_free = NULL;
WEAK               11 src/runtime/noos.cpp WEAK halide_get_symbol_t custom_get_symbol = NULL;
WEAK               12 src/runtime/noos.cpp WEAK halide_load_library_t custom_load_library = NULL;
WEAK               13 src/runtime/noos.cpp WEAK halide_get_library_symbol_t custom_get_library_symbol = NULL;
WEAK               14 src/runtime/noos.cpp WEAK halide_do_task_t custom_do_task = NULL;
WEAK               15 src/runtime/noos.cpp WEAK halide_do_par_for_t custom_do_par_for = NULL;
WEAK               21 src/runtime/noos.cpp WEAK halide_malloc_t halide_set_custom_malloc(halide_malloc_t user_malloc) {
WEAK               27 src/runtime/noos.cpp WEAK halide_free_t halide_set_custom_free(halide_free_t user_free) {
WEAK               33 src/runtime/noos.cpp WEAK void *halide_malloc(void *user_context, size_t x) {
WEAK               37 src/runtime/noos.cpp WEAK void halide_free(void *user_context, void *ptr) {
WEAK               41 src/runtime/noos.cpp WEAK halide_print_t halide_set_error_handler(halide_error_handler_t handler) {
WEAK               47 src/runtime/noos.cpp WEAK void halide_error(void *user_context, const char *msg) {
WEAK               51 src/runtime/noos.cpp WEAK halide_print_t halide_set_custom_print(halide_print_t print) {
WEAK               57 src/runtime/noos.cpp WEAK halide_do_task_t halide_set_custom_do_task(halide_do_task_t f) {
WEAK               63 src/runtime/noos.cpp WEAK halide_do_par_for_t halide_set_custom_do_par_for(halide_do_par_for_t f) {
WEAK               69 src/runtime/noos.cpp WEAK halide_get_symbol_t halide_set_custom_get_symbol(halide_get_symbol_t f) {
WEAK               75 src/runtime/noos.cpp WEAK halide_load_library_t halide_set_custom_load_library(halide_load_library_t f) {
WEAK               81 src/runtime/noos.cpp WEAK halide_get_library_symbol_t halide_set_custom_get_library_symbol(halide_get_library_symbol_t f) {
WEAK               87 src/runtime/noos.cpp WEAK int halide_do_task(void *user_context, halide_task_t f, int idx,
WEAK               92 src/runtime/noos.cpp WEAK int halide_do_par_for(void *user_context, halide_task_t f,
WEAK               98 src/runtime/noos.cpp WEAK void halide_print(void *user_context, const char *msg) {
WEAK              102 src/runtime/noos.cpp WEAK void *halide_get_symbol(const char *name) {
WEAK              106 src/runtime/noos.cpp WEAK void *halide_load_library(const char *name) {
WEAK              110 src/runtime/noos.cpp WEAK void *halide_get_library_symbol(void *lib, const char *name) {
WEAK               16 src/runtime/objc_support.h WEAK objc_id create_autorelease_pool() {
WEAK               23 src/runtime/objc_support.h WEAK void drain_autorelease_pool(objc_id pool) {
WEAK               27 src/runtime/objc_support.h WEAK void release_ns_object(objc_id obj) {
WEAK               31 src/runtime/objc_support.h WEAK objc_id wrap_string_as_ns_string(const char *string, size_t length) {
WEAK               41 src/runtime/objc_support.h WEAK void ns_log_utf8_string(const char *string) {
WEAK               49 src/runtime/objc_support.h WEAK void ns_log_object(objc_id obj) {
WEAK               11 src/runtime/old_buffer_t.cpp WEAK int guess_type_and_dimensionality(void *user_context, buffer_t *old_buf, halide_buffer_t *new_buf) {
WEAK               36 src/runtime/old_buffer_t.cpp WEAK int halide_upgrade_buffer_t(void *user_context, const char *name,
WEAK               66 src/runtime/old_buffer_t.cpp WEAK int halide_downgrade_buffer_t(void *user_context, const char *name,
WEAK               83 src/runtime/old_buffer_t.cpp WEAK int halide_downgrade_buffer_t_device_fields(void *user_context, const char *name,
WEAK              105 src/runtime/old_buffer_t.cpp WEAK int halide_copy_to_host_legacy(void *user_context, struct buffer_t *old_buf) {
WEAK              116 src/runtime/old_buffer_t.cpp WEAK int halide_copy_to_device_legacy(void *user_context, struct buffer_t *old_buf,
WEAK              128 src/runtime/old_buffer_t.cpp WEAK int halide_device_sync_legacy(void *user_context, struct buffer_t *old_buf) {
WEAK              139 src/runtime/old_buffer_t.cpp WEAK int halide_device_malloc_legacy(void *user_context, struct buffer_t *old_buf,
WEAK              151 src/runtime/old_buffer_t.cpp WEAK int halide_device_free_legacy(void *user_context, struct buffer_t *old_buf) {
WEAK               16 src/runtime/opencl.cpp #define CL_FN(ret, fn, args) WEAK ret (CL_API_CALL *fn) args;
WEAK               21 src/runtime/opencl.cpp WEAK void *lib_opencl = NULL;
WEAK               23 src/runtime/opencl.cpp extern "C" WEAK void *halide_opencl_get_symbol(void *user_context, const char *name) {
WEAK               60 src/runtime/opencl.cpp WEAK void load_libopencl(void *user_context) {
WEAK               68 src/runtime/opencl.cpp extern WEAK halide_device_interface_t opencl_device_interface;
WEAK               70 src/runtime/opencl.cpp WEAK const char *get_opencl_error_name(cl_int err);
WEAK               71 src/runtime/opencl.cpp WEAK int create_opencl_context(void *user_context, cl_context *ctx, cl_command_queue *q);
WEAK               75 src/runtime/opencl.cpp cl_context WEAK context = 0;
WEAK               76 src/runtime/opencl.cpp cl_command_queue WEAK command_queue = 0;
WEAK               77 src/runtime/opencl.cpp volatile int WEAK thread_lock = 0;
WEAK               79 src/runtime/opencl.cpp WEAK char platform_name[256];
WEAK               80 src/runtime/opencl.cpp WEAK int platform_name_lock = 0;
WEAK               81 src/runtime/opencl.cpp WEAK bool platform_name_initialized = false;
WEAK               83 src/runtime/opencl.cpp WEAK char device_type[256];
WEAK               84 src/runtime/opencl.cpp WEAK int device_type_lock = 0;
WEAK               85 src/runtime/opencl.cpp WEAK bool device_type_initialized = false;
WEAK               96 src/runtime/opencl.cpp WEAK void halide_opencl_set_platform_name(const char *n) {
WEAK              105 src/runtime/opencl.cpp WEAK const char *halide_opencl_get_platform_name(void *user_context) {
WEAK              115 src/runtime/opencl.cpp WEAK void halide_opencl_set_device_type(const char *n) {
WEAK              124 src/runtime/opencl.cpp WEAK const char *halide_opencl_get_device_type(void *user_context) {
WEAK              142 src/runtime/opencl.cpp WEAK int halide_acquire_cl_context(void *user_context, cl_context *ctx, cl_command_queue *q, bool create = true) {
WEAK              167 src/runtime/opencl.cpp WEAK int halide_release_cl_context(void *user_context) {
WEAK              215 src/runtime/opencl.cpp WEAK module_state *state_list = NULL;
WEAK              217 src/runtime/opencl.cpp WEAK bool validate_device_pointer(void *user_context, halide_buffer_t* buf, size_t size=0) {
WEAK              245 src/runtime/opencl.cpp WEAK int create_opencl_context(void *user_context, cl_context *ctx, cl_command_queue *q) {
WEAK              461 src/runtime/opencl.cpp WEAK int halide_opencl_device_free(void *user_context, halide_buffer_t* buf) {
WEAK              507 src/runtime/opencl.cpp WEAK int halide_opencl_initialize_kernels(void *user_context, void **state_ptr, const char* src, int size) {
WEAK              620 src/runtime/opencl.cpp WEAK int halide_opencl_device_sync(void *user_context, halide_buffer_t *) {
WEAK              645 src/runtime/opencl.cpp WEAK int halide_opencl_device_release(void *user_context) {
WEAK              698 src/runtime/opencl.cpp WEAK int halide_opencl_device_malloc(void *user_context, halide_buffer_t* buf) {
WEAK              755 src/runtime/opencl.cpp WEAK int do_multidimensional_copy(void *user_context, const ClContext &ctx,
WEAK              832 src/runtime/opencl.cpp WEAK int halide_opencl_copy_to_device(void *user_context, halide_buffer_t* buf) {
WEAK              874 src/runtime/opencl.cpp WEAK int halide_opencl_copy_to_host(void *user_context, halide_buffer_t* buf) {
WEAK              911 src/runtime/opencl.cpp WEAK int halide_opencl_run(void *user_context,
WEAK             1039 src/runtime/opencl.cpp WEAK int halide_opencl_device_and_host_malloc(void *user_context, struct halide_buffer_t *buf) {
WEAK             1043 src/runtime/opencl.cpp WEAK int halide_opencl_device_and_host_free(void *user_context, struct halide_buffer_t *buf) {
WEAK             1047 src/runtime/opencl.cpp WEAK int halide_opencl_wrap_cl_mem(void *user_context, struct halide_buffer_t *buf, uintptr_t mem) {
WEAK             1066 src/runtime/opencl.cpp WEAK uintptr_t halide_opencl_detach_cl_mem(void *user_context, halide_buffer_t *buf) {
WEAK             1078 src/runtime/opencl.cpp WEAK uintptr_t halide_opencl_get_cl_mem(void *user_context, halide_buffer_t *buf) {
WEAK             1086 src/runtime/opencl.cpp WEAK const struct halide_device_interface_t *halide_opencl_device_interface() {
WEAK             1092 src/runtime/opencl.cpp WEAK void halide_opencl_cleanup() {
WEAK             1100 src/runtime/opencl.cpp WEAK const char *get_opencl_error_name(cl_int err) {
WEAK             1153 src/runtime/opencl.cpp WEAK halide_device_interface_t opencl_device_interface = {
WEAK               85 src/runtime/opengl.cpp extern WEAK halide_device_interface_t opengl_device_interface;
WEAK               87 src/runtime/opengl.cpp WEAK const char *gl_error_name(int32_t err) {
WEAK              214 src/runtime/opengl.cpp WEAK bool GlobalState::CheckAndReportError(void *user_context, const char *location) {
WEAK              224 src/runtime/opengl.cpp WEAK GlobalState global_state;
WEAK              255 src/runtime/opengl.cpp WEAK void GLStateSaver::save()
WEAK              288 src/runtime/opengl.cpp WEAK void GLStateSaver::restore()
WEAK              323 src/runtime/opengl.cpp WEAK ModuleState *state_list;
WEAK              325 src/runtime/opengl.cpp WEAK const char *kernel_marker = "/// KERNEL ";
WEAK              326 src/runtime/opengl.cpp WEAK const char *input_marker  = "/// IN_BUFFER ";
WEAK              327 src/runtime/opengl.cpp WEAK const char *output_marker = "/// OUT_BUFFER ";
WEAK              328 src/runtime/opengl.cpp WEAK const char *uniform_marker    = "/// UNIFORM ";
WEAK              329 src/runtime/opengl.cpp WEAK const char *varying_marker    = "/// VARYING ";
WEAK              333 src/runtime/opengl.cpp WEAK char *strndup(const char *s, size_t n) {
WEAK              342 src/runtime/opengl.cpp WEAK char *strstrip(char *str, size_t n) {
WEAK              354 src/runtime/opengl.cpp WEAK void debug_buffer(void *user_context, halide_buffer_t *buf) {
WEAK              358 src/runtime/opengl.cpp WEAK GLuint make_shader(void *user_context, GLenum type,
WEAK              409 src/runtime/opengl.cpp WEAK const char *match_prefix(const char *s, const char *prefix) {
WEAK              417 src/runtime/opengl.cpp WEAK Argument *parse_argument(void *user_context, const char *src,
WEAK              452 src/runtime/opengl.cpp WEAK KernelInfo *create_kernel(void *user_context, const char *src, int size) {
WEAK              537 src/runtime/opengl.cpp WEAK void delete_kernel(void *user_context, KernelInfo *kernel) {
WEAK              557 src/runtime/opengl.cpp WEAK GLfloat quad_vertices[] = {
WEAK              561 src/runtime/opengl.cpp WEAK GLuint quad_indices[] = { 0, 1, 2, 3 };
WEAK              563 src/runtime/opengl.cpp WEAK void GlobalState::init() {
WEAK              581 src/runtime/opengl.cpp WEAK int load_gl_func(void *user_context, const char *name, void **ptr, bool required) {
WEAK              591 src/runtime/opengl.cpp WEAK bool extension_supported(void *user_context, const char *name) {
WEAK              614 src/runtime/opengl.cpp WEAK void init_extensions(void *user_context) {
WEAK              645 src/runtime/opengl.cpp WEAK const char *parse_int(const char *str, int *val) {
WEAK              659 src/runtime/opengl.cpp WEAK const char *parse_opengl_version(const char *str, int *major, int *minor) {
WEAK              668 src/runtime/opengl.cpp WEAK int halide_opengl_init(void *user_context) {
WEAK              750 src/runtime/opengl.cpp WEAK int halide_opengl_device_release(void *user_context) {
WEAK              804 src/runtime/opengl.cpp WEAK bool get_texture_format(void *user_context, halide_buffer_t *buf,
WEAK              886 src/runtime/opengl.cpp WEAK bool get_texture_dimensions(void *user_context, halide_buffer_t *buf, GLint *width,
WEAK              908 src/runtime/opengl.cpp WEAK TextureInfo *find_texture_info(GLuint tex) {
WEAK              918 src/runtime/opengl.cpp WEAK TextureInfo *new_texture_info(GLuint tex, const halide_buffer_t *buf, bool halide_allocated) {
WEAK              935 src/runtime/opengl.cpp WEAK TextureInfo *unlink_texture_info(GLuint tex) {
WEAK              949 src/runtime/opengl.cpp WEAK int halide_opengl_device_malloc(void *user_context, halide_buffer_t *buf) {
WEAK             1055 src/runtime/opengl.cpp WEAK int halide_opengl_device_free(void *user_context, halide_buffer_t *buf) {
WEAK             1158 src/runtime/opengl.cpp WEAK int halide_opengl_copy_to_device(void *user_context, halide_buffer_t *buf) {
WEAK             1247 src/runtime/opengl.cpp WEAK int halide_opengl_copy_to_host(void *user_context, halide_buffer_t *buf) {
WEAK             1398 src/runtime/opengl.cpp WEAK ModuleState* find_module(const char *stage_name) {
WEAK             1416 src/runtime/opengl.cpp WEAK int halide_opengl_run(void *user_context,
WEAK             1890 src/runtime/opengl.cpp WEAK int halide_opengl_device_sync(void *user_context, struct halide_buffer_t *) {
WEAK             1909 src/runtime/opengl.cpp WEAK int halide_opengl_initialize_kernels(void *user_context, void **state_ptr,
WEAK             2046 src/runtime/opengl.cpp WEAK int halide_opengl_device_and_host_malloc(void *user_context, struct halide_buffer_t *buf) {
WEAK             2050 src/runtime/opengl.cpp WEAK int halide_opengl_device_and_host_free(void *user_context, struct halide_buffer_t *buf) {
WEAK             2054 src/runtime/opengl.cpp WEAK const halide_device_interface_t *halide_opengl_device_interface() {
WEAK             2058 src/runtime/opengl.cpp WEAK void halide_opengl_context_lost(void *user_context) {
WEAK             2078 src/runtime/opengl.cpp WEAK int halide_opengl_wrap_texture(void *user_context, halide_buffer_t *buf, uintptr_t texture_id) {
WEAK             2105 src/runtime/opengl.cpp WEAK int halide_opengl_wrap_render_target(void *user_context, halide_buffer_t *buf) {
WEAK             2129 src/runtime/opengl.cpp WEAK uintptr_t halide_opengl_detach_texture(void *user_context, halide_buffer_t *buf) {
WEAK             2150 src/runtime/opengl.cpp WEAK uintptr_t halide_opengl_get_texture(void *user_context, halide_buffer_t *buf) {
WEAK             2162 src/runtime/opengl.cpp WEAK void halide_opengl_cleanup() {
WEAK             2172 src/runtime/opengl.cpp WEAK halide_device_interface_t opengl_device_interface = {
WEAK               50 src/runtime/openglcompute.cpp extern WEAK halide_device_interface_t openglcompute_device_interface;
WEAK               52 src/runtime/openglcompute.cpp WEAK const char *gl_error_name(int32_t err) {
WEAK               88 src/runtime/openglcompute.cpp WEAK KernelInfo *find_kernel_by_name(const char *kernel_name, const ModuleState *module) {
WEAK              109 src/runtime/openglcompute.cpp WEAK bool GlobalState::CheckAndReportError(void *user_context, const char *location) {
WEAK              121 src/runtime/openglcompute.cpp WEAK GlobalState global_state;
WEAK              124 src/runtime/openglcompute.cpp WEAK ModuleState *state_list;
WEAK              128 src/runtime/openglcompute.cpp WEAK void debug_buffer(void *user_context, halide_buffer_t *buf) {
WEAK              144 src/runtime/openglcompute.cpp WEAK void GlobalState::init() {
WEAK              151 src/runtime/openglcompute.cpp WEAK int load_gl_func(void *user_context, const char *name, void **ptr, bool required) {
WEAK              162 src/runtime/openglcompute.cpp WEAK int halide_openglcompute_init(void *user_context) {
WEAK              193 src/runtime/openglcompute.cpp WEAK int halide_openglcompute_device_release(void *user_context) {
WEAK              232 src/runtime/openglcompute.cpp WEAK int halide_openglcompute_device_malloc(void *user_context, halide_buffer_t *buf) {
WEAK              303 src/runtime/openglcompute.cpp WEAK int halide_openglcompute_device_free(void *user_context, halide_buffer_t *buf) {
WEAK              339 src/runtime/openglcompute.cpp WEAK int halide_openglcompute_copy_to_device(void *user_context, halide_buffer_t *buf) {
WEAK              374 src/runtime/openglcompute.cpp WEAK int halide_openglcompute_copy_to_host(void *user_context, halide_buffer_t *buf) {
WEAK              424 src/runtime/openglcompute.cpp WEAK int halide_openglcompute_run(void *user_context, void *state_ptr,
WEAK              511 src/runtime/openglcompute.cpp WEAK int halide_openglcompute_device_sync(void *user_context, halide_buffer_t *) {
WEAK              530 src/runtime/openglcompute.cpp WEAK char *get_kernel_name(const char *start, const char *end) {
WEAK              542 src/runtime/openglcompute.cpp WEAK int halide_openglcompute_initialize_kernels(void *user_context, void **state_ptr,
WEAK              656 src/runtime/openglcompute.cpp WEAK int halide_openglcompute_device_and_host_malloc(void *user_context, struct halide_buffer_t *buf) {
WEAK              660 src/runtime/openglcompute.cpp WEAK int halide_openglcompute_device_and_host_free(void *user_context, struct halide_buffer_t *buf) {
WEAK              664 src/runtime/openglcompute.cpp WEAK const struct halide_device_interface_t *halide_openglcompute_device_interface() {
WEAK              675 src/runtime/openglcompute.cpp WEAK halide_device_interface_t openglcompute_device_interface = {
WEAK               14 src/runtime/osx_clock.cpp WEAK bool halide_reference_clock_inited = false;
WEAK               15 src/runtime/osx_clock.cpp WEAK uint64_t halide_reference_clock = 0;
WEAK               16 src/runtime/osx_clock.cpp WEAK mach_timebase_info_data_t halide_timebase_info;
WEAK               24 src/runtime/osx_clock.cpp WEAK int halide_start_clock(void *user_context) {
WEAK               35 src/runtime/osx_clock.cpp WEAK int64_t halide_current_time_ns(void *user_context) {
WEAK               42 src/runtime/osx_clock.cpp WEAK void halide_sleep_ms(void *user_context, int ms) {
WEAK               17 src/runtime/osx_get_symbol.cpp WEAK void *halide_get_symbol_impl(const char *name) {
WEAK               21 src/runtime/osx_get_symbol.cpp WEAK void *halide_load_library_impl(const char *name) {
WEAK               25 src/runtime/osx_get_symbol.cpp WEAK void *halide_get_library_symbol_impl(void *lib, const char *name) {
WEAK               34 src/runtime/osx_get_symbol.cpp WEAK halide_get_symbol_t custom_get_symbol = halide_get_symbol_impl;
WEAK               35 src/runtime/osx_get_symbol.cpp WEAK halide_load_library_t custom_load_library = halide_load_library_impl;
WEAK               36 src/runtime/osx_get_symbol.cpp WEAK halide_get_library_symbol_t custom_get_library_symbol = halide_get_library_symbol_impl;
WEAK               42 src/runtime/osx_get_symbol.cpp WEAK halide_get_symbol_t halide_set_custom_get_symbol(halide_get_symbol_t f) {
WEAK               48 src/runtime/osx_get_symbol.cpp WEAK halide_load_library_t halide_set_custom_load_library(halide_load_library_t f) {
WEAK               54 src/runtime/osx_get_symbol.cpp WEAK halide_get_library_symbol_t halide_set_custom_get_library_symbol(halide_get_library_symbol_t f) {
WEAK               60 src/runtime/osx_get_symbol.cpp WEAK void *halide_get_symbol(const char *name) {
WEAK               64 src/runtime/osx_get_symbol.cpp WEAK void *halide_load_library(const char *name) {
WEAK               68 src/runtime/osx_get_symbol.cpp WEAK void *halide_get_library_symbol(void *lib, const char *name) {
WEAK                7 src/runtime/osx_host_cpu_count.cpp WEAK int halide_host_cpu_count() {
WEAK               17 src/runtime/osx_opengl_context.cpp WEAK halide_mutex cgl_functions_mutex;
WEAK               18 src/runtime/osx_opengl_context.cpp WEAK bool cgl_initialized = false;
WEAK               19 src/runtime/osx_opengl_context.cpp WEAK int (*CGLChoosePixelFormat)(int *attributes, void **pixel_format_result, int *num_formats);
WEAK               20 src/runtime/osx_opengl_context.cpp WEAK int (*CGLCreateContext)(void *pixel_format, void *share_context, void **context_Result);
WEAK               21 src/runtime/osx_opengl_context.cpp WEAK int (*CGLDestroyPixelFormat)(void *);
WEAK               22 src/runtime/osx_opengl_context.cpp WEAK int (*CGLSetCurrentContext)(void *);
WEAK               31 src/runtime/osx_opengl_context.cpp WEAK void *halide_opengl_get_proc_address(void *user_context, const char *name) {
WEAK               42 src/runtime/osx_opengl_context.cpp WEAK int halide_opengl_create_context(void *user_context) {
WEAK               12 src/runtime/posix_allocator.cpp WEAK void *default_malloc(void *user_context, size_t x) {
WEAK               26 src/runtime/posix_allocator.cpp WEAK void default_free(void *user_context, void *ptr) {
WEAK               30 src/runtime/posix_allocator.cpp WEAK halide_malloc_t custom_malloc = default_malloc;
WEAK               31 src/runtime/posix_allocator.cpp WEAK halide_free_t custom_free = default_free;
WEAK               37 src/runtime/posix_allocator.cpp WEAK halide_malloc_t halide_set_custom_malloc(halide_malloc_t user_malloc) {
WEAK               43 src/runtime/posix_allocator.cpp WEAK halide_free_t halide_set_custom_free(halide_free_t user_free) {
WEAK               49 src/runtime/posix_allocator.cpp WEAK void *halide_malloc(void *user_context, size_t x) {
WEAK               53 src/runtime/posix_allocator.cpp WEAK void halide_free(void *user_context, void *ptr) {
WEAK               19 src/runtime/posix_clock.cpp WEAK bool halide_reference_clock_inited = false;
WEAK               20 src/runtime/posix_clock.cpp WEAK timeval halide_reference_clock;
WEAK               27 src/runtime/posix_clock.cpp WEAK int halide_start_clock(void *user_context) {
WEAK               39 src/runtime/posix_clock.cpp WEAK int64_t halide_current_time_ns(void *user_context) {
WEAK               48 src/runtime/posix_clock.cpp WEAK void halide_sleep_ms(void *user_context, int ms) {
WEAK                6 src/runtime/posix_error_handler.cpp WEAK void default_error_handler(void *user_context, const char *msg) {
WEAK               22 src/runtime/posix_error_handler.cpp WEAK halide_error_handler_t error_handler = default_error_handler;
WEAK               28 src/runtime/posix_error_handler.cpp WEAK void halide_error(void *user_context, const char *msg) {
WEAK               32 src/runtime/posix_error_handler.cpp WEAK halide_error_handler_t halide_set_error_handler(halide_error_handler_t handler) {
WEAK               16 src/runtime/posix_get_symbol.cpp WEAK void *halide_get_symbol_impl(const char *name) {
WEAK               20 src/runtime/posix_get_symbol.cpp WEAK void *halide_load_library_impl(const char *name) {
WEAK               28 src/runtime/posix_get_symbol.cpp WEAK void *halide_get_library_symbol_impl(void *lib, const char *name) {
WEAK               32 src/runtime/posix_get_symbol.cpp WEAK halide_get_symbol_t custom_get_symbol = halide_get_symbol_impl;
WEAK               33 src/runtime/posix_get_symbol.cpp WEAK halide_load_library_t custom_load_library = halide_load_library_impl;
WEAK               34 src/runtime/posix_get_symbol.cpp WEAK halide_get_library_symbol_t custom_get_library_symbol = halide_get_library_symbol_impl;
WEAK               40 src/runtime/posix_get_symbol.cpp WEAK halide_get_symbol_t halide_set_custom_get_symbol(halide_get_symbol_t f) {
WEAK               46 src/runtime/posix_get_symbol.cpp WEAK halide_load_library_t halide_set_custom_load_library(halide_load_library_t f) {
WEAK               52 src/runtime/posix_get_symbol.cpp WEAK halide_get_library_symbol_t halide_set_custom_get_library_symbol(halide_get_library_symbol_t f) {
WEAK               58 src/runtime/posix_get_symbol.cpp WEAK void *halide_get_symbol(const char *name) {
WEAK               62 src/runtime/posix_get_symbol.cpp WEAK void *halide_load_library(const char *name) {
WEAK               66 src/runtime/posix_get_symbol.cpp WEAK void *halide_get_library_symbol(void *lib, const char *name) {
WEAK                5 src/runtime/posix_io.cpp WEAK void halide_print_impl(void *user_context, const char *str) {
WEAK                7 src/runtime/posix_print.cpp WEAK halide_print_t custom_print = halide_print_impl;
WEAK               13 src/runtime/posix_print.cpp WEAK void halide_print(void *user_context, const char *msg) {
WEAK               17 src/runtime/posix_print.cpp WEAK halide_print_t halide_set_custom_print(halide_print_t print) {
WEAK                8 src/runtime/posix_tempfile.cpp WEAK int halide_create_temp_file(void *user_context, const char *prefix, const char *suffix,
WEAK               40 src/runtime/posix_threads.cpp WEAK void *spawn_thread_helper(void *arg) {
WEAK               49 src/runtime/posix_threads.cpp WEAK struct halide_thread *halide_spawn_thread(void (*f)(void *), void *closure) {
WEAK               58 src/runtime/posix_threads.cpp WEAK void halide_join_thread(struct halide_thread *thread_arg) {
WEAK               65 src/runtime/posix_threads.cpp WEAK void halide_mutex_lock(halide_mutex *mutex) {
WEAK               69 src/runtime/posix_threads.cpp WEAK void halide_mutex_unlock(halide_mutex *mutex) {
WEAK               73 src/runtime/posix_threads.cpp WEAK void halide_mutex_destroy(halide_mutex *mutex) {
WEAK               78 src/runtime/posix_threads.cpp WEAK void halide_cond_init(struct halide_cond *cond) {
WEAK               82 src/runtime/posix_threads.cpp WEAK void halide_cond_destroy(struct halide_cond *cond) {
WEAK               86 src/runtime/posix_threads.cpp WEAK void halide_cond_broadcast(struct halide_cond *cond) {
WEAK               90 src/runtime/posix_threads.cpp WEAK void halide_cond_wait(struct halide_cond *cond, struct halide_mutex *mutex) {
WEAK               14 src/runtime/powerpc_cpu_features.cpp WEAK CpuFeatures halide_get_cpu_features() {
WEAK                8 src/runtime/prefetch.cpp WEAK int _halide_prefetch(const void *ptr) {
WEAK               11 src/runtime/profiler.cpp WEAK halide_profiler_state *halide_profiler_get_state() {
WEAK               19 src/runtime/profiler.cpp WEAK halide_profiler_pipeline_stats *find_or_create_pipeline(const char *pipeline_name, int num_funcs, const uint64_t *func_names) {
WEAK               69 src/runtime/profiler.cpp WEAK void bill_func(halide_profiler_state *s, int func_id, uint64_t time, int active_threads) {
WEAK               95 src/runtime/profiler.cpp WEAK void sampling_profiler_thread(void *) {
WEAK              158 src/runtime/profiler.cpp WEAK halide_profiler_pipeline_stats *halide_profiler_get_pipeline_state(const char *pipeline_name) {
WEAK              175 src/runtime/profiler.cpp WEAK int halide_profiler_pipeline_start(void *user_context,
WEAK              200 src/runtime/profiler.cpp WEAK void halide_profiler_stack_peak_update(void *user_context,
WEAK              220 src/runtime/profiler.cpp WEAK void halide_profiler_memory_allocate(void *user_context,
WEAK              256 src/runtime/profiler.cpp WEAK void halide_profiler_memory_free(void *user_context,
WEAK              286 src/runtime/profiler.cpp WEAK void halide_profiler_report_unlocked(void *user_context, halide_profiler_state *s) {
WEAK              388 src/runtime/profiler.cpp WEAK void halide_profiler_report(void *user_context) {
WEAK              395 src/runtime/profiler.cpp WEAK void halide_profiler_reset() {
WEAK              415 src/runtime/profiler.cpp WEAK void halide_profiler_shutdown() {
WEAK              435 src/runtime/profiler.cpp WEAK void halide_profiler_pipeline_end(void *user_context, void *state) {
WEAK                5 src/runtime/profiler_inlined.cpp WEAK __attribute__((always_inline)) int halide_profiler_set_current_func(halide_profiler_state *state, int tok, int t) {
WEAK               15 src/runtime/profiler_inlined.cpp WEAK __attribute__((always_inline)) int halide_profiler_incr_active_threads(halide_profiler_state *state) {
WEAK               23 src/runtime/profiler_inlined.cpp WEAK __attribute__((always_inline)) int halide_profiler_decr_active_threads(halide_profiler_state *state) {
WEAK               12 src/runtime/qurt_allocator.cpp WEAK void *default_malloc(void *user_context, size_t x) {
WEAK               31 src/runtime/qurt_allocator.cpp WEAK void default_free(void *user_context, void *ptr) {
WEAK               35 src/runtime/qurt_allocator.cpp WEAK halide_malloc_t custom_malloc = default_malloc;
WEAK               36 src/runtime/qurt_allocator.cpp WEAK halide_free_t custom_free = default_free;
WEAK               42 src/runtime/qurt_allocator.cpp WEAK halide_malloc_t halide_set_custom_malloc(halide_malloc_t user_malloc) {
WEAK               48 src/runtime/qurt_allocator.cpp WEAK halide_free_t halide_set_custom_free(halide_free_t user_free) {
WEAK               54 src/runtime/qurt_allocator.cpp WEAK void *halide_malloc(void *user_context, size_t x) {
WEAK               58 src/runtime/qurt_allocator.cpp WEAK void halide_free(void *user_context, void *ptr) {
WEAK               18 src/runtime/qurt_hvx.cpp WEAK int halide_qurt_hvx_lock(void *user_context, int size) {
WEAK               39 src/runtime/qurt_hvx.cpp WEAK int halide_qurt_hvx_unlock(void *user_context) {
WEAK               51 src/runtime/qurt_hvx.cpp WEAK void halide_qurt_hvx_unlock_as_destructor(void *user_context, void * /*obj*/) {
WEAK               58 src/runtime/qurt_hvx.cpp WEAK int _halide_prefetch_2d(const void *ptr, int width_bytes, int height, int stride_bytes) {
WEAK               77 src/runtime/qurt_hvx.cpp WEAK int _halide_prefetch(const void *ptr, int size) {
WEAK               88 src/runtime/qurt_hvx.cpp WEAK uint8_t *_halide_hexagon_buffer_get_host(const hexagon_buffer_t_arg *buf) {
WEAK               93 src/runtime/qurt_hvx.cpp WEAK uint64_t _halide_hexagon_buffer_get_device(const hexagon_buffer_t_arg *buf) {
WEAK               56 src/runtime/runtime_internal.h WEAK int64_t halide_current_time_ns(void *user_context);
WEAK               57 src/runtime/runtime_internal.h WEAK void halide_print(void *user_context, const char *msg);
WEAK               58 src/runtime/runtime_internal.h WEAK void halide_error(void *user_context, const char *msg);
WEAK               59 src/runtime/runtime_internal.h WEAK void (*halide_set_custom_print(void (*print)(void *, const char *)))(void *, const char *);
WEAK               60 src/runtime/runtime_internal.h WEAK void (*halide_set_error_handler(void (*handler)(void *, const char *)))(void *, const char *);
WEAK               98 src/runtime/runtime_internal.h WEAK char *halide_string_to_string(char *dst, char *end, const char *arg);
WEAK               99 src/runtime/runtime_internal.h WEAK char *halide_double_to_string(char *dst, char *end, double arg, int scientific);
WEAK              100 src/runtime/runtime_internal.h WEAK char *halide_int64_to_string(char *dst, char *end, int64_t arg, int digits);
WEAK              101 src/runtime/runtime_internal.h WEAK char *halide_uint64_to_string(char *dst, char *end, uint64_t arg, int digits);
WEAK              102 src/runtime/runtime_internal.h WEAK char *halide_pointer_to_string(char *dst, char *end, const void *arg);
WEAK              103 src/runtime/runtime_internal.h WEAK char *halide_buffer_to_string(char *dst, char *end, const halide_buffer_t *arg);
WEAK              104 src/runtime/runtime_internal.h WEAK char *halide_type_to_string(char *dst, char *end, const halide_type_t *arg);
WEAK              107 src/runtime/runtime_internal.h WEAK void *halide_get_symbol(const char *name);
WEAK              109 src/runtime/runtime_internal.h WEAK void *halide_load_library(const char *name);
WEAK              111 src/runtime/runtime_internal.h WEAK void *halide_get_library_symbol(void *lib, const char *name);
WEAK              113 src/runtime/runtime_internal.h WEAK int halide_start_clock(void *user_context);
WEAK              114 src/runtime/runtime_internal.h WEAK int64_t halide_current_time_ns(void *user_context);
WEAK              115 src/runtime/runtime_internal.h WEAK void halide_sleep_ms(void *user_context, int ms);
WEAK              116 src/runtime/runtime_internal.h WEAK void halide_device_free_as_destructor(void *user_context, void *obj);
WEAK              117 src/runtime/runtime_internal.h WEAK void halide_device_and_host_free_as_destructor(void *user_context, void *obj);
WEAK              118 src/runtime/runtime_internal.h WEAK void halide_device_host_nop_free(void *user_context, void *obj);
WEAK              122 src/runtime/runtime_internal.h WEAK void halide_profiler_stack_peak_update(void *user_context,
WEAK              125 src/runtime/runtime_internal.h WEAK void halide_profiler_memory_allocate(void *user_context,
WEAK              129 src/runtime/runtime_internal.h WEAK void halide_profiler_memory_free(void *user_context,
WEAK              133 src/runtime/runtime_internal.h WEAK int halide_profiler_pipeline_start(void *user_context,
WEAK              137 src/runtime/runtime_internal.h WEAK int halide_host_cpu_count();
WEAK              139 src/runtime/runtime_internal.h WEAK int halide_device_and_host_malloc(void *user_context, struct halide_buffer_t *buf,
WEAK              141 src/runtime/runtime_internal.h WEAK int halide_device_and_host_free(void *user_context, struct halide_buffer_t *buf);
WEAK              146 src/runtime/runtime_internal.h WEAK int halide_matlab_call_pipeline(void *user_context,
WEAK              156 src/runtime/runtime_internal.h WEAK void halide_cond_init(struct halide_cond *cond);
WEAK              157 src/runtime/runtime_internal.h WEAK void halide_cond_destroy(struct halide_cond *cond);
WEAK              158 src/runtime/runtime_internal.h WEAK void halide_cond_broadcast(struct halide_cond *cond);
WEAK              159 src/runtime/runtime_internal.h WEAK void halide_cond_wait(struct halide_cond *cond, struct halide_mutex *mutex);
WEAK              161 src/runtime/runtime_internal.h WEAK int halide_trace_helper(void *user_context,
WEAK              185 src/runtime/runtime_internal.h extern WEAK void halide_use_jit_module();
WEAK              186 src/runtime/runtime_internal.h extern WEAK void halide_release_jit_module();
WEAK              194 src/runtime/runtime_internal.h extern WEAK CpuFeatures halide_get_cpu_features();
WEAK               10 src/runtime/ssp.cpp WEAK char *__stack_chk_guard = (char *)(0xdeadbeef);
WEAK               12 src/runtime/ssp.cpp WEAK void __stack_chk_fail() {
WEAK                8 src/runtime/thread_pool.cpp WEAK void halide_thread_pool_cleanup() {
WEAK               14 src/runtime/thread_pool.cpp WEAK halide_do_task_t custom_do_task = default_do_task;
WEAK               15 src/runtime/thread_pool.cpp WEAK halide_do_par_for_t custom_do_par_for = default_do_par_for;
WEAK               18 src/runtime/thread_pool.cpp WEAK halide_do_task_t halide_set_custom_do_task(halide_do_task_t f) {
WEAK               24 src/runtime/thread_pool.cpp WEAK halide_do_par_for_t halide_set_custom_do_par_for(halide_do_par_for_t f) {
WEAK               30 src/runtime/thread_pool.cpp WEAK int halide_do_task(void *user_context, halide_task_t f, int idx,
WEAK               35 src/runtime/thread_pool.cpp WEAK int halide_do_par_for(void *user_context, halide_task_t f,
WEAK               60 src/runtime/thread_pool_common.h WEAK work_queue_t work_queue;
WEAK               62 src/runtime/thread_pool_common.h WEAK int default_do_task(void *user_context, halide_task_t f, int idx,
WEAK               67 src/runtime/thread_pool_common.h WEAK int clamp_num_threads(int desired_num_threads) {
WEAK               76 src/runtime/thread_pool_common.h WEAK int default_desired_num_threads() {
WEAK               91 src/runtime/thread_pool_common.h WEAK void worker_thread_already_locked(work *owned_job) {
WEAK              158 src/runtime/thread_pool_common.h WEAK void worker_thread(void *) {
WEAK              164 src/runtime/thread_pool_common.h WEAK int default_do_par_for(void *user_context, halide_task_t f,
WEAK              252 src/runtime/thread_pool_common.h WEAK int halide_set_num_threads(int n) {
WEAK              269 src/runtime/thread_pool_common.h WEAK void halide_shutdown_thread_pool() {
WEAK                5 src/runtime/to_string.cpp WEAK char *halide_string_to_string(char *dst, char *end, const char *arg) {
WEAK               21 src/runtime/to_string.cpp WEAK char *halide_uint64_to_string(char *dst, char *end, uint64_t arg, int min_digits) {
WEAK               39 src/runtime/to_string.cpp WEAK char *halide_int64_to_string(char *dst, char *end, int64_t arg, int min_digits) {
WEAK               47 src/runtime/to_string.cpp WEAK char *halide_double_to_string(char *dst, char *end, double arg, int scientific) {
WEAK              231 src/runtime/to_string.cpp WEAK char *halide_pointer_to_string(char *dst, char *end, const void *arg) {
WEAK              246 src/runtime/to_string.cpp WEAK char *halide_type_to_string(char *dst, char *end, const halide_type_t *t) {
WEAK              274 src/runtime/to_string.cpp WEAK char *halide_buffer_to_string(char *dst, char *end, const halide_buffer_t *buf) {
WEAK               13 src/runtime/tracing.cpp WEAK int halide_trace_file = 0;
WEAK               14 src/runtime/tracing.cpp WEAK int halide_trace_file_lock = 0;
WEAK               15 src/runtime/tracing.cpp WEAK bool halide_trace_file_initialized = false;
WEAK               16 src/runtime/tracing.cpp WEAK void *halide_trace_file_internally_opened = NULL;
WEAK               18 src/runtime/tracing.cpp WEAK int32_t default_trace(void *user_context, const halide_trace_event_t *e) {
WEAK              164 src/runtime/tracing.cpp WEAK trace_fn halide_custom_trace = default_trace;
WEAK              170 src/runtime/tracing.cpp WEAK trace_fn halide_set_custom_trace(trace_fn t) {
WEAK              176 src/runtime/tracing.cpp WEAK void halide_set_trace_file(int fd) {
WEAK              183 src/runtime/tracing.cpp WEAK int halide_get_trace_file(void *user_context) {
WEAK              201 src/runtime/tracing.cpp WEAK int32_t halide_trace(void *user_context, const halide_trace_event_t *e) {
WEAK              205 src/runtime/tracing.cpp WEAK int halide_shutdown_trace() {
WEAK              219 src/runtime/tracing.cpp WEAK void halide_trace_cleanup() {
WEAK              226 src/runtime/tracing.cpp WEAK int halide_trace_helper(void *user_context,
WEAK               15 src/runtime/windows_clock.cpp WEAK bool halide_reference_clock_inited = false;
WEAK               16 src/runtime/windows_clock.cpp WEAK int64_t halide_reference_clock = 0;
WEAK               17 src/runtime/windows_clock.cpp WEAK int64_t halide_clock_frequency = 1;
WEAK               19 src/runtime/windows_clock.cpp WEAK int halide_start_clock(void *user_context) {
WEAK               29 src/runtime/windows_clock.cpp WEAK int64_t halide_current_time_ns(void *user_context) {
WEAK               37 src/runtime/windows_clock.cpp WEAK void halide_sleep_ms(void *user_context, int ms) {
WEAK               21 src/runtime/windows_get_symbol.cpp WEAK void *halide_get_symbol_impl(const char *name) {
WEAK               25 src/runtime/windows_get_symbol.cpp WEAK void *halide_load_library_impl(const char *name) {
WEAK               33 src/runtime/windows_get_symbol.cpp WEAK void *halide_get_library_symbol_impl(void *lib, const char *name) {
WEAK               37 src/runtime/windows_get_symbol.cpp WEAK halide_get_symbol_t custom_get_symbol = halide_get_symbol_impl;
WEAK               38 src/runtime/windows_get_symbol.cpp WEAK halide_load_library_t custom_load_library = halide_load_library_impl;
WEAK               39 src/runtime/windows_get_symbol.cpp WEAK halide_get_library_symbol_t custom_get_library_symbol = halide_get_library_symbol_impl;
WEAK               45 src/runtime/windows_get_symbol.cpp WEAK halide_get_symbol_t halide_set_custom_get_symbol(halide_get_symbol_t f) {
WEAK               51 src/runtime/windows_get_symbol.cpp WEAK halide_load_library_t halide_set_custom_load_library(halide_load_library_t f) {
WEAK               57 src/runtime/windows_get_symbol.cpp WEAK halide_get_library_symbol_t halide_set_custom_get_library_symbol(halide_get_library_symbol_t f) {
WEAK               63 src/runtime/windows_get_symbol.cpp WEAK void *halide_get_symbol(const char *name) {
WEAK               67 src/runtime/windows_get_symbol.cpp WEAK void *halide_load_library(const char *name) {
WEAK               71 src/runtime/windows_get_symbol.cpp WEAK void *halide_get_library_symbol(void *lib, const char *name) {
WEAK                5 src/runtime/windows_io.cpp WEAK void halide_print_impl(void *user_context, const char *str) {
WEAK               16 src/runtime/windows_tempfile.cpp WEAK int halide_create_temp_file(void *user_context, const char *prefix, const char *suffix,
WEAK               39 src/runtime/windows_threads.cpp WEAK WIN32API bool init_mutex(InitOnce *, void *mutex_arg, void **) {
WEAK               50 src/runtime/windows_threads.cpp WEAK void *spawn_thread_helper(void *arg) {
WEAK               60 src/runtime/windows_threads.cpp WEAK halide_thread *halide_spawn_thread(void(*f)(void *), void *closure) {
WEAK               68 src/runtime/windows_threads.cpp WEAK void halide_join_thread(halide_thread *thread_arg) {
WEAK               74 src/runtime/windows_threads.cpp WEAK void halide_mutex_destroy(halide_mutex *mutex_arg) {
WEAK               82 src/runtime/windows_threads.cpp WEAK void halide_mutex_lock(halide_mutex *mutex_arg) {
WEAK               88 src/runtime/windows_threads.cpp WEAK void halide_mutex_unlock(halide_mutex *mutex_arg) {
WEAK               93 src/runtime/windows_threads.cpp WEAK void halide_cond_init(struct halide_cond *cond_arg) {
WEAK               98 src/runtime/windows_threads.cpp WEAK void halide_cond_destroy(struct halide_cond *cond_arg) {
WEAK              104 src/runtime/windows_threads.cpp WEAK void halide_cond_broadcast(struct halide_cond *cond_arg) {
WEAK              109 src/runtime/windows_threads.cpp WEAK void halide_cond_wait(struct halide_cond *cond_arg, struct halide_mutex *mutex_arg) {
WEAK              115 src/runtime/windows_threads.cpp WEAK int halide_host_cpu_count() {
WEAK               22 src/runtime/write_debug_image.cpp WEAK int16_t pixel_type_to_tiff_sample_type[] = {
WEAK               74 src/runtime/write_debug_image.cpp WEAK bool has_tiff_extension(const char *filename) {
WEAK              102 src/runtime/write_debug_image.cpp WEAK extern "C" int32_t halide_debug_to_file(void *user_context, const char *filename,
WEAK               13 src/runtime/x86_cpu_features.cpp WEAK CpuFeatures halide_get_cpu_features() {