Commit Graph

43 Commits

Author SHA1 Message Date
Rakesh Roy 237bdf377f SWDEV-448118 - Enable MemPool SetAccess testcase & Update Mipmapped Array Testcases
- Unit_hipMemPoolSetAccess_Negative_Parameters has been fixed, so enable it back
- Mipmap is not supported on Linux, skip inside the testcases

Change-Id: If4e6aaef1bbbff33b810714aecfc3e41fa6b41f3
2024-04-03 11:21:13 -04:00
Branislav Brzak 6c23e25c86 SWDEV-448163 - Fix Doxygen warnings
Change-Id: If72e312461a72920b6a482009c9aef4cf92f2e1b
2024-03-25 05:18:34 -04:00
Rakesh Roy 57bc68acb1 SWDEV-1 - Merge github PRs to amd-staging
Change-Id: I2944a63ddc2eec8dc1403d9790ffffbaec343385
2024-03-06 00:12:20 +05:30
Mirza Halilčević baf4c75311 EXSWHTEC-360 - Implement tests for Cubemap mipmapped texture device functions #434
Change-Id: I129f5fe8d8769fabbf67bf10e0c994fdf05358e2
2024-02-27 12:14:00 +05:30
Mirza Halilčević 2691895821 EXSWHTEC-359 - Implement tests for 3D mipmapped texture device functions #433
Change-Id: I1933d498f518b352b91b1c37b24c62d0cac309eb
2024-02-27 12:13:39 +05:30
Mirza Halilčević 90a783c959 EXSWHTEC-358 - Implement tests for 2D mipmapped texture device functions #432
Change-Id: I8d517ef95eeddfcc442f00e331e3ed0d1123d99c
2024-02-27 12:13:13 +05:30
Mirza Halilčević 0ecb874b52 EXSWHTEC-357 - Implement tests for 1D mipmapped texture device functions #431
Change-Id: I74b4bc2a73ec8bbe21460eda8cdc79210fe2501e
2024-02-27 12:12:52 +05:30
Mirza Halilčević 6eec9aa90d EXSWHTEC-320 - Implement tests for cubemap texture device functions #369
Change-Id: I1a247dba4e46ed7e1045dee0467d3fdac1f70cd0
2024-02-26 15:55:32 +05:30
Mirza Halilčević 5fe762ae5d EXSWHTEC-319 - Implement tests for 3D texture device functions #368
Change-Id: Ifc7a6feae1a9567df29d35928d8c4328497bfc97
2024-02-26 15:55:04 +05:30
Mirza Halilčević 37d8529a9b EXSWHTEC-318 - Implement tests for 2D texture device functions #367
Change-Id: I5404eae219d23dc058aa6ef150a0764b06ab6de1
2024-02-26 15:54:33 +05:30
Mirza Halilčević da67d77a0c EXSWHTEC-317 - Implement tests for 1D texture device functions #366
Change-Id: Iafefada132fb94a1b120d91915e24524e7d766d0
2024-02-26 15:53:06 +05:30
Rakesh Roy 978e165d33 SWDEV-1 - Merge github PRs to amd-staging
- https://github.com/ROCm/hip-tests/pull/154
- https://github.com/ROCm/hip-tests/pull/438
- https://github.com/ROCm/hip-tests/pull/425
- https://github.com/ROCm/hip-tests/pull/424
- https://github.com/ROCm/hip-tests/pull/423
- https://github.com/ROCm/hip-tests/pull/365
- https://github.com/ROCm/hip-tests/pull/356
- https://github.com/ROCm/hip-tests/pull/279
- https://github.com/ROCm/hip-tests/pull/274
- https://github.com/ROCm/hip-tests/pull/190
- https://github.com/ROCm/hip-tests/pull/189
- https://github.com/ROCm/hip-tests/pull/188
- https://github.com/ROCm/hip-tests/pull/156
- https://github.com/ROCm/hip-tests/pull/49
- https://github.com/ROCm/hip-tests/pull/439
- https://github.com/ROCm/hip-tests/pull/437
- https://github.com/ROCm/hip-tests/pull/436
- https://github.com/ROCm/hip-tests/pull/435
- https://github.com/ROCm/hip-tests/pull/193

Change-Id: I2529d0baf0f8d47d6215863321720cde2b1a846c
2024-02-19 15:33:25 +05:30
Mirza Halilcevic 16128f659a EXSWHTEC-322 - Implement common utilities for texture fetching tests (#365)
Change-Id: I7cdf56008dce2551706bc5c0ab1a49133a6337e9
2024-02-15 19:41:24 +05:30
Mirza Halilcevic 127e056c22 EXSWHTEC-361 - Implement tests for Mipmapped Texture Management APIs (#436)
Change-Id: Ia753ddb3bd38b78aca719d321bf33de76ec00ad6
2024-02-15 18:45:52 +05:30
Ioannis Assiouras 4274ec139d SWDEV-422655 - Fixed Unit_hipTextureMipmapRef2D
-Fixed and re-anabled test Unit_hipTextureMipmapRef2D_Positive_Check on windows.
-Check cuda version to prevent build issues on nvidia.

Change-Id: I7f9481f7bd9a7622197a626519c8f6a80c72768d
2024-01-11 06:45:07 -05:00
taosang2 a79d6f8361 SWDEV-364236 - Add layered texture object tests
Add layered array and texture object tests for all
types.

Change-Id: Ifb4d085a526c1ff7d1b7afe528c194d536b99db8
2023-11-17 16:16:08 -05:00
taosang2 07ec2d5a0c SWDEV-393139 - Add mipmap tests
Add 1D/2D/3D mipmap tests covering necessary data types and
config parameters.

Change-Id: I6079d9f3a2ddf4e42b8a6f7f3902322cfca02cff
2023-11-06 08:55:40 -05:00
sdashmiz e161374c31 SWDEV-332969 - [ABI Break]remove hiparray from tests
- replace with hipArray_t

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Ie1dade58d868182309caf00bf65a86a8fed2cfa6
2023-10-12 12:09:20 -04:00
Satyanvesh Dittakavi d517f0175c SWDEV-420738 - Fix Unit_hipTextureObj3DCheckModes issue due to hipGetLastError change
Change-Id: I3f6efe6f995a2cf041a6f74000fec236298c34a7
2023-10-12 10:21:10 -04:00
Jatin Chaudhary 2c17edbced SWDEV-306642 - remove gcnArch from tests
Change-Id: Ibc16aa1bc3507fb583ac9c68394b1ab9b2ba7af4
2023-09-26 05:34:34 -04:00
Satyanvesh Dittakavi 7ee1b668fb Address texture related test issues with -Werror (#405) 2023-08-21 20:46:46 +05:30
Satyanvesh Dittakavi 605d5eee5d Fix issues related to -Werror in hip tests (#396)
* Fix issues related to -Werror
* Correct the skipped tests
2023-08-19 21:38:59 +05:30
milos-mozetic 7c7884a2d9 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
2023-08-14 20:45:35 +05:30
ROCm CI Service Account 34976df246 SWDEV-385161 - Deprecate usage of env vars in HIP samples and tests (#363)
* SWDEV-385161 - Deprecate usage of env vars in HIP samples and tests env vars such as HIP_PATH, ROCM_PATH, HIP_COMPILER, HIP_RUNTIME, HSA_PATH etc are removed.

Change-Id: I280e20b291cfb14675846aae72d97fa5b3ad567d
2023-08-14 12:06:14 +05:30
ROCm CI Service Account d33ccb3569 SWDEV-393910 - Port gfx940 changes to mainline. (#321)
Change-Id: I77e70bcb15fbd38b1c79c1f68b7e483b2b3e0daf
2023-06-29 08:57:51 +05:30
ROCm CI Service Account 2337705b55 SWDEV-366138 - Add surface tests (#309)
Add surface tests
Optimize some codes
Change-Id: I1691b81d597bfd722d561778f919ebf8ca530e89
2023-06-20 16:33:37 -07:00
ROCm CI Service Account df20298706 SWDEV-384100 - skip building failing texture tests for CUDA 12.0 (#181)
Change-Id: Ie861d63b0525661ff64ad148e5a0151bbce7db2c
2023-02-27 15:51:15 -08:00
Rahul Garg 961245e9f4 Catch2 standalone exe (#129)
* SWDEV-359379 - catch2: Standalone single exe per file

-workaround for rsp file issue.
-Creates single exe per file
-tests detection is still during execution time and NOT compile time

Change-Id: Iddfb83d57b2d767212f3d9307a276b7d572da6cd

* SWDEV-359379 - Update CMakeList

* Update Catch.cmake

* Temporarily disable failing tests
2023-01-19 14:09:14 -08:00
Paulius Velesko da453211ed Catch2 Test Fixes (#2961)
* test fixes

* address PR comment

* PR comment fixing Nvidia pass

* add additional kernel launch checks

* pr comments
2022-09-30 15:07:25 -07:00
ROCm CI Service Account 67c2b50382 SWDEV-354273 - Add unit test of sRGB in 1D (#2968)
Add unit test of sRGB for 1DArray(hipResourceTypeArray) and 1DBuffer(hipResourceTypeLinear).
Note that for 1Dbuffer, AMD devices doesn't support sRGB, thus the test is a negative test.

Change-Id: Ib604cf6f3abd3b90813def1d563c53d42328bace
2022-09-27 10:34:57 +05:30
ROCm CI Service Account cf6ddc78b8 SWDEV-344309 - Enable some filter tests in Windows (#2944)
Enable tests that should work now

Change-Id: I903d7e73d7b5df94da72cb41f2bde9ab2eec653d
2022-09-23 12:37:25 +05:30
ROCm CI Service Account 30fcb99268 SWDEV-349490 - Add unit test of sRGB (#2940)
Add unit test of sRGB.
Update helper functions to accomodate uchar4 and float4.
Change-Id: Ib604cf603ab63b908130ef1c562c53d42328bacf
2022-09-15 21:04:57 -07:00
ROCm CI Service Account d0aaed906d SWDEV-353807 - Fixes multiple catch issues (#2912)
- enforcing c++17 for all tests
- Warning as error: ignoring return value

Change-Id: I3d171540403f74222e631d1a8e393386461c9729
2022-08-30 16:53:21 -07:00
ROCm CI Service Account 0fc518d281 SWDEV-333188 - Port image tests to catch2 (#2793)
- Port image tests to catch2.
- Disable 3D filter test for gfx9a.
- Some other improvement
- Temporarily disable linear filter tests on Windows

Change-Id: Ieeddac9f8c50aa9b6b12ca9d8fd792a51973b8ca
2022-07-19 19:26:56 +05:30
ROCm CI Service Account d31aca651d SWDEV-339657 - Update catch codes with correct coordinates (#2735)
Change-Id: I8ca78d770a742bf6c2abede494759caa923fcc19
2022-06-15 10:58:10 -07:00
ROCm CI Service Account b6918e9ace SWDEV-337822 - Fixing unused var in hipTextureMipmapObj1D.cc test case for gfx90a. (#2698)
Change-Id: Ic38c40103d9503311493477d58e093e367573694
2022-06-02 19:33:53 +05:30
ROCm CI Service Account cf3f8d18c4 SWDEV-321874 - [catch2][dtest] Texture dtests migrated from HIT to catch2 framework (#2576)
Change-Id: Ice382bf552fd0a9b41133f2a6ab333e3672b7c28
2022-05-09 16:41:37 -07:00
ROCm CI Service Account 70ccfa39ad SWDEV-305992 - Improve texture tests (#2646)
Enable more texture supports for hip-rocclr.
Skip texture tests on device that doesn't support images.
SWDEV-322257 - Fix issues of image tests skipped on
NVidia devices.

Change-Id: Ia99d06b1e97fc945f1b740e47710f4dcd70f38ca
2022-05-09 08:46:20 -07:00
ROCm CI Service Account a977b9c8ce SWDEV-321874 - [catch2][dtest] Texture tests migrated to catch2 framework (#2577)
Change-Id: I5d88438d2bf6d20d2ebde8e6ae0cbd1d27630045
2022-04-01 09:01:58 +05:30
ROCm CI Service Account 3f4fb28faf SWDEV-321872 - [catch2][dtest] Texture tests migrated to catch2 (#2536)
Change-Id: I4e29001812e2310680c6c24028667eb560194e87
2022-03-11 16:53:48 +05:30
TomSang 0375f8e638 SWDEV-315590 - Fix texture fetch issue (#2467)
Add
tests/catch/unit/texture/hipTextureObjFetchVector.cc

Change-Id: Ifed915c87573b789780b2180321ccb746845dafb
2022-01-31 19:53:09 -08:00
agunashe f90c5d218c SWDEV-273235 - Linux: catch2 shared lib to executable (#2421)
Change-Id: I17101e39fd05eb35c087ebdf3cb005d428d9f206
2021-11-26 11:02:29 +05:30
sumanthtg 770b64e848 SWDEV-238517 - [dtest] New Catch2 Tests for texture object apis. (#2358)
Seperate Catch2 files are created for each resource type. Future test additions of respective resource type will be added to resource type specific files.

Change-Id: I7ba09f5bd31605bb670ec70ed7f12904e34cf40d
2021-09-24 16:27:39 +05:30