Halide 22.0.0 Halide compiler and libraries

Loading...
Searching...
No Matches
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
18std::unique_ptr<CodeGen_GPU_Dev> new_CodeGen_WebGPU_Dev(const Target &target);
19
20} // namespace Internal
21} // namespace Halide
22
23#endif
Halide::Internal::new_CodeGen_WebGPU_Dev
std::unique_ptr< CodeGen_GPU_Dev > new_CodeGen_WebGPU_Dev(const Target &target)
Halide
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
Definition AbstractGenerator.h:19
Halide::LinkageType::Internal
@ Internal
Not visible externally, similar to 'static' linkage in C.
Halide::Target
A struct representing a target machine and os to generate code for.
Definition Target.h:19