diff --git a/samples/videoDecodeRGB/CMakeLists.txt b/samples/videoDecodeRGB/CMakeLists.txt index 9691d3f4c7..5fadd04256 100644 --- a/samples/videoDecodeRGB/CMakeLists.txt +++ b/samples/videoDecodeRGB/CMakeLists.txt @@ -69,7 +69,7 @@ if(NOT GPU_TARGETS AND NOT AMDGPU_TARGETS) endif() include(ROCMCheckTargetIds OPTIONAL RESULT_VARIABLE HAS_ROCM_CHECK_TARGET_IDS) - set(OPTIONAL_GPU_TARGETS "gfx950;gfx1200;gfx1201") + set(OPTIONAL_GPU_TARGETS "gfx950;gfx1151;gfx1200;gfx1201") if(HAS_ROCM_CHECK_TARGET_IDS) rocm_check_target_ids(OPTIONAL_GPU_TARGETS_AVAILABLE TARGETS ${OPTIONAL_GPU_TARGETS}) else() # if we don't have rocm_check_target_ids, just assume the targets are available