tvm_tirx.support.xcode

Contents

tvm_tirx.support.xcode#

Utility to invoke Xcode compiler toolchain

Functions#

xcrun(cmd)

Run xcrun and return the output.

create_dylib(output, objects, arch[, sdk, ...])

Create dynamic library.

compile_metal(code[, path_target, sdk, ...])

Compile Metal with CLI tool from env.

compile_coreml(model[, model_name, out_dir])

Compile coreml model and return the compiled model path.