[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
+3
View File
@@ -43,6 +43,8 @@ THE SOFTWARE.
* - HIP_VERSION >= 5.7
*/
TEST_CASE("Unit_hipArrayGetInfo_Positive_Basic") {
CHECK_IMAGE_SUPPORT
ArrayAllocGuard<float> array(make_hipExtent(1024, 4, 2));
hipChannelFormatDesc desc;
@@ -77,6 +79,7 @@ TEST_CASE("Unit_hipArrayGetInfo_Positive_Basic") {
* - HIP_VERSION >= 5.7
*/
TEST_CASE("Unit_hipArrayGetInfo_Negative_Parameters") {
CHECK_IMAGE_SUPPORT
ArrayAllocGuard<float> array(make_hipExtent(1024, 4, 4));
hipChannelFormatDesc desc;