samples: Workload queue API compatibility update
diff --git a/samples/workload_module/host.c b/samples/workload_module/host.c index 878d060..fbbce2b 100644 --- a/samples/workload_module/host.c +++ b/samples/workload_module/host.c
@@ -64,7 +64,7 @@ return 1; } - ret = mars_workload_queue_add_end(mars_ctx, workload_id); + ret = mars_workload_queue_add_end(mars_ctx, workload_id, 0); if (ret != MARS_SUCCESS) { printf("MARS workload queue add end failed! (%d)\n", ret); return 1; @@ -76,7 +76,7 @@ return 1; } - ret = mars_workload_queue_schedule_end(mars_ctx, workload_id); + ret = mars_workload_queue_schedule_end(mars_ctx, workload_id, 0); if (ret != MARS_SUCCESS) { printf("MARS workload queue schedule end failed! (%d)\n", ret); return 1; @@ -94,7 +94,7 @@ return 1; } - ret = mars_workload_queue_remove_end(mars_ctx, workload_id); + ret = mars_workload_queue_remove_end(mars_ctx, workload_id, 0); if (ret != MARS_SUCCESS) { printf("MARS workload queue remove end failed! (%d)\n", ret); return 1;