예제 #1
0
void compile_standalone_runtime(std::string object_filename, Target t) {
    Module empty("standalone_runtime", t.without_feature(Target::NoRuntime));
    compile_module_to_object(empty, object_filename);
}
예제 #2
0
파일: Output.cpp 프로젝트: lukw00/Halide
void compile_standalone_runtime(std::string object_filename, Target t) {
    t.set_feature(Target::NoRuntime, false);
    t.set_feature(Target::JIT, false);
    Module empty("standalone_runtime", t);
    compile_module_to_object(empty, object_filename);
}