Граф коммитов

1100 Коммитов

Автор SHA1 Сообщение Дата
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
TomSang 67b3681d26 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
2021-08-27 08:51:02 +05:30
Julia Jiang c2be66db76 SWDEV-286322 - remove unnecessary executable permission (#2323)
Change-Id: I61674df72bc1d42d4e0d56bf66f08abe85269697
2021-08-25 16:57:22 -07:00
TomSang 48d8040b06 SWDEV-294597 - Add more hipNormalizedFloatValueTex cases (#2310)
Add test cases for filter modes: hipFilterModePoint and hipFilterModeLinear

Change-Id: I3fe6dbc35a7b14aab12adf297b7885df83d28056
2021-08-19 10:28:14 +05:30
arjun-raj-kuppala 402211e28e Jenkins pipeline code to enable external ci on develop branch (#2302)
* Create Jenkinsfile
* Temporarily disable hipModuleLoadDataMultThreaded test on nvidia

Change-Id: Id061e8a43cccdf0d944081268758b946d2448a6e
2021-08-10 10:16:04 +05:30
Tao Sang 148f1bd59d SWDEV-294597 - Fix hipNormalizedFloatValueTex
Enable hipNormalizedFloatValueTex on AMD and NV.
Add thresh_hold for comparing data.

Change-Id: I3fe6dbc35a7b14aab11adf297b7885df83d28049
2021-08-02 16:54:51 -04:00
Tao Sang 5b739b0373 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
2021-07-29 16:59:25 -04:00
Satyanvesh Dittakavi 80d2fee4d8 SWDEV-295427 - Update hipStreamACb_StrmSyncTiming test inorder to fix random failures
Change-Id: I5167fba79338fd2fdd059a9ad83007570bae46be
2021-07-29 12:32:57 -04:00
Tao Sang ec7e25b7e0 SWDEV-294591 - Fix hipEventIpc failure on NV
Remove unnecessary codes

Change-Id: I4248b2cebd3dd156f9d5d427e1897da22fb964ec
2021-07-29 10:16:07 -04:00
kjayapra-amd f61dff826a SWDEV-292175 - Use gfx90a guards around image kernel device library call.
Change-Id: I29aaac940c75fcab0cddbc263d60c0076ea76068
2021-07-29 06:55:18 -04:00
Tao Sang c053d60282 SWDEV-294591 - Fix hipEventIpc failure on NV
make hipIpcOpenEventHandle has the same behavour of cudaIpcOpenEventHandle.
Add Api usages.

Change-Id: I4248b2cebd3de156f9d5d427e1797da22fb964eb
2021-07-28 15:28:39 -04:00
Tao Sang 5a0b463d60 SWDEV-294594 - Enable hipPointerGetAttributes test on NV
Change-Id: I3fe6dbc45a7a149a9109df297b7885df83d2804d
2021-07-28 08:59:34 -04:00
Anusha GodavarthySurya 08aa662166 SWDEV-240806 - Update graph test to use hipGraphGetNodes, hipGraphGetRootNodes and hipGraphAddDependencies
Change-Id: I33249d2b625d8ff03c9fe4a71a541cac5fef9d24
2021-07-27 02:12:26 -04:00
Tao Sang a0b301089c SWDEV-294596 - Fix module test failure on NV
Remove unecessary codes

Change-Id: I4248b2cebd3de156f9d5d427e0697da22fb964ea
2021-07-25 21:21:12 -04:00
Tao Sang ae30c5cd6b SWDEV-294596 - Fix module test failure on NV
1.Fix hipModuleNegative failure on all NV GPUs
a.Add signal handler for signal sent by cuda functions.
b.Make hipModuleGetGlobal match cuModuleGetGlobal behavour.
That is, if one of the first two parameters is nullptr, ignore it.

2.Fix hipModuleLoadDataMultThreaded failure on NV RTX5000
Improve lamda function.

Change-Id: I3fe6dbc35a7a14aa9119df197b7885df83d28047
2021-07-23 22:04:19 -04:00
Sourabh Betigeri 6deaba3fa7 SWDEV-292523 - [hip]Change in the signature of streamOperations APIs, particularly 'value' arg to unsigned 'value
Change-Id: If97e3de553dfef19c8bf2d9797a6c68ec94a0ff6
2021-07-22 15:35:06 -04:00
Tao Sang 586165ebc2 SWDEV-294588 - Enable NV printf DTests
Enable NV printf DTests as many as possible.
Fix the bugs due to behavour difference between
Hip-Rocclr and Cuda.
Add hipLimitPrintfFifoSize.

Change-Id: I3fe6dbc35a7a140a9919df197b7885df83d28049
2021-07-20 21:22:11 -04:00
Aaron En Ye Shi 9fbd19a675 SWDEV-292904 - Extend HIP coherency tests to gfx940
Change-Id: I54d57572d55c302ebaed29c7e11570e3d1b44a8e
2021-07-19 12:13:53 -04:00
Tao Sang 4b5468e8e6 SWDEV-266829 - Enable more NV DTests
Enable NV DTests as many as possible.

Change-Id: I3fe6dba35a7a140a9a19df197b7885df83d28044
2021-07-19 11:07:43 -04:00
Tao Sang c74e2da333 SWDEV-295037 - Fix passed() in DTests
passed() should not call exit(0) which will prevent object
destructor being called.

Change-Id: Ibaee0d85cb616727dc5db557bb9422702670b688
2021-07-19 10:59:04 -04:00
Tao Sang 63586279ba SWDEV-294582 - Fix hipStdComplex in NV
Use cuda::std instead of std name space for complex
operations.

Change-Id: I43b23384ac7a129fcd7f41204f796105576cd628
2021-07-19 10:50:11 -04:00
Tao Sang a2fdc8cfbd SWDEV-295381 - Fix hipSimpleAtomicsTest
Fix hipSimpleAtomicsTest failure on amd and nvidia devices.

Change-Id: I43b23384ab70129ccd7f41204f796105576cd605
2021-07-15 20:45:51 -04:00
Jatin Chaudhary b337a5586b SWDEV-283267 - Add rtc document and remove hip header from tests
Change-Id: I43a23384ab70128ccd7f41204f796105576cd604
2021-07-14 11:00:38 -04:00
Anusha GodavarthySurya 6e7ea5b612 SWDEV-240806 - Added Implementation for few more graph APIs
Change-Id: I1e443cf1b4e3a1e85f6fb9c1db8fdfa7c1fdfe06
2021-07-14 01:58:03 -04:00
Anusha GodavarthySurya 9c9b62f0b8 SWDEV-240806 - Enable graph test on nvidia platform
Change-Id: Ia196dd7c650693155f786871671aec4dda0e886f
2021-07-08 23:27:20 -04:00
Anusha GodavarthySurya 4025725ed6 SWDEV-240806 - updated hipMemcpyKind in nvidia tyes from enum to typedef
Change-Id: Id6a100257d47211cc9868ba84a2964302e4f069c
2021-07-08 02:54:36 -04:00
agunashe d529637fbc SWDEV-293742 - Update copyright end year
Change-Id: I2cb7bbd9a6d9da28116ba9dd9cec4e60525444e2
2021-07-07 12:57:23 -04:00