https://github.com/halide/Halide
Raw File
Tip revision: f80fb1b060c8fc96ef6e748f59c6b532dc534ad6 authored by Steven Johnson on 03 February 2022, 00:41:23 UTC
Gen2 C++ Generator Experiment, KEEP
Tip revision: f80fb1b
metal_objc_platform_dependent.h
#ifndef HALIDE_OBJC_METAL_PLATFORM_DEPENDENT_H
#define HALIDE_OBJC_METAL_PLATFORM_DEPENDENT_H

#include "runtime_internal.h"

namespace Halide {
namespace Runtime {
namespace Internal {
namespace Metal {

struct mtl_compute_command_encoder;

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);

}  // namespace Metal
}  // namespace Internal
}  // namespace Runtime
}  // namespace Halide

#endif
back to top