https://github.com/halide/Halide
Raw File
Tip revision: 3a974c2df25c8a34e318504002b8a0a45e0e1664 authored by Derek Gerstmann on 01 December 2021, 21:02:43 UTC
Use ICD rather than dynload Molten directly.
Tip revision: 3a974c2
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