Commit Graph

1118 Commits

Author SHA1 Message Date
ROCm CI Service Account fb2884d64e SWDEV-312700 - Fixing memory corruption at the test. (#3026)
Change-Id: I85cec43e1e57ceb3a9972a924aeb4505c055a483

[ROCm/hip commit: 192ff329f6]
2022-10-27 20:23:22 +05:30
ROCm CI Service Account eb294bc032 SWDEV-346657 - increase time for random failure (#3025)
- increase the time duration for stream sync to avoid test failure

Change-Id: I36264677f70cd6ca2bd8bcde06c19da0637a0e64

[ROCm/hip commit: 0175bfe045]
2022-10-27 20:23:04 +05:30
Satyanvesh Dittakavi 71eeb8ed4a SWDEV-350781 - Remove Pagetable validation tests from HIP (#2970)
[ROCm/hip commit: 685390469a]
2022-10-20 07:26:03 +05:30
ROCm CI Service Account 9ef84113f3 SWDEV-286739 - Support hipDeviceAttributeWallClockRate (#2984)
Part 4: Add unit test of wall_clock64()

Change-Id: I52cbba6d67d21cde6da19c5ab533159f426a9bf7

[ROCm/hip commit: fb938a607f]
2022-10-19 19:12:01 +05:30
ROCm CI Service Account 996399531c 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

[ROCm/hip commit: 96b3b9eaf5]
2022-10-12 08:31:25 +05:30
Paulius Velesko 8d371ed6b6 Catch2 Test Fixes (#2961)
* test fixes

* address PR comment

* PR comment fixing Nvidia pass

* add additional kernel launch checks

* pr comments


[ROCm/hip commit: c02b15fc7c]
2022-09-30 15:07:25 -07:00
ROCm CI Service Account 9ba5f64beb 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

[ROCm/hip commit: 2b09d94ea2]
2022-09-23 12:37:42 +05:30
ROCm CI Service Account 38ee9fb2c3 SWDEV-312707 - Avoid Char[] memory corrption on high GPU systems by increasing array size. (#2954)
Change-Id: Ia743e87d4cbcc9ccaa9e782109114dd878ab8b0d

[ROCm/hip commit: 411a00b232]
2022-09-23 12:35:04 +05:30
ROCm CI Service Account 4cd015f49a SWDEV-356299 - Fix hipPeerToPeer_simple Tests (#2953)
- Add hipDeviceSynchronize after hipMemset with device memory, as hipMemset is asynchronous in this case

Change-Id: Ia55d106931984fed450be29c1b745c8069151f76

[ROCm/hip commit: 6e021f1adc]
2022-09-21 14:17:35 +05:30
ROCm CI Service Account 8d81f1ddbc SWDEV-299940 - Needs to Fix Malloc tests (#2832)
Change-Id: I21739d88871b5813cf266a6be8eb05ecee487046

[ROCm/hip commit: 4d014ce711]
2022-07-29 16:31:04 +05:30
ROCm CI Service Account fcec9b6b6a 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

[ROCm/hip commit: c5d856348e]
2022-07-26 11:46:32 +05:30
ROCm CI Service Account 4e58d884c3 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

[ROCm/hip commit: f3c171c984]
2022-07-19 19:26:56 +05:30
Sarbojit2019 c262223246 Updated correct API for reading error string (#2786)
[ROCm/hip commit: 4514f35084]
2022-07-07 12:08:01 +05:30
ROCm CI Service Account da2888b9c4 SWDEV-341956 - update HIP Dtest with correct coordinates (#2755)
Change-Id: Iaccc4251a984e690d680ce884c6bfcc1093703af

[ROCm/hip commit: 2667f3e225]
2022-06-30 13:29:27 +05:30
ROCm CI Service Account 76c9a958ea SWDEV-341956 - update coordinates in dtest runtimeApi (#2761)
Change-Id: I058afba16452d1831067faf31020c979e5a99fa7


[ROCm/hip commit: 45870b83b2]
2022-06-22 12:06:02 -07:00
ROCm CI Service Account 4dd898a47d SWDEV-333962 - Update Device Side Malloc test (#2666)
Change-Id: I5f872bae95e194e6ed679ea84d29383187c86cbb

[ROCm/hip commit: 78aaa848a4]
2022-06-14 14:05:57 -07:00
ROCm CI Service Account e5b1930606 SWDEV-332522 - array test cases for streamOpsWrite & streamOpsWait (#2659)
Change-Id: I746c3bae592e0251b8c9482d28bd21e1bd094256

[ROCm/hip commit: 1c7d42064b]
2022-06-13 19:27:08 +05:30
ansurya bf759ff677 SWDEV-240806 - Add graph test for hipChildGraphNode and hipGraphClone (#2392)
Change-Id: I41fd44ac22f2f39b387f6608ac8f1e3cdc9e9297

[ROCm/hip commit: f23b679a6a]
2022-06-03 08:29:20 +05:30
ROCm CI Service Account 4a74649360 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


[ROCm/hip commit: 643f8dbd36]
2022-05-09 08:46:20 -07:00
ROCm CI Service Account fdf1829625 SWDEV-330030 - fix test hang issue (#2650)
destroy stream before exit

Change-Id: Ib1989c89156859503bbff22916dc486ca2d1375a


[ROCm/hip commit: afa1e43916]
2022-05-04 22:18:05 -07:00
ROCm CI Service Account d4921ba9c0 SWDEV-329567 - Fixes timing issu seen on Jenkins rns (#2628)
Change-Id: I7b4858033c58cba0c42a8ba8024f9b356e397658


[ROCm/hip commit: 427ba9156a]
2022-04-25 13:15:17 -07:00
ROCm CI Service Account c516229ee0 SWDEV-319734 - complete printf test cases for HIP on windows (#2527)
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I2b3a1dec9c2d2bb6cc71eaa5a26b88473a827c14


[ROCm/hip commit: 9b8e911328]
2022-04-11 11:38:37 -07:00
ROCm CI Service Account e06d8f5681 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

[ROCm/hip commit: ef9505d68a]
2022-04-01 09:02:20 +05:30
ROCm CI Service Account 6691f4702e SWDEV-323167 - Fix for test hang (#2541)
Change-Id: Ic038ceb2368839f67af65d213694820f881f4193

[ROCm/hip commit: b61eb2e79c]
2022-03-10 15:04:01 +05:30
ROCm CI Service Account 8ceb856ec0 SWDEV-324081 - Fix for dtest (#2540)
Change-Id: I114cb00d0bf2f899f1f299891ccbd4c0bea29150

[ROCm/hip commit: 8e2aee5dbe]
2022-03-10 15:03:29 +05:30
Sourabh U Betigeri ef5d4b38b7 SWDEV-294375 - Adding coalesced_groups HIP tests (#2489)
Change-Id: I000a402e32d6057bab11829af2b78931fcd67fb5

[ROCm/hip commit: 5eade5cfa1]
2022-02-25 16:26:20 +05:30
ROCm CI Service Account 33f1086f14 SWDEV-240806 - Added API hipLaunchHostFunc and updated graph test for host graph node (#2512)
Change-Id: Idf759064946e503a2b3cc2a38f1a7cb049012688

[ROCm/hip commit: d305e34173]
2022-02-24 18:56:56 +05:30
TomSang f1ed56ab72 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

[ROCm/hip commit: e05f98967e]
2022-02-17 13:48:45 -08:00
shadidashmiz 051a25b447 SWDEV-292011 - xgmi hip test not supported on windows (#2423)
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Ie78bea0f1507b0c103f9cc1cce941d35a9a88a9f

[ROCm/hip commit: c1e34d006c]
2021-12-02 11:47:02 +05:30
TomSang b87ef5aa18 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

[ROCm/hip commit: 5c8af57480]
2021-12-02 11:46:13 +05:30
kjayapra-amd f835b6f2a4 SWDEV-305993 - Check for P2P access on mgpu setup, before running P2P test cases (#2407)
Change-Id: I537a1a45f42a51b6654fd2ced8120edcb9a54d27

[ROCm/hip commit: f86a5a5f64]
2021-11-25 15:14:01 +05:30
Julia Jiang 3351c0a2f7 SWDEV-286322 - clean up trailing space - part2 (#2383)
Change-Id: Id659c029a33874bc9a7d4c42bffd06cdc1845e2e

[ROCm/hip commit: 48b91908bc]
2021-11-25 15:08:06 +05:30
TomSang c21a3f06ad SWDEV-302654 - Fix cooperative_streams_half_capacity (#2376)
Fix random failure of cooperative_streams_half_capacity by adding HIPCHECK(hipSetDevice(dev))

Change-Id: Ic4baf10a2c69f981aa7134a999c4779642852f53

[ROCm/hip commit: 57f6cd0827]
2021-10-06 17:27:39 +05:30
TomSang 3aa91ecfd7 SWDEV-299966 - Enable texture test (#2340)
Enable the following test directed_tests/runtimeApi/module/hipModuleTexture2dDrv --tests 0x14

Change-Id: I98eabb7412f615733a999bf5e89c2c80b91cfbb2

[ROCm/hip commit: b05a0503f1]
2021-10-06 17:23:33 +05:30
Julia Jiang 3d53651d31 SWDEV-286322 - remove unnecessary executable permission (#2362)
Change-Id: Iebcac3f717ed916554d57a4b839d27b0427efd84

[ROCm/hip commit: c61bbcce35]
2021-09-24 16:28:03 +05:30
Julia Jiang e3c8349e2e SWDEV-286322 - clean up trailing space (#2361)
Change-Id: I03c07e67a8d1fa1a874718ffba43eb396c2aa05c

[ROCm/hip commit: 44581b4d3c]
2021-09-24 16:27:51 +05:30
TomSang b8cc5e4a33 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

[ROCm/hip commit: de8bb09c29]
2021-09-14 13:37:56 +05:30
TomSang 40812160de 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

[ROCm/hip commit: ae73179d40]
2021-09-14 13:37:46 +05:30
TomSang 588a6c250e 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

[ROCm/hip commit: 7dba6dc28e]
2021-09-14 13:37:30 +05:30
TomSang f4aa2b9977 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>

[ROCm/hip commit: 3fd16c0b5b]
2021-09-14 13:36:32 +05:30
Julia Jiang eec75aa436 SWDEV-286322 - remove unnecessary executable permission in some HIP files (#2329)
Change-Id: If992963761a73d709e08330bc36f2c979d5dcae9

[ROCm/hip commit: 56d6d27a6f]
2021-09-02 08:47:57 +05:30
TomSang 90927a5ec6 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

[ROCm/hip commit: c57e0f8fe5]
2021-08-27 08:51:15 +05:30
TomSang e2da704d65 SWDEV-298459 - Fix cooperative_streams on NV (#2325)
Enable cooperativeGrps/cooperative_streams on NV.
Add test cases of the least/half/full capacity.
Verify data in terms of AMD/NV devices.
Optimize codes

Change-Id: I3fe6dbc35b7b24abb11adf297b7885df83d28154

[ROCm/hip commit: 67b3681d26]
2021-08-27 08:51:02 +05:30
Julia Jiang b84eef1623 SWDEV-286322 - remove unnecessary executable permission (#2323)
Change-Id: I61674df72bc1d42d4e0d56bf66f08abe85269697

[ROCm/hip commit: c2be66db76]
2021-08-25 16:57:22 -07:00
TomSang 9363e6d504 SWDEV-294597 - Add more hipNormalizedFloatValueTex cases (#2310)
Add test cases for filter modes: hipFilterModePoint and hipFilterModeLinear

Change-Id: I3fe6dbc35a7b14aab12adf297b7885df83d28056

[ROCm/hip commit: 48d8040b06]
2021-08-19 10:28:14 +05:30
arjun-raj-kuppala 361dbfd63a Jenkins pipeline code to enable external ci on develop branch (#2302)
* Create Jenkinsfile
* Temporarily disable hipModuleLoadDataMultThreaded test on nvidia

Change-Id: Id061e8a43cccdf0d944081268758b946d2448a6e

[ROCm/hip commit: 402211e28e]
2021-08-10 10:16:04 +05:30
Tao Sang 14b57fe882 SWDEV-294597 - Fix hipNormalizedFloatValueTex
Enable hipNormalizedFloatValueTex on AMD and NV.
Add thresh_hold for comparing data.

Change-Id: I3fe6dbc35a7b14aab11adf297b7885df83d28049


[ROCm/hip commit: 148f1bd59d]
2021-08-02 16:54:51 -04:00
Tao Sang 7ee9099c3e SWDEV-294586 - Fix hipDynamicShared failure on NV
1. In kernel/hipDynamicShared
 Fix shared memory size and type mismatch in host and kernel.

2. In kernel/hipDynamicShared2
Cuda kernels relying on shared memory allocations over 48 KB require
to explicitly set size using hipFuncSetAttribute().

Change-Id: I4248b6cebd3dc156f9d5d427e1897da22fb964ed


[ROCm/hip commit: 5b739b0373]
2021-07-29 16:59:25 -04:00
Satyanvesh Dittakavi aea8276876 SWDEV-295427 - Update hipStreamACb_StrmSyncTiming test inorder to fix random failures
Change-Id: I5167fba79338fd2fdd059a9ad83007570bae46be


[ROCm/hip commit: 80d2fee4d8]
2021-07-29 12:32:57 -04:00
Tao Sang 9de024b109 SWDEV-294591 - Fix hipEventIpc failure on NV
Remove unnecessary codes

Change-Id: I4248b2cebd3dd156f9d5d427e1897da22fb964ec


[ROCm/hip commit: ec7e25b7e0]
2021-07-29 10:16:07 -04:00