Commit Graph

1126 Commits

Author SHA1 Message Date
ROCm CI Service Account e0425b53e0 SWDEV-370743 - Adding 'accelerator' keyword in lspci grep for AMD supported devices. (#3142)
Change-Id: I5a0c2f4a678c5c80a2f13afe74d2c723912b0858
2023-02-23 22:00:33 -08:00
ROCm CI Service Account 5c3e4fba39 SWDEV-370743 - Change the hard coded CU mask to support higher CUs. (#3144)
Change-Id: I87ac149a6144959b46963ed8c867e6d3b6bca462
2023-02-23 17:40:26 -08:00
ROCm CI Service Account 24cc1bc2bb SWDEV-370742 - Check image support before using image APIs. (#3143)
Change-Id: I2fc086256bca605385f2f6a94119b46741020afa
2023-02-23 17:39:36 -08:00
Siu Chi Chan a388eb1e6f SWDEV-355608 - deprecate/cleanup hipcc link flags (#3128)
- deprecate -use-staticlib, -use-sharedlib which no longer provide any
functional values
- use --hip-link instead of specifying the HIP runtime by name when
linking
- fix linker option bug in HIT test's cmake
- update build options for unit tests requiring pthread or rt

Change-Id: Ib49978773c80fb40c71dc52b050ce921943ee3e4
2023-01-23 22:42:52 -08:00
ROCm CI Service Account 464abba716 SWDEV-345571 - template parameter redefines error disable temporarily for shfl changes (#3109)
Change-Id: Ife1e274c5442854d2beddf9a1b5ac87358df19f2
2022-12-20 11:16:16 -08:00
ROCm CI Service Account da6d35142b SWDEV-366314 - Move hip_bfloat16 implementation to hipamd (#3102)
hip_bfloat16 header in hip repo just includes the amd_hip_bfloat16 from hipamd

Change-Id: Ie96f908009cf96f37d868f2cd9a97d5f3e8b0ade
2022-11-30 13:21:04 +05:30
ROCm CI Service Account c0e05cf582 SWDEV-345571 - Fix template parameter redefines default argument (#3101)
Change-Id: I1f22f0dd17831d31d9119e878f698312f29ce036
2022-11-28 16:45:34 -08:00
ROCm CI Service Account 01da3903c5 SWDEV-348282 - fixed intermittent failure fo hipCGMultiGrid* and hipCGThread* tests, porting over to catch2 in the process (#3067)
Change-Id: Id22dfb4ab2ee8171242fbf6a10886ff3e4abc926
2022-11-18 12:14:12 -08:00
ROCm CI Service Account 192ff329f6 SWDEV-312700 - Fixing memory corruption at the test. (#3026)
Change-Id: I85cec43e1e57ceb3a9972a924aeb4505c055a483
2022-10-27 20:23:22 +05:30
ROCm CI Service Account 0175bfe045 SWDEV-346657 - increase time for random failure (#3025)
- increase the time duration for stream sync to avoid test failure

Change-Id: I36264677f70cd6ca2bd8bcde06c19da0637a0e64
2022-10-27 20:23:04 +05:30
Satyanvesh Dittakavi 685390469a SWDEV-350781 - Remove Pagetable validation tests from HIP (#2970) 2022-10-20 07:26:03 +05:30
ROCm CI Service Account fb938a607f SWDEV-286739 - Support hipDeviceAttributeWallClockRate (#2984)
Part 4: Add unit test of wall_clock64()

Change-Id: I52cbba6d67d21cde6da19c5ab533159f426a9bf7
2022-10-19 19:12:01 +05:30
ROCm CI Service Account 96b3b9eaf5 SWDEV-348820 - Fix hipPointerAttribute_t incompatibility (#2856)
- Mark hipPointerAttribute_t.memoryType deprecated
- Instead add hipPointerAttribute_t.type
- Update testcases & documentation to use hipPointerAttribute_t.type

Change-Id: I3ba58cd2defe82102f9415bbb90cf151e08499dd
2022-10-12 08:31:25 +05:30
Paulius Velesko c02b15fc7c 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 2b09d94ea2 SWDEV-287351 - Fix hipStreamWithCUMask hang on Navi21 (#2939)
- For gfx >= 10, one work group processor encompasses 2 CUs & hence the CUs need to be enabled in pair

Change-Id: I359df1b221b4400b260b02201b7b0385054784f3
2022-09-23 12:37:42 +05:30
ROCm CI Service Account 411a00b232 SWDEV-312707 - Avoid Char[] memory corrption on high GPU systems by increasing array size. (#2954)
Change-Id: Ia743e87d4cbcc9ccaa9e782109114dd878ab8b0d
2022-09-23 12:35:04 +05:30
ROCm CI Service Account 6e021f1adc SWDEV-356299 - Fix hipPeerToPeer_simple Tests (#2953)
- Add hipDeviceSynchronize after hipMemset with device memory, as hipMemset is asynchronous in this case

Change-Id: Ia55d106931984fed450be29c1b745c8069151f76
2022-09-21 14:17:35 +05:30
ROCm CI Service Account 4d014ce711 SWDEV-299940 - Needs to Fix Malloc tests (#2832)
Change-Id: I21739d88871b5813cf266a6be8eb05ecee487046
2022-07-29 16:31:04 +05:30
ROCm CI Service Account c5d856348e SWDEV-344211 - Fix hipHostMalloc tests (#2823)
- Increase allocation size to 30MB to make sure new page table allocations happen
- Change validation criteria to check for increase in VRAM usage for visible HIP devices

Change-Id: Ie5bf1a89ceda0ff50140f426235047adcca0fdea
2022-07-26 11:46:32 +05:30
ROCm CI Service Account f3c171c984 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
Sarbojit2019 4514f35084 Updated correct API for reading error string (#2786) 2022-07-07 12:08:01 +05:30
ROCm CI Service Account 2667f3e225 SWDEV-341956 - update HIP Dtest with correct coordinates (#2755)
Change-Id: Iaccc4251a984e690d680ce884c6bfcc1093703af
2022-06-30 13:29:27 +05:30
ROCm CI Service Account 45870b83b2 SWDEV-341956 - update coordinates in dtest runtimeApi (#2761)
Change-Id: I058afba16452d1831067faf31020c979e5a99fa7
2022-06-22 12:06:02 -07:00
ROCm CI Service Account 78aaa848a4 SWDEV-333962 - Update Device Side Malloc test (#2666)
Change-Id: I5f872bae95e194e6ed679ea84d29383187c86cbb
2022-06-14 14:05:57 -07:00
ROCm CI Service Account 1c7d42064b SWDEV-332522 - array test cases for streamOpsWrite & streamOpsWait (#2659)
Change-Id: I746c3bae592e0251b8c9482d28bd21e1bd094256
2022-06-13 19:27:08 +05:30
ansurya f23b679a6a SWDEV-240806 - Add graph test for hipChildGraphNode and hipGraphClone (#2392)
Change-Id: I41fd44ac22f2f39b387f6608ac8f1e3cdc9e9297
2022-06-03 08:29:20 +05:30
ROCm CI Service Account 643f8dbd36 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 afa1e43916 SWDEV-330030 - fix test hang issue (#2650)
destroy stream before exit

Change-Id: Ib1989c89156859503bbff22916dc486ca2d1375a
2022-05-04 22:18:05 -07:00
ROCm CI Service Account 427ba9156a SWDEV-329567 - Fixes timing issu seen on Jenkins rns (#2628)
Change-Id: I7b4858033c58cba0c42a8ba8024f9b356e397658
2022-04-25 13:15:17 -07:00
ROCm CI Service Account 9b8e911328 SWDEV-319734 - complete printf test cases for HIP on windows (#2527)
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I2b3a1dec9c2d2bb6cc71eaa5a26b88473a827c14
2022-04-11 11:38:37 -07:00
ROCm CI Service Account ef9505d68a SWDEV-308763 - Update hiprtc tests to link with hiprtc lib (#2575)
hiprtc is made into a separate lib and hence tests should link with it explicitly during compilation
Also, updates the hiprtc programming guide

Change-Id: Ie1f9d7250d4a8622b77ef92938fc0decbaeb72f9
2022-04-01 09:02:20 +05:30
ROCm CI Service Account b61eb2e79c SWDEV-323167 - Fix for test hang (#2541)
Change-Id: Ic038ceb2368839f67af65d213694820f881f4193
2022-03-10 15:04:01 +05:30
ROCm CI Service Account 8e2aee5dbe SWDEV-324081 - Fix for dtest (#2540)
Change-Id: I114cb00d0bf2f899f1f299891ccbd4c0bea29150
2022-03-10 15:03:29 +05:30
Sourabh U Betigeri 5eade5cfa1 SWDEV-294375 - Adding coalesced_groups HIP tests (#2489)
Change-Id: I000a402e32d6057bab11829af2b78931fcd67fb5
2022-02-25 16:26:20 +05:30
ROCm CI Service Account d305e34173 SWDEV-240806 - Added API hipLaunchHostFunc and updated graph test for host graph node (#2512)
Change-Id: Idf759064946e503a2b3cc2a38f1a7cb049012688
2022-02-24 18:56:56 +05:30
TomSang e05f98967e SWDEV-306947 - Add mode combination tests (#2447)
Address modes are valid for array rather than linear
memory. Comment out codes of address test for linear
memory.
Add tests of mode combination(address, linear and
normorlized coordinates) in 1D, 2D and 3D.

Change-Id: I9e7e97d9bf619743c311f68f51d5bf115fdd534d
2022-02-17 13:48:45 -08:00
shadidashmiz c1e34d006c SWDEV-292011 - xgmi hip test not supported on windows (#2423)
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Ie78bea0f1507b0c103f9cc1cce941d35a9a88a9f
2021-12-02 11:47:02 +05:30
TomSang 5c8af57480 SWDEV-303204 - Disable texture/image Apis on some devices. (#2381)
Modify texture tests to pass on devices that don't support texture.
Add hipDeviceAttributeImageSupport to check image support in runtime

Change-Id: Ia89c494e651a6198a24448b59a91e046a9ebea38
2021-12-02 11:46:13 +05:30
kjayapra-amd f86a5a5f64 SWDEV-305993 - Check for P2P access on mgpu setup, before running P2P test cases (#2407)
Change-Id: I537a1a45f42a51b6654fd2ced8120edcb9a54d27
2021-11-25 15:14:01 +05:30
Julia Jiang 48b91908bc SWDEV-286322 - clean up trailing space - part2 (#2383)
Change-Id: Id659c029a33874bc9a7d4c42bffd06cdc1845e2e
2021-11-25 15:08:06 +05:30
TomSang 57f6cd0827 SWDEV-302654 - Fix cooperative_streams_half_capacity (#2376)
Fix random failure of cooperative_streams_half_capacity by adding HIPCHECK(hipSetDevice(dev))

Change-Id: Ic4baf10a2c69f981aa7134a999c4779642852f53
2021-10-06 17:27:39 +05:30
TomSang b05a0503f1 SWDEV-299966 - Enable texture test (#2340)
Enable the following test directed_tests/runtimeApi/module/hipModuleTexture2dDrv --tests 0x14

Change-Id: I98eabb7412f615733a999bf5e89c2c80b91cfbb2
2021-10-06 17:23:33 +05:30
Julia Jiang c61bbcce35 SWDEV-286322 - remove unnecessary executable permission (#2362)
Change-Id: Iebcac3f717ed916554d57a4b839d27b0427efd84
2021-09-24 16:28:03 +05:30
Julia Jiang 44581b4d3c SWDEV-286322 - clean up trailing space (#2361)
Change-Id: I03c07e67a8d1fa1a874718ffba43eb396c2aa05c
2021-09-24 16:27:51 +05:30
TomSang de8bb09c29 SWDEV-299755 - Fix hiprtc failure on NV (#2341)
1. Add missing nvrtc lib.
2. Add context creation before call module(driver) api.
3. Remove obsolete saxpy_pch test.

Change-Id: I5add27ebabcf021fa3ef99d09004c5d13423a297
2021-09-14 13:37:56 +05:30
TomSang ae73179d40 SWDEV-298338 - Fix memory test failure on NV MGPUs (#2339)
1. Fix hipMallocManagedMultiChunkMultiDevice
Add device setting before kernel launching
Add stream sync

2. Fix hipMemcpyAtoH and hipMemcpyHtoA
Fix primary context initialization issue when device
is changed on cuda

Change-Id: I3fe6dbc35b7b24abb21ada297b7885df83d28152
2021-09-14 13:37:46 +05:30
TomSang 7dba6dc28e SWDEV-299960 - Fix .hipTestAtomicAdd test on NV (#2338)
1. Add --gpu-architecture=compute_60 to fully support AtomicAdd()
2. Add atomicAddNoRet() for NV.

Change-Id: I5add28ebabcfa21fb3ef99d09004c5d13423a290
2021-09-14 13:37:30 +05:30
TomSang 3fd16c0b5b SWDEV-266829 - Enable more tests on AMD and NV devices (#2336)
* SWDEV-266829 - Enable more tests on AMD and NV devices

1. Enable tests on AMD and NV devices
  tests/src/runtimeApi/event/hipEventMultiThreaded.cpp
    Loops and threads per core are changed smaller so that test can
    finish in a shorter time.
  tests/src/runtimeApi/stream/hipStreamCreateWithPriority.cpp
    Fix logic error on how to get priority_normal

2. Simply enable test on AMD device
  tests/src/runtimeApi/memory/hipManagedKeyword.cpp
  tests/src/runtimeApi/module/hipManagedKeyword.cpp
  tests/src/runtimeApi/stream/hipStreamACb_MultiThread.cpp
  tests/src/runtimeApi/memory/p2p_copy_coherency.cpp

3. Simply enable test on NV device
 tests/src/runtimeApi/module/hipModuleLoadDataMultThreaded.cpp

4. Fix typo
  tests/src/runtimeApi/stream/hipStreamAddCallbackCatch.cpp

5. Remove useless tests
 tests/src/hipC.c
 tests/src/hipHcc.cpp

Change-Id: Ia4406353e64d69bd34c58ebb56185701f7ce1caa

* Remove tests/src/runtimeApi/module/hipModuleLoadDataMultThreaded.cpp for cuda test

Co-authored-by: anusha GodavarthySurya <Anusha.GodavarthySurya@amd.com>
Co-authored-by: Jenkins <jenkins-compute@amd.com>
2021-09-14 13:36:32 +05:30
Julia Jiang 56d6d27a6f SWDEV-286322 - remove unnecessary executable permission in some HIP files (#2329)
Change-Id: If992963761a73d709e08330bc36f2c979d5dcae9
2021-09-02 08:47:57 +05:30
TomSang c57e0f8fe5 SWDEV-294589 - Fix hipCGMultiGridGroupType* failure on NV (#2326)
Fix the following failed tests on NV,
hipCGMultiGridGroupType
hipCGMultiGridGroupTypeViaBaseType
hipCGMultiGridGroupTypeViaPublicApi

1. Fix wrong logic in kernel for both AMD and NV.
2. Remove unnecessary hipDeviceSynchronize().
3. In hipCGMultiGridGroupTypeViaBaseType.cpp, change
   multi_grid_group as thread_group which is originally expected.
4. hipFree(syncResultD) is fixed as hipHostFree(syncResultD)
5. Optimize some host codes.

Change-Id: I3fe6dac35a7b14bab12adf397b7885df83d28059
2021-08-27 08:51:15 +05:30