开源 企业版 高校版 私有云 模力方舟 AI 队友
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
1 Star 0 Fork 3

xiongying/Halide

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
已有帐号? 立即登录
文件
main
分支 (1093)
标签 (17)
main
xtensa-codegen
vksnk/dma-limit-channels
rootjalex/trs-codegen-cross
abadams/fix_7374
abadams/remove_hack_from_gpu_only_aottest
srj/gpu-cache
srj/generator_aot_gpu_multi_context_threaded
srj/xtensa-merge
abadams/vector_scan
abadams/fix_7365
darya-ver/ir-viz
vulkan-phase2-runtime
srj/param-map-deprecation
srj/rt-return-types
srj/main-vs2022
release/15.x
srj/param-map
abadams/ir_builder_unique_ptr
vksnk/restrict
v14.0.0
v13.0.4
v13.0.3
v13.0.2
v13.0.1
v13.0.0
v12.0.1
v12.0.0
v11.0.1
v11.0.0
v10.0.1
v10.0.0
release_2019_08_27
release_8.0.0
v8.0.0
release_2018_02_15
release_2013_11_11
main
分支 (1093)
标签 (17)
main
xtensa-codegen
vksnk/dma-limit-channels
rootjalex/trs-codegen-cross
abadams/fix_7374
abadams/remove_hack_from_gpu_only_aottest
srj/gpu-cache
srj/generator_aot_gpu_multi_context_threaded
srj/xtensa-merge
abadams/vector_scan
abadams/fix_7365
darya-ver/ir-viz
vulkan-phase2-runtime
srj/param-map-deprecation
srj/rt-return-types
srj/main-vs2022
release/15.x
srj/param-map
abadams/ir_builder_unique_ptr
vksnk/restrict
v14.0.0
v13.0.4
v13.0.3
v13.0.2
v13.0.1
v13.0.0
v12.0.1
v12.0.0
v11.0.1
v11.0.0
v10.0.1
v10.0.0
release_2019_08_27
release_8.0.0
v8.0.0
release_2018_02_15
release_2013_11_11
克隆/下载
克隆/下载
提示
下载代码请复制以下命令到终端执行
为确保你提交的代码身份被 Gitee 正确识别,请执行以下命令完成配置
初次使用 SSH 协议进行代码克隆、推送等操作时,需按下述提示完成 SSH 配置
1 生成 RSA 密钥
2 获取 RSA 公钥内容,并配置到 SSH公钥
在 Gitee 上使用 SVN,请访问 使用指南
使用 HTTPS 协议时,命令行会出现如下账号密码验证步骤。基于安全考虑,Gitee 建议 配置并使用私人令牌 替代登录密码进行克隆、推送等操作
Username for 'https://gitee.com': userName
Password for 'https://userName@gitee.com': # 私人令牌
main
分支 (1093)
标签 (17)
main
xtensa-codegen
vksnk/dma-limit-channels
rootjalex/trs-codegen-cross
abadams/fix_7374
abadams/remove_hack_from_gpu_only_aottest
srj/gpu-cache
srj/generator_aot_gpu_multi_context_threaded
srj/xtensa-merge
abadams/vector_scan
abadams/fix_7365
darya-ver/ir-viz
vulkan-phase2-runtime
srj/param-map-deprecation
srj/rt-return-types
srj/main-vs2022
release/15.x
srj/param-map
abadams/ir_builder_unique_ptr
vksnk/restrict
v14.0.0
v13.0.4
v13.0.3
v13.0.2
v13.0.1
v13.0.0
v12.0.1
v12.0.0
v11.0.1
v11.0.0
v10.0.1
v10.0.0
release_2019_08_27
release_8.0.0
v8.0.0
release_2018_02_15
release_2013_11_11
Halide
/
src
/
runtime
/
runtime_api.cpp
Halide
/
src
/
runtime
/
runtime_api.cpp
runtime_api.cpp 8.98 KB
一键复制 编辑 原始数据 按行查看 历史
Alexander Root 提交于 2022年08月23日 00:08 +08:00 . [HVX] Fix state_var issue (#6894)
// Ignore deprecation warnings inside our own runtime
#define HALIDE_ALLOW_DEPRECATED 1
#include "HalideRuntime.h"
#include "HalideRuntimeCuda.h"
#include "HalideRuntimeD3D12Compute.h"
#include "HalideRuntimeHexagonHost.h"
#include "HalideRuntimeMetal.h"
#include "HalideRuntimeOpenCL.h"
#include "HalideRuntimeOpenGLCompute.h"
#include "HalideRuntimeQurt.h"
#include "cpu_features.h"
// This runtime module will contain extern declarations of the Halide
// API and the types it uses. It's useful for compiling modules that
// use the API without including a copy of it (e.g. JIT, NoRuntime).
// Can be generated via the following:
// cat src/runtime/runtime_internal.h src/runtime/HalideRuntime*.h | grep "^[^ ][^(]*halide_[^ ]*(" | grep -v '#define' | sed "s/[^(]*halide/halide/" | sed "s/(.*//" | sed "s/^h/ \(void *)\&h/" | sed "s/$/,/" | sort | uniq
extern "C" void halide_unused_force_include_types();
extern "C" __attribute__((used)) void *halide_runtime_api_functions[] = {
(void *)&halide_buffer_copy,
(void *)&halide_buffer_to_string,
(void *)&halide_can_use_target_features,
(void *)&halide_cond_broadcast,
(void *)&halide_cond_signal,
(void *)&halide_cond_wait,
(void *)&halide_copy_to_device,
(void *)&halide_copy_to_host,
(void *)&halide_cuda_detach_device_ptr,
(void *)&halide_cuda_device_interface,
(void *)&halide_cuda_get_device_ptr,
(void *)&halide_cuda_initialize_kernels,
(void *)&halide_cuda_finalize_kernels,
(void *)&halide_cuda_run,
(void *)&halide_cuda_wrap_device_ptr,
(void *)&halide_current_time_ns,
(void *)&halide_debug_to_file,
(void *)&halide_default_can_use_target_features,
(void *)&halide_device_and_host_free,
(void *)&halide_device_and_host_free_as_destructor,
(void *)&halide_device_and_host_malloc,
(void *)&halide_device_free,
(void *)&halide_device_free_as_destructor,
(void *)&halide_device_host_nop_free,
(void *)&halide_device_malloc,
(void *)&halide_device_release,
(void *)&halide_device_sync,
(void *)&halide_disable_timer_interrupt,
(void *)&halide_do_par_for,
(void *)&halide_do_parallel_tasks,
(void *)&halide_do_task,
(void *)&halide_do_loop_task,
(void *)&halide_double_to_string,
(void *)&halide_enable_timer_interrupt,
(void *)&halide_error,
(void *)&halide_error_access_out_of_bounds,
(void *)&halide_error_bad_dimensions,
(void *)&halide_error_bad_fold,
(void *)&halide_error_bad_extern_fold,
(void *)&halide_error_bad_type,
(void *)&halide_error_bounds_inference_call_failed,
(void *)&halide_error_buffer_allocation_too_large,
(void *)&halide_error_buffer_argument_is_null,
(void *)&halide_error_buffer_extents_negative,
(void *)&halide_error_buffer_extents_too_large,
(void *)&halide_error_constraint_violated,
(void *)&halide_error_constraints_make_required_region_smaller,
(void *)&halide_error_debug_to_file_failed,
(void *)&halide_error_device_dirty_with_no_device_support,
(void *)&halide_error_explicit_bounds_too_small,
(void *)&halide_error_extern_stage_failed,
(void *)&halide_error_fold_factor_too_small,
(void *)&halide_error_host_is_null,
(void *)&halide_error_out_of_memory,
(void *)&halide_error_param_too_large_f64,
(void *)&halide_error_param_too_large_i64,
(void *)&halide_error_param_too_large_u64,
(void *)&halide_error_param_too_small_f64,
(void *)&halide_error_param_too_small_i64,
(void *)&halide_error_param_too_small_u64,
(void *)&halide_error_requirement_failed,
(void *)&halide_error_specialize_fail,
(void *)&halide_error_unaligned_host_ptr,
(void *)&halide_error_storage_bound_too_small,
(void *)&halide_error_device_crop_failed,
(void *)&halide_float16_bits_to_double,
(void *)&halide_float16_bits_to_float,
(void *)&halide_free,
(void *)&halide_get_cpu_features,
(void *)&halide_get_gpu_device,
(void *)&halide_get_library_symbol,
(void *)&halide_get_symbol,
(void *)&halide_get_trace_file,
(void *)&halide_hexagon_detach_device_handle,
(void *)&halide_hexagon_device_interface,
(void *)&halide_hexagon_device_release,
(void *)&halide_hexagon_get_device_handle,
(void *)&halide_hexagon_get_device_size,
(void *)&halide_hexagon_get_module_state,
(void *)&halide_hexagon_initialize_kernels,
(void *)&halide_hexagon_finalize_kernels,
(void *)&halide_hexagon_power_hvx_off,
(void *)&halide_hexagon_power_hvx_off_as_destructor,
(void *)&halide_hexagon_power_hvx_on,
(void *)&halide_hexagon_run,
(void *)&halide_hexagon_set_performance,
(void *)&halide_hexagon_set_performance_mode,
(void *)&halide_hexagon_set_thread_priority,
(void *)&halide_hexagon_wrap_device_handle,
(void *)&halide_int64_to_string,
(void *)&halide_join_thread,
(void *)&halide_load_library,
(void *)&halide_malloc,
(void *)&halide_memoization_cache_cleanup,
(void *)&halide_memoization_cache_evict,
(void *)&halide_memoization_cache_lookup,
(void *)&halide_memoization_cache_release,
(void *)&halide_memoization_cache_set_size,
(void *)&halide_memoization_cache_store,
(void *)&halide_metal_acquire_context,
(void *)&halide_metal_detach_buffer,
(void *)&halide_metal_device_interface,
(void *)&halide_metal_get_buffer,
(void *)&halide_metal_get_crop_offset,
(void *)&halide_metal_initialize_kernels,
(void *)&halide_metal_finalize_kernels,
(void *)&halide_metal_release_context,
(void *)&halide_metal_run,
(void *)&halide_metal_wrap_buffer,
(void *)&halide_msan_annotate_buffer_is_initialized,
(void *)&halide_msan_annotate_buffer_is_initialized_as_destructor,
(void *)&halide_msan_annotate_memory_is_initialized,
(void *)&halide_msan_check_buffer_is_initialized,
(void *)&halide_msan_check_memory_is_initialized,
(void *)&halide_mutex_lock,
(void *)&halide_mutex_unlock,
(void *)&halide_mutex_array_create,
(void *)&halide_mutex_array_destroy,
(void *)&halide_mutex_array_lock,
(void *)&halide_mutex_array_unlock,
(void *)&halide_opencl_detach_cl_mem,
(void *)&halide_opencl_device_interface,
(void *)&halide_opencl_get_cl_mem,
(void *)&halide_opencl_get_build_options,
(void *)&halide_opencl_get_device_type,
(void *)&halide_opencl_get_platform_name,
(void *)&halide_opencl_get_crop_offset,
(void *)&halide_opencl_image_device_interface,
(void *)&halide_opencl_image_wrap_cl_mem,
(void *)&halide_opencl_initialize_kernels,
(void *)&halide_opencl_finalize_kernels,
(void *)&halide_opencl_run,
(void *)&halide_opencl_set_build_options,
(void *)&halide_opencl_set_device_type,
(void *)&halide_opencl_set_platform_name,
(void *)&halide_opencl_wrap_cl_mem,
(void *)&halide_opengl_create_context,
(void *)&halide_opengl_get_proc_address,
(void *)&halide_openglcompute_device_interface,
(void *)&halide_openglcompute_initialize_kernels,
(void *)&halide_openglcompute_finalize_kernels,
(void *)&halide_openglcompute_run,
(void *)&halide_pointer_to_string,
(void *)&halide_print,
(void *)&halide_profiler_get_pipeline_state,
(void *)&halide_profiler_get_state,
(void *)&halide_profiler_memory_allocate,
(void *)&halide_profiler_memory_free,
(void *)&halide_profiler_pipeline_start,
(void *)&halide_profiler_report,
(void *)&halide_profiler_reset,
(void *)&halide_profiler_stack_peak_update,
(void *)&halide_qurt_hvx_lock,
(void *)&halide_qurt_hvx_unlock,
(void *)&halide_qurt_hvx_unlock_as_destructor,
(void *)&halide_release_jit_module,
(void *)&halide_semaphore_init,
(void *)&halide_semaphore_release,
(void *)&halide_semaphore_try_acquire,
(void *)&halide_set_custom_can_use_target_features,
(void *)&halide_set_custom_do_par_for,
(void *)&halide_set_custom_do_loop_task,
(void *)&halide_set_custom_do_task,
(void *)&halide_set_custom_free,
(void *)&halide_set_custom_get_library_symbol,
(void *)&halide_set_custom_get_symbol,
(void *)&halide_set_custom_load_library,
(void *)&halide_set_custom_malloc,
(void *)&halide_set_custom_print,
(void *)&halide_set_custom_trace,
(void *)&halide_set_error_handler,
(void *)&halide_set_gpu_device,
(void *)&halide_set_num_threads,
(void *)&halide_set_trace_file,
(void *)&halide_shutdown_thread_pool,
(void *)&halide_shutdown_trace,
(void *)&halide_sleep_ms,
(void *)&halide_spawn_thread,
(void *)&halide_start_clock,
(void *)&halide_start_timer_chain,
(void *)&halide_string_to_string,
(void *)&halide_trace,
(void *)&halide_trace_helper,
(void *)&halide_uint64_to_string,
(void *)&halide_use_jit_module,
(void *)&halide_d3d12compute_acquire_context,
(void *)&halide_d3d12compute_device_interface,
(void *)&halide_d3d12compute_initialize_kernels,
(void *)&halide_d3d12compute_finalize_kernels,
(void *)&halide_d3d12compute_release_context,
(void *)&halide_d3d12compute_run,
(void *)&halide_unused_force_include_types,
};
Loading...
举报
举报成功
我们将于2个工作日内通过站内信反馈结果给你!
请认真填写举报原因,尽可能描述详细。
请选择举报类型
取消
发送
误判申诉

此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。

如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。

取消
提交

简介

MIT计算机科学和人工智能实验室的研究人员创造出一种专门设计简化图像处理的程序语言Halide,源代码托管在GitHub上,目前二进制程序只支持Mac OS X和Ubuntu 12
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
编辑仓库简介
简介内容
主页
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C/C++
1
https://gitee.com/VisionDeveloper/Halide.git
git@gitee.com:VisionDeveloper/Halide.git
VisionDeveloper
Halide
Halide
main
点此查找更多帮助

搜索帮助

评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册

AltStyle によって変換されたページ (->オリジナル) /