[SWDEV-445928] - Check image support for mi300 tests

Change-Id: Idf820af3e55389740bebe35ed37bca52aca81eae
This commit is contained in:
Rahul Manocha
2024-05-01 13:32:12 -07:00
committed by Rakesh Roy
parent 08219b3d62
commit b94242f015
4 changed files with 9 additions and 6 deletions
@@ -483,6 +483,8 @@ TEST_CASE("Unit_hipArrayGetDescriptor_Negative_Scenarios") {
* - HIP_VERSION >= 5.7
*/
TEST_CASE("Unit_hipArrayGetDescriptor_Positive_Basic") {
CHECK_IMAGE_SUPPORT
HIP_ARRAY_DESCRIPTOR expected_desc{};
using vec_info = vector_info<float>;
expected_desc.Format = vec_info::format;
@@ -516,6 +518,8 @@ TEST_CASE("Unit_hipArrayGetDescriptor_Positive_Basic") {
* - HIP_VERSION >= 5.7
*/
TEST_CASE("Unit_hipArrayGetDescriptor_Negative_Parameters") {
CHECK_IMAGE_SUPPORT
HIP_ARRAY_DESCRIPTOR expected_desc{};
using vec_info = vector_info<float>;
expected_desc.Format = vec_info::format;