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

949 Коммитов

Автор SHA1 Сообщение Дата
Sarbojit Sarkar 38684be9a2 [SWDEV-259216] Minor test bug
Change-Id: Ib2ece421af88c99ded41514b6a2dc432b78be682


[ROCm/hip commit: c47eb6833f]
2020-11-13 02:23:45 -05:00
Sarbojit Sarkar d6d13831d3 [SWDEV-257048] fix for softhang in dtest
Change-Id: Ic77f5d9c13852c4e3da7afb41b1db7d43c5cbf75


[ROCm/hip commit: 7439307e0e]
2020-11-13 02:21:00 -05:00
Tao Sang acfeb818a5 Make hipMemset*Async* tests pass in static lib
3 hipMemset*Async* direct tests will crash in static lib because
some hsa objects are not initialized when hip apis call them.
The fix will make the hip apis called in main() so that hsa objects
have been initialized at that stage.

Change-Id: I41eb29b8c2588acac0cd3ae6d96b14fb1abd235a


[ROCm/hip commit: f9726a727d]
2020-11-03 09:54:30 -05:00
Tao Sang fd5ef38166 Make directed_test support static libs
1.Make directed_test apps linked against static libs
    of hip, rocclr, rocr, roct and amd_comgr.
    2.Remove custom_target amdhip64_static_combiner.
    3.Support EXCLUDE_HIP_LIB_TYPE <static|shared>.
    4.Simplify argument list parsing.
    5.Install rocclr when rocm is installed.
    6.Fix some original small bugs.

Revert "Revert "Make directed_test support static libs""
This reverts commit 4a8a95a8e9.

Change-Id: I918eeae94487e5e2ff5bfde083667ac65fb6e702


[ROCm/hip commit: bcd067f462]
2020-10-26 12:39:58 -04:00
agodavar 13436a7e1f cmake hip-rocclr as default build,change HIP_PLATFORM to amd|nvidia
Change-Id: I59d2e15b297b6ca2d5eee1a6dee642bdb01a3839


[ROCm/hip commit: d10124e1d7]
2020-10-21 07:26:14 -04:00
Sudheer Kumar 4e1daa5b4a [dtest] Tests for loading hip apis dynamically
SWDEV-238517 for enhancing hip unit tests

Change-Id: I9b6ef41db2f02ee3679360d0fae709a404a0ea4f


[ROCm/hip commit: e112d1e13f]
2020-10-21 02:49:49 -04:00
Yaxun (Sam) Liu 443f975e97 Fix test hipDynamicShared
This test does not work if block size is greater than wave size
since it relies on lock-step execution of the kernel in the block.
If there are more than waves in the block, the threads in the block
miss synchronization since one wave may finish before another wave.

Due to this bug, the test fails on GFX10 wave32 mode.

This patch fixes that so that it works for block size greater than
wave size.

Change-Id: Ie0097066081df36cb6fe025a71d0ee5a83ec00a2


[ROCm/hip commit: 78269dcbe5]
2020-10-14 10:15:44 -04:00
Lakhan singh Thakur 66aba3ea21 [dtest] Adding Test case for hipFuncSetSharedMemConfig() and hipFuncSetAttribute()
SWDEV-251504 - QA task for validation

Change-Id: I11ed98f648352cb32161c41290516c77231236bc


[ROCm/hip commit: 548ec20ffd]
2020-10-13 11:11:00 -04:00
Rupam Chetia 3e98b823d3 [dtest] hipModuleLoad and related API tests
APIs: hipModuleLoad, hipModuleLoadData and hipModuleLoadDataEx,
      hipModuleGetGlobal(), hipModuleGetFunction
Functional and negative tests
Repeated call to ModuleLoadXX/ModuleUnloadXX
Few tests are disabled now, will be enabled when functional

SWDEV-238517 for enhancing hip unit tests

Change-Id: I65c12027e32db80213468fdee1c5cc1aa3e60bfd


[ROCm/hip commit: 71ba35eb2c]
2020-10-13 11:10:11 -04:00
Julia Jiang 3a44adf0ed SWDEV-249487-remove two HCC related APIs
Change-Id: Icf90ece0808643e0c5f0cc00b6644d5171b553d8


[ROCm/hip commit: c2a3d19acb]
2020-10-13 11:08:37 -04:00
agodavar 81b6ad7d35 SWDEV-254185 - Added support to pass include headers to hipRTC
Change-Id: Ia19e6806a476d3c6ecd3e9a89c3ed72953a4900c


[ROCm/hip commit: dc1459cfb1]
2020-10-12 06:04:14 -04:00
Tao Sang 4a8a95a8e9 Revert "Make directed_test support static libs"
This reverts commit 37282c6132.

Reason for revert: <INSERT REASONING HERE>

Change-Id: Ib2d1084ea21461f70f96f95c6025a08f88288357


[ROCm/hip commit: 5b7533e49f]
2020-10-12 00:01:13 -04:00
Tao Sang 37282c6132 Make directed_test support static libs
1.Make directed_test apps linked against static libs
of hip, rocclr, rocr, roct and amd_comgr.
2.Remove custom_target amdhip64_static_combiner.
3.Support EXCLUDE_HIP_LIB_TYPE <static|shared>.
4.Simplify argument list parsing.
5.Fix hip_pch.o missing issue in samples' build.
6.Fix some original small bugs.

Change-Id: I30f5e65367613152ce86b80b13e1c9f2a28da803


[ROCm/hip commit: b41a769517]
2020-10-08 22:46:58 -04:00
Jason Tang 69b0429a5e Add hipStreamSynchronize to hipModuleLoadDataMultThreadOnMultGPU test
hipStreamDestroy() by definition doesn't guarantee waiting for all stream operations.

Change-Id: Ibfd21c48d71741ebcbcb9898c8b5ac235bdc570b


[ROCm/hip commit: 2299459ce0]
2020-10-08 11:06:39 -04:00
German Andryeyev 4577f0f1bb Use more managed memory interfaces
Add extra API calls for managed memory: hipMemAdvise, hipMemPrefetchAsync,
hipMemRangeGetAttribute

Change-Id: Ifb09744acdf7582d278453707373c89c30e3ed03


[ROCm/hip commit: 67c19cb10b]
2020-10-07 16:45:25 -04:00
sumanthtg b92a369a11 [dtest] Tests for atomicAdd/atomicAddnoRet
Positive and negative test cases for atomicAdd and
AtomicAddnoRet device functions

SWDEV-238517 for enhancing hip unit tests

Change-Id: Id20ba2550d20f224004f105cdcd087002cb80e56


[ROCm/hip commit: 543dc8cea5]
2020-10-07 13:20:12 -04:00
sumanthtg 3a634bb965 [dtest] Additional tests for hipOccupancyMax APIs
Additional tests for following APIs
- hipOccupancyMaxActiveBlocksPerMultiprocessor
- hipOccupancyMaxPotentialBlockSize

SWDEV-238517 for enhancing hip unit tests

Change-Id: Ib9441c1366f46a082e10eb1a572bc7d8ebe1ee37


[ROCm/hip commit: 2bee071530]
2020-10-07 13:19:06 -04:00
Sarbojit Sarkar 0eebd71062 SWDEV:253548 : remove gfx-arch macros
Change-Id: I1ef0b4e080c15a9c6228f48ecd6a65b134d0a72d


[ROCm/hip commit: a2f9a2d469]
2020-10-06 01:15:58 -04:00
Vladislav Sytchenko e4caaa2a77 Revert "Revert "Merge branch 'amd-master-next' into amd-npi-next""
This reverts commit 28b17d3dbd.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I92ceb171e31026ed1864704cef2fc1497b883ef9


[ROCm/hip commit: ad2d55c144]
2020-10-05 13:20:58 -04:00
Vladislav Sytchenko 28b17d3dbd Revert "Merge branch 'amd-master-next' into amd-npi-next"
This reverts commit 258d79bca7.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I53322718dadde2c98f96140b8e260ec7ee9ef721


[ROCm/hip commit: 374ead1d19]
2020-10-05 13:02:39 -04:00
Vladislav Sytchenko 258d79bca7 Merge branch 'amd-master-next' into amd-npi-next
Change-Id: I0587f67e28cec51c2ae753e986d2c7ce21db271e


[ROCm/hip commit: 73558e3363]
2020-10-05 09:51:06 -04:00
mshivama 539a50b9de Fix bug reported in SWDEV-251619
Unit testing of CG threadRank api in multi-grid environment requires
some changes as grid id of particular device is not known apriori.

Change-Id: Ie7941a09337653f3ada5eedfb7c64a93a234498b


[ROCm/hip commit: f45f9e37dd]
2020-10-02 13:39:10 -04:00
Aryan Salmanpour bc0b4f2f7e enable building cooperative directed tests on NV platform
Change-Id: I9a658b28010176d4f9401010b9c4b4be7ae86b92


[ROCm/hip commit: 3c0bff0878]
2020-10-02 00:59:40 -04:00
Aryan Salmanpour 40d44e2c8d [dtest] move all the cooperative related tests into one location
Change-Id: I9b44027d795ebfbf42f78af8e69d26ac8109692a


[ROCm/hip commit: e1cb711e66]
2020-10-01 16:01:46 -04:00
Sarbojit Sarkar fcba52f6f5 SWDEV-253247: add ulong and ulonglong version of__shfl*
Change-Id: I40ab6cfa12175f334e8392b71f567054d8256e2a


[ROCm/hip commit: bf20337fc1]
2020-09-30 01:58:22 -04:00
Lakhan singh Thakur 0b3c2c3c27 [dtest] Additional tests for hipMallocManaged() api
5 scenarios were added for hipMallocManaged including negative
test.

SWDEV-238517 for enhancing hip unit tests

Change-Id: Ibba53fb64502d6df798e4e63100dcb8c5f94553f


[ROCm/hip commit: 8f4cc3017f]
2020-09-24 10:05:21 -04:00
kjayapra-amd 722bfd0a5d SWDEV-253349 - Add a SKIP state for hip directed tests when HIP_BRINGUP_SKIP macro is used.
Change-Id: If176cf775e568d4b32982127731223fe96a38f0d


[ROCm/hip commit: d1f82881f6]
2020-09-23 16:46:21 -04:00
Sumanth Tumbalam Gooty 7fde2122aa [dtest] Tests for hipMalloc
1. API validation
2. Validate the memory status after hipMalloc()
3. Test repeated hipMalloc() Calls, call in multiple threads
4. Parallel hipMalloc() from parent and child processes
5. hipMalloc() from multiple processes on multiple GPUs

SWDEV-238517 for enhancing hip unit tests

Change-Id: Ie152999d7a203a51704d2888ccc1ca866a2e1b05


[ROCm/hip commit: 3a4b74a3a0]
2020-09-23 09:20:01 -04:00
Lakhan singh Thakur 892b5046ff [dtest] Tests for hipIpcGetMemHandle()
Tests allocation of memory on various GPUs and pass on the IPC mem handle to child process.
Child process attaches to the mem handle and uses the memory on various GPUs

SWDEV-238517 for enhancing hip unit tests

Change-Id: I7babc7725813e05d651057beef6a8bec6f62a49b


[ROCm/hip commit: d623445c65]
2020-09-22 23:49:30 -04:00
Todd tiantuo Li 33249339d1 SWDEV-240803 - add test for hipFuncSetSharedMemConfig
Change-Id: I150b65a548ee9bf8d7e079b3db2e73958747c3a0


[ROCm/hip commit: 66efc13d5c]
2020-09-21 17:26:51 -04:00
Lakhan singh Thakur 50f20a494d [dtest] Cooperative Groups related tests
Converted tests from below git to hipdirected_tests
http://gitlab1.amd.com/jgreatho/cuda_cooperative_groups_test
Modified to cover multi-GPUs
Disabled tests for cuda because of some header file issues

SWDEV-238517 for enhancing hip unit tests

Change-Id: If35fd710e8ab61debcf66bca5b6503539c567ec1


[ROCm/hip commit: e955144aa3]
2020-09-18 11:40:16 -04:00
mkumarmi 7f4fd6e62e [dtest] Disable few tests on NVCC platform
Few of the tests are being validated in nvcc platform.  Till then
these tests are disabled.

SWDEV-238517 for enhancing hip unit tests

Change-Id: I1acbfe90c6ea39f3de676e98f0e3c33cbac97888


[ROCm/hip commit: 5bf2a70382]
2020-09-18 04:34:00 -04:00
Vladislav Sytchenko b3da0b8d9a Merge branch 'amd-master-next' into amd-npi-next
Change-Id: I4181bbab4fc0a5ec857fe39d6148ee8b4975836d


[ROCm/hip commit: 573b2dced3]
2020-09-16 12:06:55 -04:00
kjayapra-amd 0189887c71 SWDEV-251884 - Add Coop Launch Dev Property Checks in Co-operative Groups test cases.
Change-Id: I7b54a559d8abe0d5d5c77e48868b1332477a39f8


[ROCm/hip commit: e71067a7ec]
2020-09-14 17:10:39 -04:00
kjayapra-amd da79b0a5d2 SWDEV-240800 - Adding dtest for hipDeviceGetP2PAttribute.
Change-Id: Icf1dc56c98247de43c638d9fdc16de045d2a1da9


[ROCm/hip commit: 637e8f966c]
2020-09-11 14:25:11 -04:00
Jenkins dbe69e1280 Merge 'amd-master-next' into 'amd-npi-next'
Change-Id: I88aec6ceb6b6e49caf48a0287ee2379b8ed9b296


[ROCm/hip commit: 85e4233a23]
2020-09-03 05:09:55 -04:00
Saleel Kudchadker 7c60cf0a5b Fix hipPrintf* tests
The test needs to check dup2 syscall status and not the
errno val

Change-Id: Ic88eb2047b839adbc9e12965b098d8960cd7e2b8


[ROCm/hip commit: 7720651f2d]
2020-09-01 15:00:49 -04:00
Rahul Garg d0229930f9 Revert "[dtest] Additional tests for Memcpy"
This reverts commit fc61d76630.

Reason for revert: All the PSDBs on the CI are failing with the below error and its been root caused to this commit:
......................................................................................... Passed 0.59 sec 99% tests passed, 1 tests
failed out of 211 Total Test time (real) = 287.02 sec The following tests FAILED: 139 - directed_tests/runtimeApi/memory/hipMemcpyNegativeMThrdMSize_Negative_tests.tst
(Child aborted) Errors while running CTest Restoring clocks to: auto

Change-Id: I4ea0e14ba5f92cd61677f4a3b9482fea00902310


[ROCm/hip commit: 280d300320]
2020-09-01 00:48:20 -04:00
Jenkins b0a0825466 Merge 'amd-master-next' into 'amd-npi-next'
Change-Id: I801d75dba453bcf24fe0c6f36a6489c2e470231e


[ROCm/hip commit: a90355edf6]
2020-08-25 17:10:30 -04:00
Aryan Salmanpour 088512e3f6 [HipPerf] modifiy and move hipPerfMemcpy test to the new location for perf tests
SWDEV-245290

Change-Id: I84f03a3019fce48aab63dd4cc232ea3539a1af79


[ROCm/hip commit: 1c966637a4]
2020-08-25 16:52:14 -04:00
Jenkins 9cf1f60bc8 Merge 'amd-master-next' into 'amd-npi-next'
Change-Id: I914aa748c92849f9f7ab796129a4617753d728db


[ROCm/hip commit: f9ebdacdfa]
2020-08-25 11:10:53 -04:00
mshivama 9204746c65 Support public apis for cooperative group types.
Change-Id: I01346afde485e82c34b7868b9241b34c542d0cf9


[ROCm/hip commit: 15aff89ba1]
2020-08-25 10:50:38 +05:30
Jenkins cd599ef1e0 Merge 'amd-master-next' into 'amd-npi-next'
Change-Id: I4d7ded0a1316a469f0880490e563c3e3f00cc970


[ROCm/hip commit: d01cbc7220]
2020-08-20 21:09:41 +00:00
Lakhan singh Thakur fc61d76630 [dtest] Additional tests for Memcpy
APIs tested: hipMemcpy, hipMemcpyAsync, hipMemcpyHtoD, hipMemcpyHtoDAsync
             hipMemcpyDtoH, hipMemcpyDtoHAsync, hipMemcpyDtoD,
             hipMemcpyDtoDAsync

-Scenario-1:: The aim of this test case is to cover all the negative test cases
              for 8 hipMemcpy apis
-Scenario-2:: This test launches NUM_THREADS threads. Each thread in turn tests
              the working of 8 hipmemcpy apis
-Scenario-3:: This test case verifies the working of Memcpy apis for range of
              Memory sizes from smallest one unit transfer to 1GB.

SWDEV-238517 for enhancing hip unit tests

Change-Id: Iace19cc54e865fae8450448d6f37abed88597f19


[ROCm/hip commit: 858b7e027e]
2020-08-20 16:41:57 -04:00
Sudheer Kumar cfc658478b [dtest] Enhanced tests for hipSetDevice and hipGetDevice
SWDEV-238517 for enhancing hip unit tests

Change-Id: I4fe169c560ce2e1fb471df67f03263903b12463b


[ROCm/hip commit: f648d2f2f5]
2020-08-20 13:52:05 -04:00
Jenkins 4541cdb161 Merge 'amd-master-next' into 'amd-npi-next'
Change-Id: I935fc8f681fad2df4e932407287a29a6a797351a


[ROCm/hip commit: d95ca630b5]
2020-08-14 09:09:52 +00:00
Aryan Salmanpour 249cb857ed [HipPerf] relocating/renaming some hip perf tests
Change-Id: Ie85d242cd68cd14a858e07ed27875a5196014688


[ROCm/hip commit: 0d0efcdbf4]
2020-08-13 17:28:11 -04:00
Aryan Salmanpour 2c90a43675 [dtest] disable hipStreamCreateWithPriority test temporarily as it fails randomly on Jenkins
Change-Id: I4edcd555653ef8e7562245da3a6f310d60884fe0


[ROCm/hip commit: ee149e4610]
2020-07-30 16:18:04 -04:00
Jatin Chaudhary 2982f07b9c Fixing/Disabling tests on nvcc path
Change-Id: I7ed4a1246943867482ff595d5f98bb25bd79074b


[ROCm/hip commit: e7eaafe165]
2020-07-30 00:39:07 -04:00
Rahul Garg e1bf817d60 Remove libhip_hcc symlinks to libamdhip64
Change-Id: I7b5b47fc7ca9760316c2424c16b454d7919c665c


[ROCm/hip commit: dc904abd8a]
2020-07-27 23:58:29 +00:00