Commit Graph

13402 Commits

Author SHA1 Message Date
Chauncey Hui 5300814506 SWDEV-2 - Change OpenCL version number from 3227 to 3228
[ROCm/clr commit: a77b718fc9]
2020-11-14 03:00:03 -05:00
Vladislav Sytchenko f8d007fadb [PAL] Navi23 support
Change-Id: I10bb0653746060bd83ca7feda10fdafc07ced845


[ROCm/clr commit: 026baec57b]
2020-11-13 15:08:04 -05:00
Tao Sang f3b3c0ba9c Remove unnecessary stuff from hip cmakefile
Remove the following from hip cmakefile,
1.find_package cmds of hsa-runtime64 and amd_comgr;
2.macros of USE_COMGR_LIBRARY and COMGR_DYN_DLL
because they have already been used in Rocclr cmakefile.
cmake mechanism will make hip cmakefile inherite them.

Change-Id: I03b527fc4135c79bb35cbbfe419211ec363cb067


[ROCm/clr commit: 10f4918d97]
2020-11-13 15:01:32 -05:00
Vladislav Sytchenko 77660d1ae9 [PAL] Navi22 support
Change-Id: I9f1741898b4afaa0e787d8053d8f006ee3d17017


[ROCm/clr commit: 5e60e06a50]
2020-11-13 15:00:57 -05:00
Vladislav Sytchenko 8f87022fde [PAL] Report actual HW limits for max image buffer size
Change-Id: I62aa3f1e9709b91ba223af0abf8bf6395fe8ec59


[ROCm/clr commit: 353a018bce]
2020-11-13 14:59:50 -05:00
German Andryeyev a7adace36e Add direct dispatch simple hack for testing
The hack dosn't really track the commands status. It may be not
necessary for HIP, but will cause early resource release.

Change-Id: I791ad36dd8abd3b6b3d2c9b16a210a555c08ca64


[ROCm/clr commit: 532f0ae951]
2020-11-13 10:36:23 -05:00
Jason Tang f4c4323f8e SWDEV-260376 - [PAL] Fix Windows build
Change-Id: I788198b5980a46981de4b2e7aaa6a495e6e98cad


[ROCm/clr commit: 2ee2392f63]
2020-11-13 09:51:43 -05:00
Chauncey Hui 3896293999 SWDEV-2 - Change OpenCL version number from 3226 to 3227
[ROCm/clr commit: ec8eb12c1b]
2020-11-13 03:00:03 -05:00
Sarbojit Sarkar 91220c7146 SWDEV-258573 : fix for OCLP2PBuffer test failure
Change-Id: I363d4fb2bb94d9bc03e96844d31dec7ef9b2ce33


[ROCm/clr commit: 099f8d61dd]
2020-11-13 02:25:53 -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
agodavar 4bb6e01ea3 SWDEV-249870: Generate Pre-Compiled Headers from includes in source repo for Online Compilation
Change-Id: I663f510603e983927f80f7944df4d039ba7bc0b0


[ROCm/clr commit: 9ef681a618]
2020-11-12 10:50:33 -05:00
Jason Tang 3322d2c663 SWDEV-260376 - [PAL] Use Pal::AsicRevision to match device
A device's offset in Pal::AsicRevision could be changed from time to time, while the current implementation assume the offset never changes.

Change-Id: Id993512aa0da6e0b2356f594d5e58f76d1f97f16


[ROCm/clr commit: b1d75637bd]
2020-11-12 09:49:48 -05:00
Chauncey Hui 28fbcf2c00 SWDEV-2 - Change OpenCL version number from 3225 to 3226
[ROCm/clr commit: 415c3075c7]
2020-11-12 03:00:08 -05:00
jujiang db2ee483a0 SWDEV-259096-update rocclr readme
Change-Id: Ied0cca5ce3e8f81b85e5c01839520d7c31ac3e07


[ROCm/clr commit: 92a7c26f96]
2020-11-11 16:30:26 -05:00
jujiang 37a2c6c86d SWDEV-259096-update HIP documents
Change-Id: I78294ca55649634ef9eff5c4e38636cb17f5e640


[ROCm/clr commit: f2d68da7c4]
2020-11-11 16:29:52 -05:00
Julia Jiang 79807462cb SWDEV-249486-re-organize doxygen HIP API
Change-Id: I3d107de526e428ae16c6dffd97d9388bf54a6358


[ROCm/clr commit: eacb30afcd]
2020-11-11 13:31:56 -05:00
German Andryeyev 0cdff99dd0 Add an early exit if it's a null stream wait
Change-Id: I577f5da2f928bff172d64d511a60e08eda28c81d


[ROCm/clr commit: d4e642203c]
2020-11-11 13:20:04 -05:00
German Andryeyev f4e62df4cf Add SPM support for RGP
RGP protocol supports SPM collection. Enable it in the PAL backend.

Change-Id: I0fa17334addad037ba6689d11fff0993f7899e66


[ROCm/clr commit: 234a94f838]
2020-11-11 13:10:23 -05:00
Chauncey Hui e24333b132 SWDEV-2 - Change OpenCL version number from 3224 to 3225
[ROCm/clr commit: 11f79812e1]
2020-11-11 03:00:04 -05:00
Konstantin Zhuravlyov 1b1b2998ad SWDEV-198415 - Implement Target ID Proposal
Changes from Jatin Chaudhary, Tony Tye

Change-Id: I14904920ad2356ae2098cf827b83613089d33962


[ROCm/clr commit: 73fb01cb3a]
2020-11-10 13:31:43 -05:00
Konstantin Zhuravlyov 29cce17291 SWDEV-198415 - Implement Target ID Proposal
Changes from Jason Tang, Tony Tye

Change-Id: Idb9b6923f12dfb61a5773c9aa3d3fbeb1327ec47


[ROCm/clr commit: ee6b0d9294]
2020-11-10 13:22:58 -05:00
Jason Tang 4fc5f10159 SWDEV-256292 - Fix build failure when using lightning to build
clang complains there are multiple definitions of ret_val

Change-Id: I949af23e0658b28b339b378c9c0e4681d83d5f5a


[ROCm/clr commit: ee2e91912b]
2020-11-09 11:39:03 -05:00
Chauncey Hui bbdbe22f6e SWDEV-2 - Change OpenCL version number from 3223 to 3224
[ROCm/clr commit: 115d5ccfd5]
2020-11-04 03:00:06 -05:00
Alex Xie 4029485d75 SWDEV-258132 [LNX][Navi23] Segmentation fault when run clinfo
Change-Id: Ic8833726214b32f70a35f3922baf2afae87b25af


[ROCm/clr commit: f5ce682ac3]
2020-11-03 14:40:31 -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
Chauncey Hui b6b4658f63 SWDEV-2 - Change OpenCL version number from 3222 to 3223
[ROCm/clr commit: 137c61d20c]
2020-11-03 03:00:04 -05:00
Sourabh Betigeri 69b62789fb SWDEV-255694: Include attributes - hipFuncAttributePreferredSharedMemoryCarveout and hipFuncAttributeMaxDynamicSharedMemorySize
Change-Id: I3569859e6db0c59a10a76c8ea356d4bc0a0bb906


[ROCm/clr commit: b0664a0087]
2020-11-02 19:39:39 -05:00
agodavar 1ea3bf0225 Fix building of tests on nvidia GPU
Change-Id: I02b527ec4135c79bb35cbbfe419211ec363cb065


[ROCm/clr commit: c7aa311537]
2020-11-02 09:42:28 -05:00
Tao Sang 9f389ab51d Fix wrong include path
Fix wrong include path of ROCclrConfig.cmake.in

Change-Id: Ic5a1387a426cf02a985a4ef8ff8ff15e6a871cbb


[ROCm/clr commit: ce4cc6095c]
2020-10-30 18:19:34 -04:00
Alex Xie 86eae09771 SWDEV-254386 [Navi 2x] Add Navi IDs to ocltst test
Cherry pick from npi branch.

Change-Id: I4e72c5477d7e0ebb454d651d1f84866ce4d27ee5


[ROCm/clr commit: ebd1a4a150]
2020-10-27 16:00:45 -04:00
Chauncey Hui 12375f271b SWDEV-2 - Change OpenCL version number from 3221 to 3222
[ROCm/clr commit: a253c82430]
2020-10-27 03:00:02 -04:00
Tao Sang 33d212d09a Fix crash in delete of TempWrapper
OCLTST crashing at oclruntime.OCLKernelBinary for
Tahiti because of deleting on pointer vector which
is however a single pointer. The fix will correct
the wrong deleting in TempWrapper destructor.

Change-Id: Ic5a1387a426c102b085a4ef8ff8ff05e6a870cba


[ROCm/clr commit: 6a6faf1d58]
2020-10-26 16:04:39 -04: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
Jason Tang 50138a93a3 Add CommandKindString to the log
Change-Id: Ie23123a85cff82b1732da85f5bffbff6958c02e5


[ROCm/clr commit: d943cae31f]
2020-10-26 09:16:03 -04:00
Jason Tang 649f1872d9 SWDEV-254181 - Fix ocl min_max_image_buffer_size regression.
ROCr is now reporting the actual HW addressing limits for HIP, so OpenCL will have to impose lower limit.

Change-Id: I60c2ce27ed1d1f45f16fb76438965a236ba872c6


[ROCm/clr commit: 1da0fe4263]
2020-10-26 09:15:31 -04:00
Chauncey Hui ca26bad1f9 SWDEV-2 - Change OpenCL version number from 3220 to 3221
[ROCm/clr commit: e558ef48be]
2020-10-24 03:00:03 -04:00
German Andryeyev 7df8e0bcb3 Correct reported info in ROC profiler
OCL can't distinguish different copy types, but ROC profiler
expects SDMA transfer visibility. Add extra code to detect
a transfer with the host memory and substitute OCL command

Change-Id: I5290acd0e10bc082e00c1d4ae1474a075de7f165


[ROCm/clr commit: bd340d8cbf]
2020-10-23 18:29:48 -04:00
German Andryeyev 321f0964fc Update documentation
Add managed memory section for the doxygen documentation.
No code changes.

Change-Id: I2e9db4ec13422159e265193916f0a3cdb721732d


[ROCm/clr commit: ae8aec4834]
2020-10-23 18:28:43 -04:00
Chauncey Hui fa49d38869 SWDEV-2 - Change OpenCL version number from 3219 to 3220
[ROCm/clr commit: 17d2e5cf56]
2020-10-23 03:00:03 -04:00
Rahul Garg 60f4e26c45 Fix performance tests for OSDB failures
SWDEV-257745- [ROCm CI][mainline] hiprocclrtests broken on OSDB - vg20 and mi100

Change-Id: I36b4ace7e8c2673809c4b0be569250e8f9b06da8


[ROCm/clr commit: 9252b3a3d9]
2020-10-23 00:48:08 +00:00
Evgeny 97a3bcd055 SWDEV-249623 : vdi: case string for marker activity
Change-Id: Id1767a5f33d821d649e15f4659e3520ee215c374


[ROCm/clr commit: 6f88bf5eac]
2020-10-22 04:04:00 -04:00
Chauncey Hui 0e06b19edd SWDEV-2 - Change OpenCL version number from 3218 to 3219
[ROCm/clr commit: 28f71a682d]
2020-10-22 03:00:04 -04:00
Alex Xie 5f908ad056 SWDEV-256126 - Linux pro Nuke app crash with "Out of memory "while running Rip plugin test
We unmap a memory with a different pointer.
ROCr runtime might be confused and silently ignore the unmap request

Change-Id: Ic5a1387a426cf02a985a4ef8ff8ff05e6a870cbf


[ROCm/clr commit: e5588f188c]
2020-10-21 11:33:42 -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
Chauncey Hui 25dadb44ff SWDEV-2 - Change OpenCL version number from 3217 to 3218
[ROCm/clr commit: cb9684ab0b]
2020-10-21 03:00:07 -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
Rahul Garg 22fb358b02 Add MemoryMapFileTruncated function
Change-Id: I26d2a9fbac668cbac284bdfad0d7912db521dc70


[ROCm/clr commit: 5ff3010e1b]
2020-10-20 20:25:27 -04:00
Sourabh Betigeri 19f45f83f3 SWDEV-251091: Added null checks and empty file check in hip_module and hip_platform
Change-Id: Iad99f996dcf90ffb86f62e79bf4cbd53b35b7e3b


[ROCm/clr commit: b65314d168]
2020-10-20 19:55:01 -04:00
Payam e37d37fb26 Cleaning lintian warning SWDEV-247996 Part2
Change-Id: I40eb29b8c2588acac0cd3ae6d96b14fb1abd2350


[ROCm/clr commit: 4e96bfecd5]
2020-10-20 19:27:38 -04:00