Halide  12.0.1
Halide compiler and libraries
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 
6 namespace Halide {
7 namespace Runtime {
8 namespace Internal {
9 namespace Metal {
10 
11 struct mtl_compute_command_encoder;
12 
13 void 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