Commit Graph

13526 Commits

Author SHA1 Message Date
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
Aaron En Ye Shi ff24c82f34 Fix header for OpenMP AMDGCN support
Add ifndef for __OPENMP_AMDGCN__ target, which shares
these header files with HIP.

Change-Id: I720693cfbcfb7836cd2f361d48530fb55ee3557a


[ROCm/clr commit: 01bd165507]
2020-10-20 14:04:48 -04:00
Vladislav Sytchenko 5ba1294a49 [PAL] Change free mem tracking logic to use PAL size
PAL may internally align up the allocation size to the page size
reported by KMD. This will cause a mismatch in size between OCL and PAL.

To avoid this, use PAL size when updating the free memory counter on
both alloc and free.

Change-Id: Ic6e8c861a52170476474fb70a769eef93be3261f


[ROCm/clr commit: be66e29e94]
2020-10-20 12:10:14 -04:00
kjayapra-amd 16b7ecf4ec SWDEV-250005 - Fixing error code propagation to HIP outer layer.
Change-Id: I0c0e87dbace0b1182f24411200abdfd9cab3f865


[ROCm/clr commit: c18a791c80]
2020-10-20 09:43:57 -04:00
Chauncey Hui 3658a989d3 SWDEV-2 - Change OpenCL version number from 3216 to 3217
[ROCm/clr commit: 5d6f656c3f]
2020-10-20 03:00:04 -04:00
Sarbojit Sarkar a5f78cf686 SWDEV-256325 : Fix for hipMemset2D crash
Change-Id: I1f434602fecd4fb935d2bc72f2c72d6a2d4c45fe


[ROCm/clr commit: a73d1a1fe0]
2020-10-20 02:54:29 -04:00
Rahul Garg 8605c53e75 Bump version to 4.0
Change-Id: Ia8c3b21ccd58f07c95aa3030bc787144f934f80e


[ROCm/clr commit: 3979d063a1]
2020-10-19 21:00:13 -04:00
Jason Tang 091f1e8e85 Change file mode 755 back to 644
Change-Id: I4ba5d66997ffd3331c56674d4bf805160dcdf049


[ROCm/clr commit: 25cc965c76]
2020-10-19 15:09:32 -04:00
Aaron En Ye Shi f3c39a8cfa Fix header invalid sqrt fwd decl and ifdef
The __ocml_sqrt_* functions only accept a single arg,
not two args. Also, change ifdef for if because the flag
__HCC_OR_HIP_CLANG__ is always defined.

Change-Id: Id9dc4eaf0f25df1df27a1bf643cb545ac23653f8


[ROCm/clr commit: bd9ed9ad3d]
2020-10-19 18:01:14 +00:00
Rahul Garg e7e9d74c79 Fix PCI bus domain ID query
SWDEV-256338

Change-Id: I5db361bd2899a5bf761ecf05ecd4635f9e3dce1d


[ROCm/clr commit: 4b7c8f5fc1]
2020-10-19 12:02:50 -04:00
Tao Sang 6c7b785a53 Fix ocltst test issue
Fix dumpImage() issue exposed on Win10.
It's called by internal compiler on Navi14

Change-Id: I693ffd45b6b03657822afdc872781901bc69b65d


[ROCm/clr commit: b74d120627]
2020-10-18 22:10:59 -04:00
Chauncey Hui 48aabb82bf SWDEV-2 - Change OpenCL version number from 3215 to 3216
[ROCm/clr commit: 5c1b96c844]
2020-10-17 03:00:04 -04:00
German Andryeyev 9f4f72faef Upgrade PAL interface version to 632
Change-Id: I1b8b936cc9bc59ff80296cc6bf5137c3af398c5d


[ROCm/clr commit: cb4e6bd264]
2020-10-16 13:12:16 -04:00
Sourabh Betigeri 04b5141029 SWDEV-254134: Added new perf test - Vector Dot product in performance/compute
Change-Id: Ic2900fe9a1b6b197cdc8c2dd0f93723a8f73f14c


[ROCm/clr commit: 7513454a28]
2020-10-16 13:07:13 -04:00
Reshabh Sharma 202d12ae03 SWDEV-253557 Strip debug symbols for release builds
Change-Id: I4f75a0c08020ecd76e1eec159f266cd1f754af92


[ROCm/clr commit: 255c168ad7]
2020-10-16 16:10:51 +05:30
Reshabh kumar Sharma 6b51a4e16a Revert "SWDEV-253557 Strip debug symbols for release builds"
This reverts commit 78e8224ad3.

Reason for revert: Breaks mainline build

Change-Id: Ia1fc5e5723ec688d47544cc26127b680fad59b58


[ROCm/clr commit: 3997b03026]
2020-10-16 04:03:07 -04:00
Chauncey Hui f98b217573 SWDEV-2 - Change OpenCL version number from 3214 to 3215
[ROCm/clr commit: f28b011746]
2020-10-16 03:00:03 -04:00
Reshabh Sharma 78e8224ad3 SWDEV-253557 Strip debug symbols for release builds
Change-Id: I50032cb6aae7b1ed1a95c8e84fa8ce5cce476570


[ROCm/clr commit: 4c15a8f190]
2020-10-15 23:41:27 -04:00
German Andryeyev ff4819a791 Reduce the number of allocated signals
Enable this optimization when the barrier is disabled, since
reuse requires a signal wait.
Use the size of pending AQL signals as the size of signal pool.

Change-Id: I2754a0f8b67e19d2601c58945e10fdf0e8be1624


[ROCm/clr commit: a5661192b6]
2020-10-15 16:39:33 -04:00
Alex Xie 23a7abc8e8 SWDEV-251360 - Add tracing for memory allocation/free.
This can be used to debug VM fault

Change-Id: I7685485b0450ea84d10b710639ad7b6c5ec2fcf3


[ROCm/clr commit: e4e6c46356]
2020-10-15 15:38:55 -04:00
Rahul Garg 7b0edf7aa0 Fix PCI bus domain ID
SWDEV-256338

Change-Id: I09afdca4f1a08f99ce662a4c4ed8a51d85500699


[ROCm/clr commit: a224dc2a7b]
2020-10-15 14:59:57 -04:00
Chauncey Hui 99c1c2ba89 SWDEV-2 - Change OpenCL version number from 3213 to 3214
[ROCm/clr commit: f714bbffc1]
2020-10-15 03:00:04 -04:00
Rahul Garg c829e74be7 Revert "SWDEV-253557 Strip shared lib for release builds"
Fixes SWDEV-256563 - Mainline build breaking issue.

This reverts commit fe7bf0e7e5.

Reason for revert: <INSERT REASONING HERE>

Change-Id: Ib2e9ef362dc7dece9f4bbe7611b4be45087aa18e


[ROCm/clr commit: 6d9ceed2f4]
2020-10-14 17:53:04 -04:00
Rahul Garg b5abdead82 Fix maxTexture1D query
Needed by SWDEV-254068

Change-Id: Ib43a3e5e96d3882af354208063e5502673c0f35a


[ROCm/clr commit: cc1101f97a]
2020-10-14 17:32:04 -04:00
Rahul Garg 40b90694c6 Add image1DMaxWidth_ for maxTexture1D property
Needed by SWDEV-254068

Change-Id: Ic650dfb6e5b38d7544ba647c53de52deda39b92d


[ROCm/clr commit: c0f8b52f06]
2020-10-14 17:30:43 -04:00
Vladislav Sytchenko 36c8902ed8 [PAL] Allow more heaps for non-SVM suballocations
On ReBar systems the invible heap is not present, so in theory we should
fail creating the suballocation chunk, however PAL doesn't report any
errors.

To make sure we never fail, allow creating the allocation in the visible
heap and system memory.

Change-Id: Iea9cc68d98b9cb396a2b7a37398b98b66274083b


[ROCm/clr commit: 330b674821]
2020-10-14 16:56:12 -04:00
Vladislav Sytchenko 3e6989c1c2 [PAL] Allow for embedding debug info into IBs
Change-Id: I4473b9c5aa36370d9af37f22a78f4414eaa21e01


[ROCm/clr commit: 2ec5a47c88]
2020-10-14 15:54:48 -04:00