Halide  12.0.1
Halide compiler and libraries
CodeGen_OpenCL_Dev.h
Go to the documentation of this file.
1 #ifndef HALIDE_CODEGEN_OPENCL_DEV_H
2 #define HALIDE_CODEGEN_OPENCL_DEV_H
3 
4 /** \file
5  * Defines the code-generator for producing OpenCL C kernel code
6  */
7 
8 #include <memory>
9 
10 namespace Halide {
11 
12 struct Target;
13 
14 namespace Internal {
15 
16 struct CodeGen_GPU_Dev;
17 
18 std::unique_ptr<CodeGen_GPU_Dev> new_CodeGen_OpenCL_Dev(const Target &target);
19 
20 } // namespace Internal
21 } // namespace Halide
22 
23 #endif
std::unique_ptr< CodeGen_GPU_Dev > new_CodeGen_OpenCL_Dev(const Target &target)
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
@ Internal
Not visible externally, similar to 'static' linkage in C.
A struct representing a target machine and os to generate code for.
Definition: Target.h:19