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

4055 Коммитов

Автор SHA1 Сообщение Дата
German Andryeyev 2af039f994 Enable GPU memory in HMM by default
Change-Id: Ifec4733dc7a932163d921ebe1ae9fbd594ea1ef2


[ROCm/clr commit: 4af8b53846]
2020-11-30 12:39:18 -05:00
German Andryeyev 8014e4c7bc Remove obsolete terminate() method
Change-Id: I66b4a74f17977f1af320f402402a2f1b602e9911


[ROCm/clr commit: 08b846ae12]
2020-11-30 11:46:09 -05:00
Chauncey Hui b8cc056b17 SWDEV-2 - Change OpenCL version number from 3234 to 3235
[ROCm/clr commit: 00832fe573]
2020-11-28 03:00:04 -05:00
Jason Tang 802e44e9d0 Make the Target ID ELF definition only visible to HIP
Change-Id: I5a87bed806239839156cc4af56d339bfdefc90c6


[ROCm/clr commit: 87762850d3]
2020-11-26 18:17:46 -05:00
Chauncey Hui 0085c929f3 SWDEV-2 - Change OpenCL version number from 3233 to 3234
[ROCm/clr commit: 1891cdf86d]
2020-11-25 03:00:04 -05:00
Jason Tang a0dfb527d6 SWDEV-260632 - [PAL] Use new Target ID format
Change-Id: Icd2d95b9c3f5adbd295fb2272bf453ccb9f09678


[ROCm/clr commit: 0c62d3bf1c]
2020-11-24 17:38:13 -05:00
Alex Xie 2a6c8ecb60 SWDEV-258808 - OCLSeparateCompile subtest of oclcompiler error
[PAL to KFD/ROCr][ROCr_Runtime][Vega10] OCLSeparateCompile subtest of
oclcompiler from ocltst test package is encountering clLinkProgram()
failed (chksum 0x00000001) error

If runtime does not provide a file name as dump file to ELF library,
ELF library use a temp file in current folder.
The current folder can be not writable for several reasons:
1. The application current folder might be system folder, the user
  does not have write permission.
2. The current folder is under a readonly file system. This happens for
embedded customers.

Tested in VEGA10. Issue was fixed.

Change-Id: Ic0e9f040b7c7583914301673cce237ab28b0c0cb


[ROCm/clr commit: 6327dbc4cc]
2020-11-24 15:08:12 -05:00
Chauncey Hui 46c95229d0 SWDEV-2 - Change OpenCL version number from 3232 to 3233
[ROCm/clr commit: 7c7e36dd44]
2020-11-24 03:00:04 -05:00
Tony 8e1b19fb19 Add additional targets
Add:

- gfx602
- gfx705
- gfx805
- gfx90c
- gfx1032
- gfx1033

Change-Id: Idfe7d42bacd133413ac3ffd058b7ff9d298677e2


[ROCm/clr commit: 4f8067beab]
2020-11-23 20:00:01 +00:00
Aryan Salmanpour 265afae619 don't update maxComputeUnits_ if any exception occurs during conversion of global CU mask string
Change-Id: I7664809fe84d7422b18b1272ffeb642e03a39f1a


[ROCm/clr commit: 72277c29b0]
2020-11-23 09:51:19 -05:00
Chauncey Hui df7f58d43d SWDEV-2 - Change OpenCL version number from 3231 to 3232
[ROCm/clr commit: 81e22bf4b7]
2020-11-22 03:00:03 -05:00
Jason Tang fdf6d8f1d2 SWDEV-260632 - [PAL] Simplify NullDevice::init()
Change-Id: I9d44162f38806e3742c18da48e382baafeb7060f


[ROCm/clr commit: 3351b9c993]
2020-11-21 10:00:35 -05:00
Chauncey Hui 572fb3b582 SWDEV-2 - Change OpenCL version number from 3230 to 3231
[ROCm/clr commit: 044bc684e6]
2020-11-21 03:00:03 -05:00
Aryan Salmanpour e8c7cf569f Add an environment variable for setting a global CU mask
Change-Id: I773b152023c7b8e1e679a42015748f9b23fd946d


[ROCm/clr commit: d03ee6eff6]
2020-11-20 10:05:09 -05:00
Chauncey Hui a1bf89f8d7 SWDEV-2 - Change OpenCL version number from 3229 to 3230
[ROCm/clr commit: 393e118b91]
2020-11-19 03:00:04 -05:00
Vladislav Sytchenko e6b6308e0b [PAL] Force large buffer mappings to use pinned memory
PAL doesn't perform chunking for system memory allocations, hence we
should fall back to using pinned memory for mapping large buffers.

Change-Id: I1b472616b72d12ed0105fb65532acacdb98ac7b3


[ROCm/clr commit: b4e212a0f9]
2020-11-18 17:12:32 -05:00
German Andryeyev 6a6549e474 Add image view allocation
If deferred allocation is disabled, then make sure the image view
is created without a delay. Also reset the allocation state, since
create() method isn't called for a view creation.

Change-Id: I7aa22a62bff18289ade83e56b5d3305ba68c715b


[ROCm/clr commit: 089a5cc4ad]
2020-11-18 09:37:30 -05:00
Chauncey Hui 860733c02d SWDEV-2 - Change OpenCL version number from 3228 to 3229
[ROCm/clr commit: ec22c54d85]
2020-11-18 03:00:08 -05:00
Vladislav Sytchenko b33dd902e8 Disable branch-fold optimization temporarily for some Adobe apps
Change-Id: I8b4af4decb6b3ba4b856167ffb0ae8200b21a835


[ROCm/clr commit: ec130a5a28]
2020-11-17 12:51:33 -05:00
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
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
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
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 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
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
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
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
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
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
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
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
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
Rahul Garg 22fb358b02 Add MemoryMapFileTruncated function
Change-Id: I26d2a9fbac668cbac284bdfad0d7912db521dc70


[ROCm/clr commit: 5ff3010e1b]
2020-10-20 20:25:27 -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