Marko Arandjelovic
27be56f329
SWDEV-454659 - Correct test setup, Unit_hipGraphExecMemcpyNodeSetParams_Negative_Parameters
...
Pitch cannot be lower then width
Change-Id: Ib42f036f1158b500ce8892643178469a2ec7dc88
2024-09-13 10:48:14 -04:00
Marko Arandjelovic
850511cc28
SWDEV-465196 - Fix coalesced_group tests
...
Change-Id: I4537e2351273d0c71ff62d34b5002fcb2ecd15e6
2024-09-13 04:29:02 -04:00
Rahul Manocha
5dc048b559
SWDEV-475482 - Disable Texture Object Tests to merge clr change
...
Change-Id: I821120cd3c9eba8abd1beeeee5e61246272243e6
2024-09-12 11:05:12 -04:00
Sourabh Betigeri
aaec37314f
SWDEV-462007 - Fixes and strenghtens multi grid sync on mgpus
...
- Replaces logic relying on clock64() instead to
use an atomic counter that the last wg in grid
and multi-grid groups wait on while the the
non-last work groups increment the counter
to "done"
- Implements a new logic to verify the multi-grid
sync()
Change-Id: I7780d8124e5f144b124e5d191d0f412483a3b565
2024-09-06 11:58:20 -07:00
Ioannis Assiouras
90b441a804
SWDEV-477039 - Disabled samples that directly invoke hipcc for static builds
...
This commit disables samples that directly call hipcc when
building in a static environment. In its current state, hipcc
requires all static libraries to be explicitly provided
in order to succesfully link the sample binary.
Change-Id: I74c94a57867bc1fe0e6134ddd633b465bd6c0f83
2024-09-05 05:42:27 -04:00
Vladana Stojiljkovic
bee0ba867d
SWDEV-478472 - Disable tests to merge SWDEV-475987 on hipother
...
Change-Id: I58715144518a35954e29d89878465cfd41ccfe86
2024-09-04 12:25:04 -04:00
Jaydeep Patel
b89a7c6201
SWDEV-481860 - Match malloc/hipMalloc calls with free/hipFree calls in all samples.
...
Change-Id: Ib44551b3f60cd90fa7158e4ed016ef5549a34ef7
2024-09-04 10:32:58 -04:00
Jaydeep Patel
dac779c834
SWDEV-481861 - Add hipEventDestory for every hipEventCreate in all samples.
...
Change-Id: Ib1b860b02ef2640f321d54902b34ecf0e495ed65
2024-08-29 13:22:19 -04:00
Jaydeep Patel
f54ce39eb5
SWDEV-481391 - No need to set GPU_ARCH as it is been set from amdgpu-arch utility for sample 16 & 17.
...
Change-Id: Icbcc8c2058ecc4b382db51ef9705aab36aa64db0
2024-08-29 11:45:57 -04:00
Vladana Stojiljkovic
5b67a2a4a0
SWDEV-450735 - Add compiler option for using clock64
...
Change-Id: I9efed88d691ee1b2b4465286b3340b820f7bf627
2024-08-29 10:26:11 +02:00
Rahul Manocha
dc656c5dda
[SWDEV-451646] - Enable Warp Vote Tests
...
Change-Id: Icb25cd695bc6f3ad9dd53cca45b9c32bf984bee7
2024-08-27 11:41:22 -04:00
Branislav Brzak
365dbf738b
SWDEV-441294 - Add hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags test
...
Change-Id: Ia45dc367729677e159428960f3970da97047cf06
2024-08-27 05:29:56 -04:00
Jaydeep Patel
a1f2f02ec7
SWDEV-480962 - std::filesystem need explicit linking with -lstdc++fs.
...
It seem g++ 8.5 needs this explicit linker flag however g++ 11.40 does not.
Passing -lstdc++fs flag does not harm with g+ 11.40.
Change-Id: Ia6c8412e041c66225b8d0b554724818afc4c5c85
2024-08-27 00:30:09 -04:00
Marko Arandjelovic
d3f42460e8
SWDEV-465205 - Fix Unit_hipModuleGetTexRef_Positive_Basic
...
Change-Id: I221f21b322ec6053edb4b4f229219865fb9e9974
2024-08-26 13:41:57 -04:00
Jatin Chaudhary
c96c60c49c
SWDEV-466747 - add shfl tests and increase test coverage
...
Change-Id: Ifd3edb5620fcbd3c3bbd88a0a1280eaac98e0487
2024-08-26 13:27:57 -04:00
SrinivasaRao
304b0ac90b
SWDEV-388834 - [catch2][dtest] Module tests migrated from direct to catch2
...
Change-Id: I9a3fbdd4e52bb69ab428b7cfcd478fa0382e7cc9
2024-08-22 23:39:12 -04:00
kjayapra-amd
2d2e90a405
SWDEV-478923 - Add targets for code object compilation.
...
Change-Id: Icef7917cfb1ba53eb3ccbbf9220dd96dcbe8714d
2024-08-22 14:17:31 -04:00
Rahul Manocha
b8a0b33f67
SWDEV-479073 - Use amdgpu-arch for sample 16 and 17
...
Change-Id: Ia6a2d7171d0ed296166f3bbf5f40c56305518de3
2024-08-22 14:15:52 -04:00
victzhan
9d669b3bea
SWDEV-473011 - Rename hipMemcpy_old.cc to hipMemcpy_EdgeCases for readability.
...
Change-Id: I1634759aea340ecbb83fcc7c3328918147eeb0e9
2024-08-20 10:06:13 -04:00
Ioannis Assiouras
e45cbdfaa1
SWDEV-478295 - Link with hiprtc-builtins for sample 23_cmake_hiprtc in static build
...
Change-Id: I9ccc1310ea2f38d8624103e198b6fc1077712345
2024-08-15 16:37:38 -04:00
Rahul Manocha
6cf941c830
SWDEV-454315 - Disable test section that segfaults on windows
...
Change-Id: Idaac99c433120d98646417318258bfb375d2f367
2024-08-14 07:53:29 -04:00
amd-jmacaran
c75ed97b6b
SWDEV-458516 - External CI: Align with branch naming convention.
...
Change-Id: I3f1fb1e2c2d32a22a144c5f85d1e34a7c95b29a6
2024-08-13 11:04:47 -04:00
Rakesh Roy
9ec381b401
SWDEV-472723 - Correct file format
...
- Change line ending from CRLF to LF
Change-Id: Ie75e4bd3c7d58532bc986ec61476ee6f9c5f1f95
2024-08-13 13:39:48 +05:30
Saleel Kudchadker
6a0fc7f31a
SWDEV-301667 - Update hipPerfBufferCopySpeed
...
Change-Id: I0200defa20ffc4a417d27b5c2c3eecf403f97673
2024-08-12 14:16:48 -04:00
Satyanvesh Dittakavi
5f1dfc3851
SWDEV-465073 - Update hipClassKernel_Virtual test
...
Compiler has changed to match the device side struct layout with
the host side and hence the test is updated to verify if struct sizes
of both host and device are equal instead of checking for hardcoded
struct sizes
Change-Id: Idd9ea1f04b413b7aa30f03555fd8e0ee11cd0f75
2024-08-12 13:39:50 -04:00
Branislav Brzak
0c335250f9
SWDEV-441285 - Add hipMemsetD32Async test
...
Change-Id: Iad40a8d94a556b35dd409acf2b0d2d6130e38bc0
2024-08-12 06:43:50 -04:00
Rakesh Roy
101981b354
SWDEV-472723 - Correct file format
...
- Change line ending from CRLF to LF
Change-Id: I4c3cf072f143d6add7ddf66cb8d6d8a1e45f77ab
2024-08-12 14:33:17 +05:30
Marko Arandjelovic
b0b04e81be
SWDEW-441411 - Add hipConfigureCall test
...
Change-Id: I90d9b778d3f53bed20777251f839063431141440
2024-08-09 07:41:15 -04:00
Ioannis Assiouras
1bd8e9dcf4
SWDEV-472309 - Disable hipGetProcAddress tests for static build
...
Change-Id: I7018829557f9e7132b7e4a71b31de5e67ed29218
2024-08-08 16:44:12 -04:00
Rahul Manocha
90bafb8ae8
[SWDEV-454315] - Fix for Atomic bitwise ops testcases
...
Change-Id: Ib402c6499ad9218fba89e78c8f91a87ca3537b35
2024-08-08 14:44:23 -04:00
Sourabh Betigeri
787f7f8df1
SWDEV-435054 - Improves robustness of HIP test
...
Makes the test stronger by hiding
dispatch scheduling latency on MI300
Change-Id: Ic9724f4f1b16f1e707060129327248bbb353df45
2024-08-08 14:23:24 -04:00
Ioannis Assiouras
25af4dd1f4
SWDEV-432951 - Added C unit test
...
Change-Id: I65a1e5be1782fd325cf1cfb74fbd80b4564df9dc
2024-08-08 14:18:15 -04:00
Todd tiantuo Li
0ee0e4ab4a
SWDEV-432490 - fix __HIP_NO_IMAGE_SUPPORT logic
...
1.Skip texture/image tests when __HIP_NO_IMAGE_SUPPORT is set to prevent inevitable silent failure
2.Simplify __HIP_NO_IMAGE_SUPPORT macros
Change-Id: I54ef12a239298c534a213edf39c05c2dad06a7f4
2024-08-08 14:15:38 -04:00
Satyanvesh Dittakavi
42d383619c
SWDEV-465195 - Fix disabled test Unit_hipDrvGetErrorString_Positive_Basic
...
Change-Id: Ifc05f3c5d09266b9eec9ac20a6a3301be00f91d8
2024-08-07 14:22:01 -04:00
Satyanvesh Dittakavi
08f9020343
SWDEV-465152 - Fix and enable the test Unit_hipMemAdvise_AccessedBy_All_Devices
...
Change-Id: I160d67898898251e3aad7f3b58fe4f60e4186ea8
2024-08-07 14:19:35 -04:00
Rakesh Roy
3bec5e988b
SWDEV-472723 - Correct file format
...
- Modify line ending to LF
Change-Id: I2bc840070327b204e2abb118276e2d905c29d096
2024-08-05 19:26:31 +05:30
Marko Arandjelovic
639a9c2996
SWDEV-441603 - Add hipDrvMemcpy2DUnaligned test
...
Change-Id: I44b65867cabeb369fda8a82984fe3f694499942c
2024-08-01 17:44:26 -04:00
Julia Jiang
5d042c80fa
SWDEV-472723 - Correct file format and remove trailing spaces
...
Change-Id: Ie40c763e9391fa36d6c890cd0a171659a1502a83
2024-08-01 15:17:39 -04:00
Branislav Brzak
2b20d3a9af
SWDEV-441600 - Add hipGraphMemFreeNodeGetParams tests
...
Change-Id: I46cc12e9940cf647e3c3dbe4ce87957eb8aa4e33
2024-08-01 14:26:32 -04:00
Branislav Brzak
987c4bb297
SWDEV-441283 - Add hipMemsetD16Async test
...
Change-Id: I66ca44996cfbf061d134ba5c66c3a7211bfcaaa5
2024-08-01 11:16:15 -04:00
Marko Arandjelovic
12a5d4c24c
SWDEV-461794 Fix Unit_hipMemcpyAsync_Positive_Synchronization_Behavior
...
- Fixed wrong assumptions in the test:
- Pinned Host memory to Pinned Host memory is async (before:sync)
- Pinned Host memory to Device is async (before:sync)
Change-Id: Ib826e177854cbcdad04181e245382cf0bec02c46
2024-07-31 14:50:12 -04:00
Marko Arandjelovic
be2ee3b52d
SWDEV-454663 Initialize graph node in test setup
...
Change-Id: Iad44a2d3276e54c7a7d7e58af13e41ff305aa122
2024-07-31 14:45:08 -04:00
Rambabu Swargam
6c35a8cb95
SWDEV-467854 - [catch2][dtest] Functional testcases for hipGetProcAddress API - Part 1
...
Change-Id: I1da8b0d32f5ae49602b9ff062dc888cc6227b88f
2024-07-31 12:06:23 -04:00
Jatin Chaudhary
8ed0c39549
SWDEV-460387 - Use traditional malloc instead of alloc guard
...
The LinearGuard does not seem to play well with the catch macros.
The entry to device pointers seem to be lost from memory map.
Change-Id: Ib8549052f18bcc847dea25cf268e2bcb59e24b25
2024-07-30 14:34:15 -04:00
Tao Sang
3e0b749b76
SWDEV-467540 - Verify awaitCompletion()
...
Update the existing test case to verify
awaitCompletion() for unfinished command.
Change-Id: I0fbcdba9ffb8633d861312c221ac12df1772c6e6
2024-07-30 14:29:35 -04:00
taosang2
6edae64a1e
SWDEV-469331 - Add data verifing after stream sync.
...
Add data verifing after hipStreamSynchronize() call.
Enable the following in Linux
Unit_hipStreamBeginCaptureToGraph_CaptureDepGraph
Unit_hipStreamBeginCaptureToGraph_IndepGraphsThreads
Remove REQUIRE() in data verifying because it generates
too many assertions and makes "-s" very slow
Change-Id: I0fbcdaa9ffb9633d861312c221ac12df1772c6e5
2024-07-30 11:50:16 -04:00
Jatin Chaudhary
fcc268e56f
SWDEV-460834 - tests for unsafe atomics bf16 and fp16
...
Change-Id: I9175674ecb17f9fc2efb49ecd57d85776a4217c5
2024-07-30 11:43:32 -04:00
Jatin Chaudhary
5293b1a3a5
SWDEV-450109 - add sanity tests for cg functions
...
Change-Id: If54be97c07502beaaf068fdc249758931dfa5abf
2024-07-30 11:23:56 -04:00
Rahul Manocha
e835edcbab
[SWDEV-456769][SWDEV-456770] - Fix for Memcpy2D Async and Positive Sync tests
...
Change-Id: I586d7f75d26ada1609156054e921f05b878e8503
2024-07-25 14:41:10 -04:00
Rahul Manocha
d391820895
[SWDEV-454655] - Fix for ExecMempcyNodeSetParams1D Negative testcase
...
Change-Id: Id24e27fee7a519edeed28bd937fb7ca31195de97
2024-07-25 14:37:59 -04:00