نمودار کامیت

950 کامیت‌ها

مولف SHA1 پیام تاریخ
Michael LIAO 16a93d1b42 Fix cooperative group tests.
- `gm` should be a global variable instead of auto local variable.

Change-Id: Ibde1e54ee83fa5725f21820b4b792a97bf7df6ad


[ROCm/clr commit: 28e1fb0cf7]
2020-11-17 14:09:16 -05:00
Sarbojit Sarkar d15073560c [SWDEV-259216] Minor test bug
Change-Id: Ib2ece421af88c99ded41514b6a2dc432b78be682


[ROCm/clr commit: 25c8b41cb5]
2020-11-13 02:23:45 -05:00
Sarbojit Sarkar 48041d1790 [SWDEV-257048] fix for softhang in dtest
Change-Id: Ic77f5d9c13852c4e3da7afb41b1db7d43c5cbf75


[ROCm/clr commit: c68a36fe14]
2020-11-13 02:21:00 -05:00
Tao Sang e6a4e455e5 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/clr commit: 272f89a966]
2020-11-03 09:54:30 -05:00
Tao Sang d8e8f2c833 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 f1cc6bef64.

Change-Id: I918eeae94487e5e2ff5bfde083667ac65fb6e702


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


[ROCm/clr commit: 8717a78bf7]
2020-10-21 07:26:14 -04:00
Sudheer Kumar 878f5f6885 [dtest] Tests for loading hip apis dynamically
SWDEV-238517 for enhancing hip unit tests

Change-Id: I9b6ef41db2f02ee3679360d0fae709a404a0ea4f


[ROCm/clr commit: f9d3e5a7be]
2020-10-21 02:49:49 -04:00
Yaxun (Sam) Liu 096e951dae 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/clr commit: 4c4fff6b51]
2020-10-14 10:15:44 -04:00
Lakhan singh Thakur 21fa1d0f75 [dtest] Adding Test case for hipFuncSetSharedMemConfig() and hipFuncSetAttribute()
SWDEV-251504 - QA task for validation

Change-Id: I11ed98f648352cb32161c41290516c77231236bc


[ROCm/clr commit: 04b773471b]
2020-10-13 11:11:00 -04:00
Rupam Chetia 07c5bbbf6c [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/clr commit: 4f48154f46]
2020-10-13 11:10:11 -04:00
Julia Jiang 427cb5bf4c SWDEV-249487-remove two HCC related APIs
Change-Id: Icf90ece0808643e0c5f0cc00b6644d5171b553d8


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


[ROCm/clr commit: 7d67573a4f]
2020-10-12 06:04:14 -04:00
Tao Sang f1cc6bef64 Revert "Make directed_test support static libs"
This reverts commit a47392be9b.

Reason for revert: <INSERT REASONING HERE>

Change-Id: Ib2d1084ea21461f70f96f95c6025a08f88288357


[ROCm/clr commit: 0d1cf31eb1]
2020-10-12 00:01:13 -04:00
Tao Sang a47392be9b 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/clr commit: 36c5679efc]
2020-10-08 22:46:58 -04:00
Jason Tang b196722b7f Add hipStreamSynchronize to hipModuleLoadDataMultThreadOnMultGPU test
hipStreamDestroy() by definition doesn't guarantee waiting for all stream operations.

Change-Id: Ibfd21c48d71741ebcbcb9898c8b5ac235bdc570b


[ROCm/clr commit: f2c2fd3d09]
2020-10-08 11:06:39 -04:00
German Andryeyev d97ee5d52a Use more managed memory interfaces
Add extra API calls for managed memory: hipMemAdvise, hipMemPrefetchAsync,
hipMemRangeGetAttribute

Change-Id: Ifb09744acdf7582d278453707373c89c30e3ed03


[ROCm/clr commit: 4ee6d78763]
2020-10-07 16:45:25 -04:00
sumanthtg ceb9b66602 [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/clr commit: 00d46218b7]
2020-10-07 13:20:12 -04:00
sumanthtg 754936e9e9 [dtest] Additional tests for hipOccupancyMax APIs
Additional tests for following APIs
- hipOccupancyMaxActiveBlocksPerMultiprocessor
- hipOccupancyMaxPotentialBlockSize

SWDEV-238517 for enhancing hip unit tests

Change-Id: Ib9441c1366f46a082e10eb1a572bc7d8ebe1ee37


[ROCm/clr commit: 4eb65d58dd]
2020-10-07 13:19:06 -04:00
Sarbojit Sarkar 8587ec2976 SWDEV:253548 : remove gfx-arch macros
Change-Id: I1ef0b4e080c15a9c6228f48ecd6a65b134d0a72d


[ROCm/clr commit: 3f0e33adb5]
2020-10-06 01:15:58 -04:00
Vladislav Sytchenko 7b635ae18c Revert "Revert "Merge branch 'amd-master-next' into amd-npi-next""
This reverts commit 0627e8783b.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I92ceb171e31026ed1864704cef2fc1497b883ef9


[ROCm/clr commit: d5aa0f607d]
2020-10-05 13:20:58 -04:00
Vladislav Sytchenko 0627e8783b Revert "Merge branch 'amd-master-next' into amd-npi-next"
This reverts commit 6c6299acb2.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I53322718dadde2c98f96140b8e260ec7ee9ef721


[ROCm/clr commit: 9142674ef0]
2020-10-05 13:02:39 -04:00
Vladislav Sytchenko 6c6299acb2 Merge branch 'amd-master-next' into amd-npi-next
Change-Id: I0587f67e28cec51c2ae753e986d2c7ce21db271e


[ROCm/clr commit: d7c02619d6]
2020-10-05 09:51:06 -04:00
mshivama d3bcef604a 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/clr commit: 9c86cdb89d]
2020-10-02 13:39:10 -04:00
Aryan Salmanpour e9ed860cc1 enable building cooperative directed tests on NV platform
Change-Id: I9a658b28010176d4f9401010b9c4b4be7ae86b92


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


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


[ROCm/clr commit: deeb37412c]
2020-09-30 01:58:22 -04:00
Lakhan singh Thakur 3ef655ac27 [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/clr commit: eedf4c68dc]
2020-09-24 10:05:21 -04:00
kjayapra-amd 26a6b8b043 SWDEV-253349 - Add a SKIP state for hip directed tests when HIP_BRINGUP_SKIP macro is used.
Change-Id: If176cf775e568d4b32982127731223fe96a38f0d


[ROCm/clr commit: a363eeb4f4]
2020-09-23 16:46:21 -04:00
Sumanth Tumbalam Gooty 28e7ffcca6 [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/clr commit: 612bfc87f2]
2020-09-23 09:20:01 -04:00
Lakhan singh Thakur ff59dfbf67 [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/clr commit: 591905915a]
2020-09-22 23:49:30 -04:00
Todd tiantuo Li 509dc959aa SWDEV-240803 - add test for hipFuncSetSharedMemConfig
Change-Id: I150b65a548ee9bf8d7e079b3db2e73958747c3a0


[ROCm/clr commit: c74cf90c7e]
2020-09-21 17:26:51 -04:00
Lakhan singh Thakur 321e5f1685 [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/clr commit: 40ca4a5ea8]
2020-09-18 11:40:16 -04:00
mkumarmi b956348413 [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/clr commit: 6491836990]
2020-09-18 04:34:00 -04:00
Vladislav Sytchenko 1f405da5a5 Merge branch 'amd-master-next' into amd-npi-next
Change-Id: I4181bbab4fc0a5ec857fe39d6148ee8b4975836d


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


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


[ROCm/clr commit: a05c0b7286]
2020-09-11 14:25:11 -04:00
Jenkins 4dd0773792 Merge 'amd-master-next' into 'amd-npi-next'
Change-Id: I88aec6ceb6b6e49caf48a0287ee2379b8ed9b296


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

Change-Id: Ic88eb2047b839adbc9e12965b098d8960cd7e2b8


[ROCm/clr commit: 99f1830ed6]
2020-09-01 15:00:49 -04:00
Rahul Garg e633304e19 Revert "[dtest] Additional tests for Memcpy"
This reverts commit 6443ff4197.

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/clr commit: f2d9d83a7c]
2020-09-01 00:48:20 -04:00
Jenkins 7e09487f54 Merge 'amd-master-next' into 'amd-npi-next'
Change-Id: I801d75dba453bcf24fe0c6f36a6489c2e470231e


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

Change-Id: I84f03a3019fce48aab63dd4cc232ea3539a1af79


[ROCm/clr commit: ba2036a60a]
2020-08-25 16:52:14 -04:00
Jenkins 88a7b6a0e6 Merge 'amd-master-next' into 'amd-npi-next'
Change-Id: I914aa748c92849f9f7ab796129a4617753d728db


[ROCm/clr commit: ee490fae12]
2020-08-25 11:10:53 -04:00
mshivama b480989b12 Support public apis for cooperative group types.
Change-Id: I01346afde485e82c34b7868b9241b34c542d0cf9


[ROCm/clr commit: bfb54cc5e9]
2020-08-25 10:50:38 +05:30
Jenkins 270947d657 Merge 'amd-master-next' into 'amd-npi-next'
Change-Id: I4d7ded0a1316a469f0880490e563c3e3f00cc970


[ROCm/clr commit: dbc0dfe399]
2020-08-20 21:09:41 +00:00
Lakhan singh Thakur 6443ff4197 [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/clr commit: becc687747]
2020-08-20 16:41:57 -04:00
Sudheer Kumar ca1b055135 [dtest] Enhanced tests for hipSetDevice and hipGetDevice
SWDEV-238517 for enhancing hip unit tests

Change-Id: I4fe169c560ce2e1fb471df67f03263903b12463b


[ROCm/clr commit: 4a110ce7ed]
2020-08-20 13:52:05 -04:00
Jenkins 1158db8bee Merge 'amd-master-next' into 'amd-npi-next'
Change-Id: I935fc8f681fad2df4e932407287a29a6a797351a


[ROCm/clr commit: e1af6830ad]
2020-08-14 09:09:52 +00:00
Aryan Salmanpour 15eaef319d [HipPerf] relocating/renaming some hip perf tests
Change-Id: Ie85d242cd68cd14a858e07ed27875a5196014688


[ROCm/clr commit: de1e14b252]
2020-08-13 17:28:11 -04:00
Aryan Salmanpour 9fa78dd816 [dtest] disable hipStreamCreateWithPriority test temporarily as it fails randomly on Jenkins
Change-Id: I4edcd555653ef8e7562245da3a6f310d60884fe0


[ROCm/clr commit: cc0f0bae74]
2020-07-30 16:18:04 -04:00
Jatin Chaudhary 6c217e7f69 Fixing/Disabling tests on nvcc path
Change-Id: I7ed4a1246943867482ff595d5f98bb25bd79074b


[ROCm/clr commit: d251c2db57]
2020-07-30 00:39:07 -04:00