Add support for rocJpegDecodeBatched API - part 1 of 2 (#31)
* Add initial support for batch decoding * Add support for reading and parsing the images in batches and allocating the output buffers * Add initial support for the rocJpegDecodeBatched API * use recursive_mutex to allow DecodeBatched and Decode functions called concurrently * code cleanup * Add a CTEST for jpegdecodebatched * modify the help message * code clean up
Este commit está contenido en:
@@ -120,4 +120,16 @@ add_test(
|
||||
--build-generator "${CMAKE_GENERATOR}"
|
||||
--test-command "jpegdecodemultithreads"
|
||||
-i ${ROCM_PATH}/share/rocjpeg/images/ -t 2
|
||||
)
|
||||
|
||||
add_test(
|
||||
NAME
|
||||
jpeg-decode-batch-fmt-native
|
||||
COMMAND
|
||||
"${CMAKE_CTEST_COMMAND}"
|
||||
--build-and-test "${ROCM_PATH}/share/rocjpeg/samples/jpegDecodeBatched"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/jpegDecodeBatched"
|
||||
--build-generator "${CMAKE_GENERATOR}"
|
||||
--test-command "jpegdecodebatched"
|
||||
-i ${ROCM_PATH}/share/rocjpeg/images/
|
||||
)
|
||||
Referencia en una nueva incidencia
Block a user