Halide
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
int32_t
signed __INT32_TYPE__ int32_t
Definition: runtime_internal.h:24
Halide::Runtime::Internal::Metal::dispatch_threadgroups
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)
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::DeviceAPI::Metal
@ Metal
runtime_internal.h