Alex Xie
5bb213cc2b
SWDEV-256126 - Linux pro Nuke app crash with "Out of memory"
...
Out of memory while running RIP plugin test
Change-Id: I8d6859a45b871f96ac027f8c7274f716e8524a3c
[ROCm/clr commit: 2505d68eba ]
2020-12-10 11:44:54 -05:00
Saleel Kudchadker
8cbd77b644
Fix event reporting for AMD_DIRECT_DISPATCH
...
Change-Id: I2ff74b9470da976852228c30fefbd4abd8e1952b
[ROCm/clr commit: d0c35f1c40 ]
2020-12-09 15:09:41 -05:00
German Andryeyev
b301590fb9
Fix a deadlock in ROCr backend
...
When OCL ROCr backend performs CL_MEM_COPY_HOST_PTR it may attempt
to have access to amd::Memory object it's currently creating,
but it's not ready yet. The logic creates a temporary dummy object
to perform a copy transfer. The new change will make sure runtime
skips allocation of the same device::Memory object second time.
Change-Id: I14c6a00a3941fdcaa6aea299e9f096e4c3f5cadf
[ROCm/clr commit: 1fde842703 ]
2020-12-09 13:23:17 -05:00
Sarbojit Sarkar
caa75dd35f
[SWDEV-259635] explicit allow_access for hipMemcpy2D
...
Change-Id: Ia3206c08f92f417dc486c5f0dd40474f77b473d9
[ROCm/clr commit: f403b1c079 ]
2020-12-09 01:09:53 -05:00
Chauncey Hui
e478d28001
SWDEV-2 - Change OpenCL version number from 3239 to 3240
...
[ROCm/clr commit: 16c7f12078 ]
2020-12-08 03:00:03 -05:00
Jason Tang
b2fb014e19
SWDEV-263435 - Get code object version the correct way
...
Change-Id: I18877c116e2f013ec9d04411258c0df8cc0159b3
[ROCm/clr commit: b9520ce4cd ]
2020-12-05 15:51:26 -05:00
Chauncey Hui
1365472339
SWDEV-2 - Change OpenCL version number from 3238 to 3239
...
[ROCm/clr commit: 5ce07e24d5 ]
2020-12-05 03:00:03 -05:00
German Andryeyev
2813579db6
Add batch tracking for direct dispatch
...
Make sure the logic updates the command status when it's done in
HW, but not on submission.
Add the last command tracking, otherwise queue sync logic in the HIP
upper layer may skip synchronization, assuming the queue is empty.
Change-Id: I2d046792553e74df090a10f7d7a78914610f6df2
[ROCm/clr commit: 5b31c69a95 ]
2020-12-04 10:16:17 -05:00
Chauncey Hui
59b1799f1e
SWDEV-2 - Change OpenCL version number from 3237 to 3238
...
[ROCm/clr commit: b334911a58 ]
2020-12-04 03:00:03 -05:00
Saleel Kudchadker
1410f002f3
Use barrier packets for event profiling
...
Use barrier packets for every profile marker that gets submitted
and use the completion signal to get GPU ts. This gives most accurate
dispatch time. Club cache flushes with profile marker if there is a
pending dispatch that needs cache flush. This optimization saves on
extra barrier and helps wall time
Change-Id: Ib62d6d7aabf4743827b561be6c9c5afa813203da
[ROCm/clr commit: 59c6cb0268 ]
2020-12-03 13:45:14 -05:00
Chauncey Hui
882c0d99ec
SWDEV-2 - Change OpenCL version number from 3236 to 3237
...
[ROCm/clr commit: 36c328842f ]
2020-12-03 03:00:04 -05:00
Jason Tang
d47db14a32
SWDEV-260632 - [PAL] Report correct Target ID
...
Change-Id: Ia39395e2c02e7c95b3df93be1f8030b4fa734583
[ROCm/clr commit: 054f256589 ]
2020-12-01 18:33:25 -05:00
Chauncey Hui
55a8b68440
SWDEV-2 - Change OpenCL version number from 3235 to 3236
...
[ROCm/clr commit: e13577cc61 ]
2020-12-01 03:00:03 -05:00
German Andryeyev
9c462f9a6d
Disable worker thread creation for direct dispatch
...
Change-Id: I28f08ab9352310c9bf843fcb803a48f95ddf4676
[ROCm/clr commit: e4f51e063b ]
2020-11-30 17:50:12 -05:00
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