File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
applications/distributed/ucx/ucx_endoscopy_tool_tracking/cpp Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,10 @@ class VideoInputFragment : public holoscan::Fragment {
40
40
41
41
auto replayer = make_operator<ops::VideoStreamReplayerOp>(
42
42
" replayer" ,
43
- Arg (" allocator" , make_resource<RMMAllocator>(" video_replayer_allocator" )),
43
+ Arg (" allocator" ,
44
+ make_resource<RMMAllocator>(" video_replayer_allocator" ,
45
+ Arg (" device_memory_max_size" ) = std::string (" 256MB" ),
46
+ Arg (" device_memory_initial_size" ) = std::string (" 256MB" ))),
44
47
from_config (" replayer" ),
45
48
args);
46
49
@@ -207,7 +210,12 @@ int main(int argc, char** argv) {
207
210
auto app = holoscan::make_application<App>();
208
211
app->config (config_path);
209
212
app->set_datapath (data_directory);
210
- app->run ();
211
213
214
+ auto trackers = app->track_distributed ();
215
+ app->run ();
216
+ for (const auto & [name, tracker] : trackers) {
217
+ std::cout << " Fragment: " << name << std::endl;
218
+ tracker->print ();
219
+ }
212
220
return 0 ;
213
221
}
Original file line number Diff line number Diff line change 32
32
]
33
33
},
34
34
"run" : {
35
- "command" : " <holohub_app_bin>/ucx_endoscopy_tool_tracking" ,
35
+ "command" : " <holohub_app_bin>/ucx_endoscopy_tool_tracking --data <holohub_data_dir>/endoscopy " ,
36
36
"workdir" : " holohub_bin"
37
37
}
38
38
}
You can’t perform that action at this time.
0 commit comments