[XPU] Update Lite XPU lib and fixed some bugs (#1647)

This commit is contained in:
DefTruth
2023-03-17 21:39:39 +08:00
committed by GitHub
parent e21127b7e8
commit 6af3691568
8 changed files with 100 additions and 11 deletions

View File

@@ -32,6 +32,7 @@ DEFINE_string(image, "", "Path of the image file.");
DEFINE_string(config_path, "config.txt", "Path of benchmark config.");
DEFINE_int32(warmup, -1, "Number of warmup for profiling.");
DEFINE_int32(repeat, -1, "Number of repeats for profiling.");
DEFINE_int32(xpu_l3_cache, -1, "Size xpu l3 cache for profiling.");
static void PrintUsage() {
std::cout << "Usage: infer_demo --model model_path --image img_path "