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

Change-Id: Idf820af3e55389740bebe35ed37bca52aca81eae
Bu işleme şunda yer alıyor:
Rahul Manocha
2024-05-01 13:32:12 -07:00
işlemeyi yapan: Rakesh Roy
ebeveyn 08219b3d62
işleme b94242f015
4 değiştirilmiş dosya ile 9 ekleme ve 6 silme
+2
Dosyayı Görüntüle
@@ -43,6 +43,7 @@ THE SOFTWARE.
* - HIP_VERSION >= 5.7
*/
TEST_CASE("Unit_hipArray3DGetDescriptor_Positive_Basic") {
CHECK_IMAGE_SUPPORT
DrvArrayAllocGuard<float> array(make_hipExtent(1024, 4, 2));
HIP_ARRAY3D_DESCRIPTOR desc;
@@ -69,6 +70,7 @@ TEST_CASE("Unit_hipArray3DGetDescriptor_Positive_Basic") {
* - HIP_VERSION >= 5.7
*/
TEST_CASE("Unit_hipArray3DGetDescriptor_Negative_Parameters") {
CHECK_IMAGE_SUPPORT
DrvArrayAllocGuard<float> array(make_hipExtent(1024, 4, 2));
HIP_ARRAY3D_DESCRIPTOR desc;
+4
Dosyayı Görüntüle
@@ -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;
+3
Dosyayı Görüntüle
@@ -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;