Mace-cl-compiled-program.bin Jun 2026
// Include the headers #include "mace/public/mace.h" #include "mace/public/mace_runtime.h" // If the build_type is code #include " Read the Docs
: The result of this tuning and compilation is saved as mace-cl-compiled-program.bin (or a similar name) and can be embedded directly into the final application or loaded from a local storage path. Common Issues: "File Does Not Exist" mace-cl-compiled-program.bin
: If the file is missing, MACE will log a message stating "There is no precompiled OpenCL binary" and fall back to on-the-fly compilation, which may result in a slower first-run experience. // Include the headers #include "mace/public/mace
If you run the Linux file command on it, you will not see "ELF" or "Mach-O"; you will likely see "data" because it is a proprietary driver format (e.g., Qualcomm's CL_PROGRAM_BINARY_TYPE_EXECUTABLE ). Qualcomm's CL_PROGRAM_BINARY_TYPE_EXECUTABLE ).