https://github.com/halide/Halide
Raw File
Tip revision: 9c14ac9600256ee2f5015fd2cf0f59d567c4a048 authored by Alex Reinking on 25 January 2023, 05:54:00 UTC
Shrink diff, packaging fixes.
Tip revision: 9c14ac9
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