Halide  17.0.2
Halide compiler and libraries
CodeGen_WebGPU_Dev.h
Go to the documentation of this file.
1 #ifndef HALIDE_CODEGEN_WEBGPU_DEV_H
2 #define HALIDE_CODEGEN_WEBGPU_DEV_H
3 
4 /** \file
5  * Defines the code-generator for producing WebGPU shader code (WGSL)
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_WebGPU_Dev(const Target &target);
19 
20 } // namespace Internal
21 } // namespace Halide
22 
23 #endif
std::unique_ptr< CodeGen_GPU_Dev > new_CodeGen_WebGPU_Dev(const Target &target)
This file defines the class FunctionDAG, which is our representation of a Halide pipeline, and contains methods to using Halide&#39;s bounds tools to query properties of it.
Not visible externally, similar to &#39;static&#39; linkage in C.