rocAL_dataloader_mt application#

This application demonstrates a basic usage of rocAL’s C API to use sharded data_loader in a multithreaded application.

Build Instructions#

Pre-requisites#

build#

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/rocm/lib
mkdir build
cd build
cmake ../
make

running the application#

rocAL_dataloader_mt <image_dataset_folder> <num_gpus(gpu:>=1)/(cpu:0)>  <num_shards> <decode_width> <decode_height> <batch_size> <shuffle> <display>