Find rocDecode - Support added (#428)

* Find rocDecode - Support added

* Find rocDecode - Updates

* Find rocDecode - Version fix

* Find rocDecode - Version Var

* Minor cleanup

* Test - Find package updates

* CTest - Upgrades

* CTest - Enhancements

---------

Co-authored-by: Aryan Salmanpour <aryan.salmanpour@amd.com>
Цей коміт міститься в:
Kiriti GowdaтаAryan Salmanpour authored and GitHub committed 2024-10-02 17:35:56 -04:00
1 джерело 4e4a18d280
коміт befc6f6562
9 files changed
+104 -64

No files matched your search

+1 -7
Переглянути файл
@@ -71,13 +71,7 @@ message("-- ${White}${PROJECT_NAME} -- AMDGPU_TARGETS: ${AMDGPU_TARGETS}${Colour
find_package(HIP QUIET)
find_package(FFmpeg QUIET)
# find rocDecode
find_library(ROCDECODE_LIBRARY NAMES rocdecode HINTS ${ROCM_PATH}/lib)
find_path(ROCDECODE_INCLUDE_DIR NAMES rocdecode.h PATHS /opt/rocm/include/rocdecode ${ROCM_PATH}/include/rocdecode)
if(ROCDECODE_LIBRARY AND ROCDECODE_INCLUDE_DIR)
set(ROCDECODE_FOUND TRUE)
message("-- ${White}${PROJECT_NAME}: Using rocDecode -- \n\tLibraries:${ROCDECODE_LIBRARY} \n\tIncludes:${ROCDECODE_INCLUDE_DIR}${ColourReset}")
endif()
find_package(rocDecode QUIET)
if(HIP_FOUND AND FFMPEG_FOUND AND ROCDECODE_FOUND)
# HIP