Graphe des révisions

4096 Révisions

Auteur SHA1 Message Date
Vladislav Sytchenko bbe6246f19 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
2021-05-11 17:41:09 -04:00
Brian Sumner c44c866cf6 SWDEV-285332 - add hostcall service to allocate and deallocate device...
Change-Id: Ia63c1d9bc65367837a5161c09d274c51aead8f8d
2021-05-11 07:30:37 -07:00
Chauncey Hui c2e31fa8cb SWDEV-2 - Change OpenCL version number from 3304 to 3305 2021-05-11 03:00:09 -04:00
Brian Sumner 6d09a83b2d SWDEV-285332 - move common context into parent
Change-Id: I99ceb62ad948e1fa9d1dcaa5ede98626cc95bea7
2021-05-09 09:18:39 -07:00
Chauncey Hui 01722818d0 SWDEV-2 - Change OpenCL version number from 3303 to 3304 2021-05-08 03:00:05 -04:00
Jason Tang b2116c2137 SWDEV-277566 - Add amd::Program::load interface
Skeleton implementation to allow change at HIP and OpenCL.

Change-Id: I70e69d33c6870cc96238b2f18010ace86d56147f
2021-05-07 17:07:15 -04:00
Chauncey Hui 6feda9e15c SWDEV-2 - Change OpenCL version number from 3302 to 3303 2021-05-07 03:00:08 -04:00
Vladislav Sytchenko ece83262de SWDEV-273235 - Minor build fixes for Windows CMake
Change-Id: Ia0631c8d6c2a58526b9938cfd141cbe64437f8fb
2021-05-05 14:32:47 -04:00
Vladislav Sytchenko 7034e749e3 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
2021-05-05 14:32:30 -04:00
Vladislav Sytchenko 7fd1e9c10a 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
2021-05-05 12:19:52 -04:00
Chauncey Hui 34ccb004df SWDEV-2 - Change OpenCL version number from 3301 to 3302 2021-05-04 03:00:05 -04:00
Saleel Kudchadker 42b8236f93 SWDEV-280773 - Additional logging for signals
Cleanup new lines in debug log

Change-Id: I6862c332eb9457b51e23cf4e9db9ba3f870d0c39
2021-04-30 15:05:57 -07:00
Chauncey Hui badfea2019 SWDEV-2 - Change OpenCL version number from 3300 to 3301 2021-04-29 03:00:08 -04:00
pghafari 89168d4812 SWDEV-245532 - HIP - Vulkan interop semaphores
linuxpro syntax update

Change-Id: Id77e0d82c504fb7a1bd8edfac7dc962e428c87b4
2021-04-28 13:48:25 -04:00
pghafari 6e69bcef9e SWDEV-245532 - HIP - Vulkan interop semaphores
linuxpro syntax update

Change-Id: I947f24f67ed59c15fe5047348b0c005e19e93544
2021-04-28 07:44:22 -04:00
Chauncey Hui d770b28a3f SWDEV-2 - Change OpenCL version number from 3299 to 3300 2021-04-28 03:00:08 -04:00
German Andryeyev 6c5fe7feb5 SWDEV-86035 - Update PAL interface to 665
Change-Id: Ic38417ac5ff426119d721790a467552633110973
2021-04-27 18:10:32 -04:00
German Andryeyev cdccb6ebc9 SWDEV-86035 - Update the new DOPP flag in PAL interface
Change-Id: Ia3de452bf77220ae0403b3427e13c6ad26009128
2021-04-27 17:51:23 -04:00
pghafari 6e69864a0c SWDEV-245532 - HIP - Vulkan interop semaphores
linuxpro syntax update

Change-Id: I184e1293ff4b046c5f8376d06f1d8e9509cd7ba2
2021-04-27 13:28:49 -04:00
pghafari fe9dbf1ded SWDEV-245532 - HIP - Vulkan interop semaphores
syntax update

Change-Id: I1eefb8048adbe18c84276092520c1e0b01164e82
2021-04-27 07:11:58 -04:00
Chauncey Hui bd8ca3827e SWDEV-2 - Change OpenCL version number from 3298 to 3299 2021-04-27 03:00:06 -04:00
German Andryeyev ea3dba0832 SWDEV-240804 - Enable HMM build by default
Change-Id: Ia6175dff8eda8c18b7a7bb4ca87a90c1f3e4e6fb
2021-04-26 17:36:53 -04:00
pghafari 582d12b32f SWDEV-245532 - HIP - Vulkan interop semaphores
Change-Id: Ib79328ce4ec2f8ac3aade59fde4fd30e2d6e5cba
2021-04-26 13:20:58 -04:00
Chauncey Hui 4656d2d1e1 SWDEV-2 - Change OpenCL version number from 3297 to 3298 2021-04-23 03:00:05 -04:00
German Andryeyev 14a6ec2c59 SWDEV-86035 - Make sure the legacy lib is loaded with PAL backend
Change-Id: I5b48778c2e48549afb3fd69b0a316989c01faaef
2021-04-22 13:57:26 -04:00
Chauncey Hui 35727a5aeb SWDEV-2 - Change OpenCL version number from 3296 to 3297 2021-04-22 03:00:06 -04:00
Satyanvesh Dittakavi 88fca7bf9e 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
2021-04-22 02:59:05 -04:00
Chauncey Hui 401e346787 SWDEV-2 - Change OpenCL version number from 3295 to 3296 2021-04-21 03:00:06 -04:00
German Andryeyev e553b2763a 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
2021-04-20 12:59:44 -04:00
Anusha GodavarthySurya c9c6bed022 SWDEV-240806 - [hip-graph] Added functions updateEventWaitList and resetStatus
Change-Id: I6a753e9584bdacd39ee676466a884ec6b7859879
2021-04-20 09:43:40 -04:00
Chauncey Hui 624d68dcb4 SWDEV-2 - Change OpenCL version number from 3294 to 3295 2021-04-20 03:00:06 -04:00
German Andryeyev ca2ea70a6c 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
2021-04-16 17:47:57 -04:00
German Andryeyev 57d668ab8f SWDEV-86035 - use the new field for SE mask
Change-Id: I51ed37f1194264876a3099189f35216d01988771
2021-04-16 11:10:34 -04:00
Chauncey Hui 42b2a19616 SWDEV-2 - Change OpenCL version number from 3293 to 3294 2021-04-16 03:00:06 -04:00
Vladislav Sytchenko 3a12ab8fae SWDEV-1 - Remove VEGA10_ONLY macro
This is a relic of the past.

Change-Id: I888cf96368e321dcb000c1e59e9ed3f7c5dff7ab
2021-04-15 16:11:31 -04:00
Sourabh Betigeri 70af4db3a6 SWDEV-279447 - Change to report 64kB of LDS for Windows as well to match the runtime behavior of HIP
Change-Id: I80b66346e17ba23766b7c9fe4e40ca94cb07f54b
2021-04-15 13:26:35 -04:00
Chauncey Hui f7d3a041df SWDEV-2 - Change OpenCL version number from 3292 to 3293 2021-04-15 03:00:08 -04:00
Vladislav Sytchenko b771377665 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
2021-04-14 15:46:21 -04:00
Vladislav Sytchenko c7b50bb890 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
2021-04-14 12:25:54 -04:00
Chauncey Hui 759cf19600 SWDEV-2 - Change OpenCL version number from 3291 to 3292 2021-04-14 03:00:05 -04:00
Julia Jiang aef4ab1fc8 SWDEV-268186 - OCL ReBar optimization
Change-Id: I69d8bce8d48a5b6f94a05272c83ee91fbec1688c
2021-04-13 15:08:32 -04:00
Vladislav Sytchenko 2ae1b17b7c SWDEV-280473 - Fix Windows build
Change-Id: Id1acb5ad07a6717c5866065776f9f2b3bf85be8e
2021-04-13 11:38:17 -04:00
Chauncey Hui 4711005dfd SWDEV-2 - Change OpenCL version number from 3290 to 3291 2021-04-13 03:00:08 -04:00
Vladislav Sytchenko cbeb372e46 SWDEV-280473 - Remove HSAIL support from the ROCm backend
In adition to removing the HSAIL logic from the ROCm backend, guard all
of the HSAIL includes in the common layer behind the WITH_COMPILER_LIB
define. This is to avoid including HSAIL headers when building with
no support for it.

In common logic replace the use of the aclType enum with the new
Program::file_type_t enum. This is essentially a local copy of the HSAIL
enum to avoid including any HSAIL headers.

Change-Id: Ica0651d1b29dfccc255cc584eb82a5cb35e1b520
2021-04-12 14:55:06 -04:00
Chauncey Hui 2b133ed3de SWDEV-2 - Change OpenCL version number from 3289 to 3290 2021-04-10 03:00:06 -04:00
Jason Tang 1a38be8972 SWDEV-277559 - Remove AMDIL
The rest of AMDIL support will be removed along with orca backend.

Change-Id: I0462501e7147dc4b99870fd02034d0a4a0496e55
2021-04-09 14:15:15 -04:00
Saleel Kudchadker 9307ab43e4 SWDEV-278336 - Print time info only when profiling
Change-Id: Ic8d04e58cf4558fbfc5ed6db35f3ff2d788803f9
2021-04-09 13:17:31 -04:00
Chauncey Hui bb9c9c4322 SWDEV-2 - Change OpenCL version number from 3288 to 3289 2021-04-09 03:00:06 -04:00
Konstantin Zhuravlyov 3010cf0a58 SWDEV-76911 - Target ID workarounds in vdi runtime:
- Add HSAIL ID for Hawaii as gfx702
  - Add HSAIL ID for Renoir without xnack as gfx90c

Fixes: SWDEV-271289, SWDEV-272761
Change-Id: I92cf4619cdfd550462ff8ec3740443ef1e5a5f96
2021-04-08 12:14:25 -04:00
Chauncey Hui 96e67ce3e5 SWDEV-2 - Change OpenCL version number from 3287 to 3288 2021-04-08 03:00:06 -04:00