EXSWHTEC-224 - Test cases ID clean up and documentation for Texture Management (#92)

- Update hipBindTextureToMipmappedArray.cc
- Fix build error for undeclared identifier 'ret'
- Disable tests which fail in external CI
Этот коммит содержится в:
milos-mozetic
2023-08-14 17:15:35 +02:00
коммит произвёл GitHub
родитель 9c24abc77b
Коммит 7c7884a2d9
19 изменённых файлов: 1321 добавлений и 106 удалений
+30 -5
Просмотреть файл
@@ -19,8 +19,24 @@ THE SOFTWARE.
#include <hip_test_common.hh>
/*
* Validates Array Resource texture object with negative/functional tests.
/**
* @addtogroup hipCreateTextureObject hipCreateTextureObject
* @{
* @ingroup TextureTest
*/
/**
* Test Description
* ------------------------
* - Validates handling of a regular `nullptr` array
* - Expected output: do not return `hipSuccess`
* Test source
* ------------------------
* - unit/texture/hipCreateTextureObject_Array.cc
* Test requirements
* ------------------------
* - Textures supported on device
* - HIP_VERSION >= 5.2
*/
TEST_CASE("Unit_hipCreateTextureObject_ArrayResource") {
CHECK_IMAGE_SUPPORT
@@ -44,9 +60,18 @@ TEST_CASE("Unit_hipCreateTextureObject_ArrayResource") {
REQUIRE(ret != hipSuccess);
}
/*
* Validates MipMappedArray Resource texture object
* with negative/functional tests.
/**
* Test Description
* ------------------------
* - Validates handling of a regular `nullptr` mipmapped array
* - Expected output: do not return `hipSuccess`
* Test source
* ------------------------
* - unit/texture/hipCreateTextureObject_Array.cc
* Test requirements
* ------------------------
* - Textures supported on device
* - HIP_VERSION >= 5.2
*/
TEST_CASE("Unit_hipCreateTextureObject_MmArrayResource") {
CHECK_IMAGE_SUPPORT