Grafik Komit

4099 Melakukan

Penulis SHA1 Pesan Tanggal
Saleel Kudchadker eeea586a2a SWDEV-283726 - Workaround for rocprof hang
This addresses the rocprof hang seen with direct dispatch. The
workaround queues the handler back if any of the signal value in the batch
is not decremented. To rememmber the last position in the list, we save
the parsed command in the current timestamp struct.

Change-Id: I02959e463cfe3cee83c54808ffd6e6f48f43b4e8


[ROCm/clr commit: e5e635f9bf]
2021-05-13 11:58:03 -04:00
Jason Tang 6cd1f5854e SWDEV-277566 - Separate code object loading from building
Change-Id: I87b8178f55e8ef23762dfe11fab71665ba680f00


[ROCm/clr commit: 211ba25b4e]
2021-05-13 08:41:35 -04:00
Chauncey Hui dc35269278 SWDEV-2 - Change OpenCL version number from 3306 to 3307
[ROCm/clr commit: 509f528980]
2021-05-13 03:00:06 -04:00
German Andryeyev c5aff0dea0 SWDEV-286150 - Fix compilation with PAL_GPUOPEN_OCL disabled
Change-Id: If6d77ecce7395023db4aa9cb1ff494bc64cb1f17


[ROCm/clr commit: 1b82ff6678]
2021-05-12 22:48:45 -04:00
Chauncey Hui e0270c15f1 SWDEV-2 - Change OpenCL version number from 3305 to 3306
[ROCm/clr commit: cb09d0448e]
2021-05-12 03:00:06 -04:00
Saleel Kudchadker f42ed0672d SWDEV-280773 - Log affinity reset
Change-Id: I101c14174097d262d5d5b924cb31a69483a49c04


[ROCm/clr commit: df5b6cf202]
2021-05-11 15:52:55 -07:00
Saleel Kudchadker 4b03f02a61 SWDEV-280773 - Honor CPU affinity with env var
Setting AMD_CPU_AFFINITY = 1 will make runtime honor core affinity that
the process may set. This is disabled by default as it can prevent
worker thread or any thread that runtime creates from getting scheduled
thus affecting performance.

Change-Id: Ibe4cc95e7b99caee5ce750b7bf66e09e999cc9a3


[ROCm/clr commit: 1398719b0d]
2021-05-11 18:21:56 -04:00
Vladislav Sytchenko fde7c9072d SWDEV-273235 - Windows PAL/LC fixes
HIP should be built with HSAIL support disabled.

Currently HSAILProgram::info() and VirtualGPU::buildKernelInfo() expose
ACL interfaces directly. This should not be allowed.

Change-Id: Iae15d4f19be16806826f2f6cb600752c11f97fc1


[ROCm/clr commit: bbe6246f19]
2021-05-11 17:41:09 -04:00
Brian Sumner 508e2606be SWDEV-285332 - add hostcall service to allocate and deallocate device...
Change-Id: Ia63c1d9bc65367837a5161c09d274c51aead8f8d


[ROCm/clr commit: c44c866cf6]
2021-05-11 07:30:37 -07:00
Chauncey Hui 6718b2daa0 SWDEV-2 - Change OpenCL version number from 3304 to 3305
[ROCm/clr commit: c2e31fa8cb]
2021-05-11 03:00:09 -04:00
Brian Sumner 567d9cc617 SWDEV-285332 - move common context into parent
Change-Id: I99ceb62ad948e1fa9d1dcaa5ede98626cc95bea7


[ROCm/clr commit: 6d09a83b2d]
2021-05-09 09:18:39 -07:00
Chauncey Hui 3be8c0a0c3 SWDEV-2 - Change OpenCL version number from 3303 to 3304
[ROCm/clr commit: 01722818d0]
2021-05-08 03:00:05 -04:00
Jason Tang 7f71fd4036 SWDEV-277566 - Add amd::Program::load interface
Skeleton implementation to allow change at HIP and OpenCL.

Change-Id: I70e69d33c6870cc96238b2f18010ace86d56147f


[ROCm/clr commit: b2116c2137]
2021-05-07 17:07:15 -04:00
Chauncey Hui a8e09cd69b SWDEV-2 - Change OpenCL version number from 3302 to 3303
[ROCm/clr commit: 6feda9e15c]
2021-05-07 03:00:08 -04:00
Vladislav Sytchenko c7b6347a34 SWDEV-273235 - Minor build fixes for Windows CMake
Change-Id: Ia0631c8d6c2a58526b9938cfd141cbe64437f8fb


[ROCm/clr commit: ece83262de]
2021-05-05 14:32:47 -04:00
Vladislav Sytchenko d63de355fe SWDEV-273235 - Allow explicitly disabling LF support
Currently LiquidFlash cannot be supported from Github Enterprise,
hence we need to be able to build with out it.

Allow this by setting -DWITH_LIQUID_FLASH=0.

Change-Id: I975e8ee16b7ba033e3eb95fe40955d8c1d4779b7


[ROCm/clr commit: 7034e749e3]
2021-05-05 14:32:30 -04:00
Vladislav Sytchenko b739fb879d SWDEV-280473 - Remove dependancy on internal ACL API
aclutGetTargetInfo() is an internal compiler lib helper functions. This
will not be imported in the HSAIL shared library build, however it is
simple enough that we can maintain our own local copy of it.

Change-Id: I91d1a336c7da027bf8a7df8fae86a25add533611


[ROCm/clr commit: 7fd1e9c10a]
2021-05-05 12:19:52 -04:00
Chauncey Hui 04a68c85b6 SWDEV-2 - Change OpenCL version number from 3301 to 3302
[ROCm/clr commit: 34ccb004df]
2021-05-04 03:00:05 -04:00
Saleel Kudchadker 6c1f022834 SWDEV-280773 - Additional logging for signals
Cleanup new lines in debug log

Change-Id: I6862c332eb9457b51e23cf4e9db9ba3f870d0c39


[ROCm/clr commit: 42b8236f93]
2021-04-30 15:05:57 -07:00
Chauncey Hui 92a0d07ebb SWDEV-2 - Change OpenCL version number from 3300 to 3301
[ROCm/clr commit: badfea2019]
2021-04-29 03:00:08 -04:00
pghafari b6e62f99d0 SWDEV-245532 - HIP - Vulkan interop semaphores
linuxpro syntax update

Change-Id: Id77e0d82c504fb7a1bd8edfac7dc962e428c87b4


[ROCm/clr commit: 89168d4812]
2021-04-28 13:48:25 -04:00
pghafari 45a930465e SWDEV-245532 - HIP - Vulkan interop semaphores
linuxpro syntax update

Change-Id: I947f24f67ed59c15fe5047348b0c005e19e93544


[ROCm/clr commit: 6e69bcef9e]
2021-04-28 07:44:22 -04:00
Chauncey Hui cf4f0c8cd3 SWDEV-2 - Change OpenCL version number from 3299 to 3300
[ROCm/clr commit: d770b28a3f]
2021-04-28 03:00:08 -04:00
German Andryeyev 4352d68310 SWDEV-86035 - Update PAL interface to 665
Change-Id: Ic38417ac5ff426119d721790a467552633110973


[ROCm/clr commit: 6c5fe7feb5]
2021-04-27 18:10:32 -04:00
German Andryeyev 118a1a9295 SWDEV-86035 - Update the new DOPP flag in PAL interface
Change-Id: Ia3de452bf77220ae0403b3427e13c6ad26009128


[ROCm/clr commit: cdccb6ebc9]
2021-04-27 17:51:23 -04:00
pghafari 4eca2cb891 SWDEV-245532 - HIP - Vulkan interop semaphores
linuxpro syntax update

Change-Id: I184e1293ff4b046c5f8376d06f1d8e9509cd7ba2


[ROCm/clr commit: 6e69864a0c]
2021-04-27 13:28:49 -04:00
pghafari d620f9ea84 SWDEV-245532 - HIP - Vulkan interop semaphores
syntax update

Change-Id: I1eefb8048adbe18c84276092520c1e0b01164e82


[ROCm/clr commit: fe9dbf1ded]
2021-04-27 07:11:58 -04:00
Chauncey Hui 2c15463f3e SWDEV-2 - Change OpenCL version number from 3298 to 3299
[ROCm/clr commit: bd8ca3827e]
2021-04-27 03:00:06 -04:00
German Andryeyev 5e70450a24 SWDEV-240804 - Enable HMM build by default
Change-Id: Ia6175dff8eda8c18b7a7bb4ca87a90c1f3e4e6fb


[ROCm/clr commit: ea3dba0832]
2021-04-26 17:36:53 -04:00
pghafari dbb9c74540 SWDEV-245532 - HIP - Vulkan interop semaphores
Change-Id: Ib79328ce4ec2f8ac3aade59fde4fd30e2d6e5cba


[ROCm/clr commit: 582d12b32f]
2021-04-26 13:20:58 -04:00
Chauncey Hui 8c157207c7 SWDEV-2 - Change OpenCL version number from 3297 to 3298
[ROCm/clr commit: 4656d2d1e1]
2021-04-23 03:00:05 -04:00
German Andryeyev ebbf5675f9 SWDEV-86035 - Make sure the legacy lib is loaded with PAL backend
Change-Id: I5b48778c2e48549afb3fd69b0a316989c01faaef


[ROCm/clr commit: 14a6ec2c59]
2021-04-22 13:57:26 -04:00
Chauncey Hui c209a3816c SWDEV-2 - Change OpenCL version number from 3296 to 3297
[ROCm/clr commit: 35727a5aeb]
2021-04-22 03:00:06 -04:00
Satyanvesh Dittakavi f97bc7f6f2 SWDEV-281062 - hipIpcOpenMemHandle should return the base ptr
hipIpcOpenMemHandle should return the device pointer which is
similar to the base ptr of the original allocation even if the offset
to the original pointer is passed to hipIpcGetMemHandle

Change-Id: I99c0553e8c67c15b5fed880b6a4c74bce39c3aee


[ROCm/clr commit: 88fca7bf9e]
2021-04-22 02:59:05 -04:00
Chauncey Hui 0d43d02b1e SWDEV-2 - Change OpenCL version number from 3295 to 3296
[ROCm/clr commit: 401e346787]
2021-04-21 03:00:06 -04:00
German Andryeyev 8cea0215fb SWDEV-282397 - Alloc scratch memory on the current queue
Device enqueue has an option to execute scheduler on the current
queue and it's enabled by default. Make sure scratch is allocated
on the current queue for that case. Add max vgpr tracking per
program to adjust scratch size accordingly.

Change-Id: I2a6d796913a4551a1e7f343a2465d589eec60d8a


[ROCm/clr commit: e553b2763a]
2021-04-20 12:59:44 -04:00
Anusha GodavarthySurya 44e600b701 SWDEV-240806 - [hip-graph] Added functions updateEventWaitList and resetStatus
Change-Id: I6a753e9584bdacd39ee676466a884ec6b7859879


[ROCm/clr commit: c9c6bed022]
2021-04-20 09:43:40 -04:00
Chauncey Hui 823c7c456a SWDEV-2 - Change OpenCL version number from 3294 to 3295
[ROCm/clr commit: 624d68dcb4]
2021-04-20 03:00:06 -04:00
German Andryeyev bb636d4fca SWDEV-278896 - Increase thresholds to match MT behavior
MT doesn't use GPU waits, but CPU for sync between engines.
Change the threshold values for CPU waits for direct dispatch.
That will bring behavior closer to MT.

Change-Id: Ia41c3cb812614962aff2746b6cf858f1bf77dda2


[ROCm/clr commit: ca2ea70a6c]
2021-04-16 17:47:57 -04:00
German Andryeyev c8c1ed4c13 SWDEV-86035 - use the new field for SE mask
Change-Id: I51ed37f1194264876a3099189f35216d01988771


[ROCm/clr commit: 57d668ab8f]
2021-04-16 11:10:34 -04:00
Chauncey Hui a9d1c55961 SWDEV-2 - Change OpenCL version number from 3293 to 3294
[ROCm/clr commit: 42b2a19616]
2021-04-16 03:00:06 -04:00
Vladislav Sytchenko 6ff739e446 SWDEV-1 - Remove VEGA10_ONLY macro
This is a relic of the past.

Change-Id: I888cf96368e321dcb000c1e59e9ed3f7c5dff7ab


[ROCm/clr commit: 3a12ab8fae]
2021-04-15 16:11:31 -04:00
Sourabh Betigeri a936034ca4 SWDEV-279447 - Change to report 64kB of LDS for Windows as well to match the runtime behavior of HIP
Change-Id: I80b66346e17ba23766b7c9fe4e40ca94cb07f54b


[ROCm/clr commit: 70af4db3a6]
2021-04-15 13:26:35 -04:00
Chauncey Hui 8ad11396fd SWDEV-2 - Change OpenCL version number from 3292 to 3293
[ROCm/clr commit: f7d3a041df]
2021-04-15 03:00:08 -04:00
Vladislav Sytchenko 1ec25599c7 SWDEV-280473 - Fix warnings in combined LC/HSAIL build
Enabling both LC and HSAIL will cause the DYN macro to be redefined.
Rename it for each compiler to avoid name clashing.

Change-Id: I607f022f37c4d05bef4e3a8070d19bd3659d7bc2


[ROCm/clr commit: b771377665]
2021-04-14 15:46:21 -04:00
Vladislav Sytchenko c585ae92a7 SWDEV-280473 - Support HSAIL shared library build
This change makes HSAIL usage similar to that of Comgr. By default, the
runtime will statically link against it, however if HSAIL_DYN_DLL is
defined, then the runtime will try to dynamically load HSAIL.

Currently stick to statically linking to HSAIL. In a feature patch the
dynamic loading behaviour will be enabled.

Change-Id: I6a78a4375975cf847f236b200404c8cf941d012b


[ROCm/clr commit: c7b50bb890]
2021-04-14 12:25:54 -04:00
Chauncey Hui ba2d6da261 SWDEV-2 - Change OpenCL version number from 3291 to 3292
[ROCm/clr commit: 759cf19600]
2021-04-14 03:00:05 -04:00
Julia Jiang 7bb189c4c5 SWDEV-268186 - OCL ReBar optimization
Change-Id: I69d8bce8d48a5b6f94a05272c83ee91fbec1688c


[ROCm/clr commit: aef4ab1fc8]
2021-04-13 15:08:32 -04:00
Vladislav Sytchenko 8edf4d9cd3 SWDEV-280473 - Fix Windows build
Change-Id: Id1acb5ad07a6717c5866065776f9f2b3bf85be8e


[ROCm/clr commit: 2ae1b17b7c]
2021-04-13 11:38:17 -04:00
Chauncey Hui c9fec26190 SWDEV-2 - Change OpenCL version number from 3290 to 3291
[ROCm/clr commit: 4711005dfd]
2021-04-13 03:00:08 -04:00