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

4611 Коммитов

Автор SHA1 Сообщение Дата
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
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
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
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
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
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 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
Reshabh Sharma fe7bf0e7e5 SWDEV-253557 Strip shared lib for release builds
Change-Id: I79608406b3295c762a3781abd455bd63e6893dd4


[ROCm/clr commit: eac709a8a9]
2020-10-14 10:50:07 -04:00
Jason Tang 40e6b4c685 SWDEV-252150 - No need to send a Marker if the event is completed in Event::notifyCmdQueue()
Change-Id: Iaa1c550ce0849c12298a24812604345dbf877a5e


[ROCm/clr commit: c5184d61b4]
2020-10-14 09:29:24 -04:00
Jason Tang 7457150c80 Add COMGR_DYN_DLL to device/rocm/CMakeLists.txt
Now rocm/rocdevice.cpp also includes comgrctx.hpp, and we don't want to statically link against comgr when buidling shared libs.

Change-Id: Ic330bd860559b3e07b776c951afe6126b0f43f7d


[ROCm/clr commit: b38317cb3c]
2020-10-14 09:28:37 -04:00
Chauncey Hui e458cd774d SWDEV-2 - Change OpenCL version number from 3212 to 3213
[ROCm/clr commit: a00981128a]
2020-10-14 03:00:02 -04:00
Vladislav Sytchenko fcae92ce47 [PAL] Allow overriding reported asic revision
This is helpfull to do when debugging issues on lowend asics. Navi14 can be emulated as Navi10. So can Navi22 be emulated as Navi21.

Change-Id: I693ffd45a5b03657822afdc872781901bc69b65c


[ROCm/clr commit: 26d1b28b16]
2020-10-13 09:36:15 -04:00
agodavar 0914a414db SWDEV-254185 : hiprtc headers - handle empty headerIncludeNames
Change-Id: Ie06278c18b62cef1bdfbb8ac82728ed5667b2047


[ROCm/clr commit: 92f1ce41dc]
2020-10-13 09:23:43 -04:00
German Andryeyev 2b3377b0bc Add ROCr queries for HMM support
Change-Id: I2b5508bf0faf8f48dd7348d6a5202fb28de09876


[ROCm/clr commit: c05de4f2f9]
2020-10-13 09:12:00 -04:00
Chauncey Hui 1c84317ddf SWDEV-2 - Change OpenCL version number from 3211 to 3212
[ROCm/clr commit: 2a5f1ccadf]
2020-10-13 03:00:03 -04:00
agodavar 6dddb8ffac SWDEV-254185 - Added support to pass include headers to hipRTC
Change-Id: Ic7f2957b04e518c57e2fd3fc9d839de07232405e


[ROCm/clr commit: ac72e50adc]
2020-10-12 03:46:04 -04:00
Chauncey Hui 4c8d5a2d97 SWDEV-2 - Change OpenCL version number from 3210 to 3211
[ROCm/clr commit: 2810b8f367]
2020-10-10 03:00:03 -04:00
Vladislav Sytchenko 1d35a5a69b [PAL] Skip extra calls to MakeResident
With the PAL_ALWAYS_RESIDENT flag memory objects are resident at allocation time, no need to make them resident again before submit.

Also we should never evict anything with this setting, or we'll generate a VM fault.

Change-Id: Ieacc6af88ab4e09c20efd94100e148b2502e1d70


[ROCm/clr commit: fd09a7a23c]
2020-10-09 14:13:32 -04:00
Chauncey Hui f4da930e7e SWDEV-2 - Change OpenCL version number from 3209 to 3210
[ROCm/clr commit: 099dbb7f13]
2020-10-07 03:00:03 -04:00
German Andryeyev 2c21a44b40 Add option to skip AQL barrier
The change reuses HSA signals for dispatches as a wait signal.
Skipping the barrier requires to  disable L2 cache for sysmem
allocations and extra tracking for HDP access with the large bar.
ROC_BARRIER_SYNC=0 activates the new logic. Barrier sync is
still used by default.
ROC_ACTIVE_WAIT=1 enables unconditional active wait in ROCr.
The change also consolidated ROCr wait logic under single function.

Change-Id: I6bd1be30aa88258da1b1f9de319ef5a45852afd8


[ROCm/clr commit: d9397590de]
2020-10-06 08:37:12 -04:00
Sarbojit Sarkar 70d71642d2 [perf]hipMalloc performance optimization
Change-Id: I6e8a918cc1c4cafad197b09e10755cd180e11ead


[ROCm/clr commit: 4a025e1a87]
2020-10-06 03:19:41 -04:00
Sarbojit Sarkar ed1828ea72 SWDEV-253548 : clean up gfx-arch macros
Change-Id: I8deb2ea44f556260bb78d24f68b04b0c730ed4d8


[ROCm/clr commit: 8ab8fac173]
2020-10-06 03:17:09 -04:00
Chauncey Hui cf248c7b3b SWDEV-2 - Change OpenCL version number from 3208 to 3209
[ROCm/clr commit: c7f03dae75]
2020-10-06 03:00:02 -04:00
German Andryeyev 7229c259ca Add support for CPU device in advise
Change-Id: I7250e0183580c14cd3d6050ef85f9ce26e36f4a8


[ROCm/clr commit: df63547906]
2020-10-05 12:52:46 -04:00
Tao Sang 9e61c14aeb Fix empty cpu agent on raven system
Change-Id: I30f5e65367613152ce96b80b13e1c9f2a28da807


[ROCm/clr commit: bc7291e85c]
2020-10-05 10:54:57 -04:00
Chauncey Hui b382720fc0 SWDEV-2 - Change OpenCL version number from 3207 to 3208
[ROCm/clr commit: 65b88ba364]
2020-10-03 03:00:03 -04:00
Vladislav Sytchenko 2acef41e2c [PAL] Add entry for unannounced device
Change-Id: I323f240068ee1eff6981e69b7a2837f06157e44b


[ROCm/clr commit: f26bb1d76d]
2020-10-02 13:52:25 -04:00
Vladislav Sytchenko 622d3f286c [PAL] Detect if resizable bar is enabled
Change-Id: I54b2e878d1cf7235a848a4b243f878538e226702


[ROCm/clr commit: 11bdf0005f]
2020-10-02 12:25:00 -04:00
Chauncey Hui a893673fd7 SWDEV-2 - Change OpenCL version number from 3206 to 3207
[ROCm/clr commit: 189ec6f794]
2020-10-02 03:00:03 -04:00
German Andryeyev 7959329169 Revert "Reduce the default size of the signal pool"
This reverts commit 6e0c211730.

Reason for revert: a regression

Change-Id: I78180ba011f45af9a4cce110b14f379aa10f7d3a


[ROCm/clr commit: af8426b0e4]
2020-10-01 09:56:05 -04:00
Chauncey Hui a2efb90822 SWDEV-2 - Change OpenCL version number from 3205 to 3206
[ROCm/clr commit: d8404bfee9]
2020-10-01 03:00:04 -04:00
Vladislav Sytchenko 46c26cc6d8 Fix Windows build
Change-Id: Icdc723843541a5c13503670b5f972b78db0cccbf


[ROCm/clr commit: 1183455755]
2020-09-30 14:40:07 -04:00
Jatin Chaudhary 2a16ef5d04 Adding and populating available registers per cu value
Change-Id: Ide012038a9d74b20166ce1e69a9f2c0cbdce0d73


[ROCm/clr commit: d0f009a0ee]
2020-09-28 05:30:23 -04:00
Chauncey Hui fcebc82e75 SWDEV-2 - Change OpenCL version number from 3204 to 3205
[ROCm/clr commit: b26a283118]
2020-09-26 03:00:04 -04:00
kjayapra-amd a3212c53b7 SWDEV-241896 - Remove extern support in ROCclr/HIP since compiler added Texture Reference support.
Change-Id: I2cf27e13a53860fe11e9245c9cbdcb8bd88a7872


[ROCm/clr commit: 4071cf1a16]
2020-09-25 10:20:16 -04:00
Jason Tang 4c0e5d238d Avoid using sdma engine if there's none
Change-Id: Id8d373683f3e1667ab461b4c5b8b490377b64cc0


[ROCm/clr commit: 40b432f992]
2020-09-25 09:48:10 -04:00
Aryan Salmanpour b01d49542c Fix a crash when printf used in a kernel launched on a stream with custom CU mask
SWDEV-249719 - root cause: queues with custom CU mask are not inserted
into queuePool_ (i.e., queue of reusable HSA queues) of ROC device class
causing a crash when creating hostcall buffers for printf

Change-Id: Ieee7005d9a5a30b3113394ce23ee65927126d0d6


[ROCm/clr commit: 2e199bd492]
2020-09-25 09:25:19 -04:00