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
Tento commit je obsažen v:
milos-mozetic
2023-08-14 17:15:35 +02:00
odevzdal GitHub
rodič 9c24abc77b
revize 7c7884a2d9
19 změnil soubory, kde provedl 1321 přidání a 106 odebrání
+18
Zobrazit soubor
@@ -21,6 +21,12 @@ THE SOFTWARE.
#include <hip_test_checkers.hh>
#include <hip_texture_helper.hh>
/**
* @addtogroup hipCreateTextureObject hipCreateTextureObject
* @{
* @ingroup TextureTest
*/
template<bool normalizedCoords>
__global__ void tex2DKernel(float *outputData, hipTextureObject_t textureObject,
int width, int height, float offsetX,
@@ -112,6 +118,18 @@ line1:
REQUIRE(result);
}
/**
* Test Description
* ------------------------
* - Uses different addressing and filtering modes for 2D arrays.
* Test source
* ------------------------
* - unit/texture/hipTextureObj2DCheckModes.cc
* Test requirements
* ------------------------
* - Textures supported on device
* - HIP_VERSION >= 5.2
*/
TEST_CASE("Unit_hipTextureObj2DCheckModes") {
CHECK_IMAGE_SUPPORT