MCPcopy Index your code
hub / github.com/apache/tvm / compile_metal

Function compile_metal

tests/python/codegen/test_gpu_codegen_allreduce.py:108–111  ·  view source on GitHub ↗
(src, target)

Source from the content-addressed store, hash-verified

106
107 @tvm.register_global_func(name, override=True)
108 def compile_metal(src, target):
109 from tvm.support.xcode import compile_metal # pylint: disable=import-outside-toplevel
110
111 return compile_metal(src, sdk="macosx")
112
113 yield
114

Callers

nothing calls this directly

Calls 1

compile_metalFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…