* Update samples

* Simplify the arguments of the DecodeImages function by grouping some of them into a struct.

* Modify the logic for selecting the valid images per batch

* Modify the logic for selecting the valid images per batch for jpegDecodeBatched sample too
Этот коммит содержится в:
Aryan Salmanpour authored and GitHub committed 2024-11-25 20:40:50 -05:00
1 родитель 241f9d731c
Коммит a4f3daef1e
12 files changed
+443 -369

No files matched your search

+4 -4
Просмотреть файл
@@ -115,11 +115,11 @@ add_test(
jpeg-decode-threads-fmt-native
COMMAND
"${CMAKE_CTEST_COMMAND}"
--build-and-test "${ROCM_PATH}/share/rocjpeg/samples/jpegDecodeMultiThreads"
"${CMAKE_CURRENT_BINARY_DIR}/jpegDecodeMultiThreads"
--build-and-test "${ROCM_PATH}/share/rocjpeg/samples/jpegDecodePerf"
"${CMAKE_CURRENT_BINARY_DIR}/jpegDecodePerf"
--build-generator "${CMAKE_GENERATOR}"
--test-command "jpegdecodemultithreads"
-i ${ROCM_PATH}/share/rocjpeg/images/ -t 2
--test-command "jpegdecodeperf"
-i ${ROCM_PATH}/share/rocjpeg/images/
)
add_test(