Mace-cl-compiled-program.bin Today
So, mace-cl-compiled-program.bin is a pre-compiled OpenCL kernel binary that was generated by the MACE framework for a specific hardware GPU (e.g., an Adreno GPU in a Snapdragon chip, or a Mali GPU).
The file is produced by the MACE compiler toolchain from: mace-cl-compiled-program.bin
// Enable profiling in MACE config.SetGPUPriority(mace::GPUPriority::HIGH); config.SetGPUProfiling(true);
// After inference double gpu_time_ms; engine->GetGPUProfilingTime(&gpu_time_ms);So, mace-cl-compiled-program
# View first 64 bytes
xxd mace-cl-compiled-program.bin | head -4
MACE solves the "compilation tax" by performing the expensive compilation once, saving the result, and reusing it later. The file is produced by the MACE compiler
Step 1 (First Launch):
Step 2 (Subsequent Launches):