SWDEV-446760 - check image support before running array tests
Change-Id: I1eca9bdbfb20567137c7c17ab649555938fc6e60
[ROCm/hip-tests commit: ec11b79b12]
Цей коміт міститься в:
1 джерело
c9991341dc
коміт
4b6fb4fff4
2 files changed
+4
No files matched your search
@@ -40,6 +40,8 @@ THE SOFTWARE.
|
||||
* - HIP_VERSION >= 5.7
|
||||
*/
|
||||
TEST_CASE("Unit_hipCreateSurfaceObject_Negative_Parameters") {
|
||||
CHECK_IMAGE_SUPPORT
|
||||
|
||||
hipArray_t array;
|
||||
hipChannelFormatDesc desc = hipCreateChannelDesc<float>();
|
||||
|
||||
|
||||
@@ -40,6 +40,8 @@ THE SOFTWARE.
|
||||
* - HIP_VERSION >= 5.7
|
||||
*/
|
||||
TEST_CASE("Unit_hipDestroySurfaceObject_Negative_Parameters") {
|
||||
CHECK_IMAGE_SUPPORT
|
||||
|
||||
SECTION("surfObject is NULL") {
|
||||
HIP_CHECK(hipDestroySurfaceObject(static_cast<hipSurfaceObject_t>(0)));
|
||||
}
|
||||
|
||||
Reference in new issue
Заблокувати користувача