Halide 19.0.0
Halide compiler and libraries
Loading...
Searching...
No Matches
metal_objc_platform_dependent.h
Go to the documentation of this file.
1#ifndef HALIDE_OBJC_METAL_PLATFORM_DEPENDENT_H
2#define HALIDE_OBJC_METAL_PLATFORM_DEPENDENT_H
3
4#include "runtime_internal.h"
5
6namespace Halide {
7namespace Runtime {
8namespace Internal {
9namespace Metal {
10
11struct mtl_compute_command_encoder;
12
13void dispatch_threadgroups(mtl_compute_command_encoder *encoder,
14 int32_t blocks_x, int32_t blocks_y, int32_t blocks_z,
15 int32_t threads_x, int32_t threads_y, int32_t threads_z);
16
17} // namespace Metal
18} // namespace Internal
19} // namespace Runtime
20} // namespace Halide
21
22#endif
void dispatch_threadgroups(mtl_compute_command_encoder *encoder, int32_t blocks_x, int32_t blocks_y, int32_t blocks_z, int32_t threads_x, int32_t threads_y, int32_t threads_z)
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
@ Internal
Not visible externally, similar to 'static' linkage in C.
signed __INT32_TYPE__ int32_t