1 Star 0 Fork 3

xiongying/Halide

forked from Gitee 极速下载/Halide 
加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
SelectGPUAPI.h 570 Bytes
一键复制 编辑 原始数据 按行查看 历史
Dillon Sharlet 提交于 2021-01-12 05:25 +08:00 . Clean up includes (#5584)
#ifndef HALIDE_INTERNAL_SELECT_GPU_API_H
#define HALIDE_INTERNAL_SELECT_GPU_API_H
#include "Expr.h"
/** \file
* Defines a lowering pass that selects which GPU api to use for each
* gpu for loop
*/
namespace Halide {
struct Target;
namespace Internal {
/** Replace for loops with GPU_Default device_api with an actual
* device API depending on what's enabled in the target. Choose the
* first of the following: opencl, cuda, openglcompute, opengl */
Stmt select_gpu_api(const Stmt &s, const Target &t);
} // namespace Internal
} // namespace Halide
#endif
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C/C++
1
https://gitee.com/VisionDeveloper/Halide.git
git@gitee.com:VisionDeveloper/Halide.git
VisionDeveloper
Halide
Halide
main

搜索帮助