Halide 22.0.0 Halide compiler and libraries

Loading...
Searching...
No Matches
Namespaces | Functions
CodeGen_Metal_Dev.h File Reference

Defines the code-generator for producing Apple Metal shading language kernel code. More...

`#include <memory>`
`#include <string>`

Go to the source code of this file.

## Namespaces
namespace | Halide
| This file defines the class FunctionDAG, which is our representation of a Halide pipeline, and contains methods to using Halide's bounds tools to query properties of it.
namespace | Halide::Internal

## Functions
void | Halide::set_metal_compiler_and_linker (const std::string &compiler_path, const std::string &linker_path)
| Set the Metal compiler and linker commands to use for generating precompiled Metal shaders (embedded metallibs instead of source code).
std::unique_ptr< CodeGen_GPU_Dev > | Halide::Internal::new_CodeGen_Metal_Dev (const Target &target)
std::string | Halide::Internal::get_metal_compiler ()
| Get the Metal compiler command that was set via set_metal_compiler_and_linker().
std::string | Halide::Internal::get_metal_linker ()
| Get the Metal linker command that was set via set_metal_compiler_and_linker().

## Detailed Description

Defines the code-generator for producing Apple Metal shading language kernel code.

Definition in file CodeGen_Metal_Dev.h.