Commit graph

4615 Commits

Autor SHA1 Nachricht Datum
Jason Tang e4db6ef66a SWDEV-306697 - Fix OCLGlobalOffset segfaults
If we don't create the __amd_rocclr_gwsInit kernel, we still want
to create the rest of the image related blit kernels.

Change-Id: I8bc4645f9f9116eeecbb8b22e981ac4d520f3121


[ROCm/clr commit: 55a0cf0b0c]
2021-10-12 15:13:28 -04:00
Sourabh Betigeri ce4329aca7 SWDEV-292525 - Add more parentheses to fix debug build failures
Change-Id: I91bb7e1f0f40b85dd908a532a77b11c9e7406019


[ROCm/clr commit: 641b1d3968]
2021-10-09 00:04:01 +00:00
Chauncey Hui 656850e36c SWDEV-2 - Change OpenCL version number from 3375 to 3376
[ROCm/clr commit: 6d52cc286b]
2021-10-08 03:00:05 -04:00
Sarbojit Sarkar 548bcfb23b SWDEV-306302 - Fix for OCLCreateImage test failure
Change-Id: I781504bd1ff599ed75c5ea730be03b71f69761b2


[ROCm/clr commit: c06c9f7b93]
2021-10-07 19:52:58 +00:00
jujiang 7efd69cecd SWDEV-306207 - clean up CL definition in ROCclr
Change-Id: I92e2c7c63ebddd119df390784e372ab2f42f3b0d


[ROCm/clr commit: 90b0e8430a]
2021-10-07 11:45:43 -04:00
Chauncey Hui e0cdac64e3 SWDEV-2 - Change OpenCL version number from 3374 to 3375
[ROCm/clr commit: be164ed9ba]
2021-10-07 03:00:04 -04:00
anusha GodavarthySurya 341a97fe6e SWDEV-24806 - Fix compilation warning
Change-Id: I6d015b0349e01047f8f26a8d73365e2963990eb0


[ROCm/clr commit: f4bdb5c6ff]
2021-10-06 22:09:17 -07:00
Sourabh Betigeri 2f2dafa732 SWDEV-292525 - Adds parentheses to fix regression
Debug builds fails with error due to missing
parentheses with -Werror=parentheses enabled

Change-Id: I5745a63b5cf2c7a3aeed90ea572081a6fa67e366


[ROCm/clr commit: 5e116c6c99]
2021-10-06 13:38:55 -04:00
German Andryeyev 51f7944fcb SWDEV-303567 - Increase the size of AQL queue
ROC_AQL_QUEUE_SIZE will control the size of AQL queue.
The current sefault value is 4096.

Change-Id: Icd2a4ee3ba554c06aa05b08defd922d2c63e43fd


[ROCm/clr commit: 7fe696b6ef]
2021-10-06 08:27:36 -04:00
Chauncey Hui 914b777a95 SWDEV-2 - Change OpenCL version number from 3373 to 3374
[ROCm/clr commit: 8c7ba7e3e7]
2021-10-06 03:00:04 -04:00
kjayapra-amd cfb15c6c5d SWDEV-294420 - Ignore Image blit kernels if image instructions are not supported.
Change-Id: I145172672b0b032aa722649b0c4ca9267e3e5c85


[ROCm/clr commit: 7413b7f79b]
2021-10-05 18:12:44 -04:00
German Andryeyev 2cb7467eff SWDEV-303560 - Remove coarse grain setup by default
The original logic was left after initial testing when HMM
couldn't handle xnack properly

Change-Id: I0abf01805704171e931dfba8b6d95bfe87d5fab1


[ROCm/clr commit: d17108e8d0]
2021-10-05 17:20:59 -04:00
kjayapra-amd ead79defbe SWDEV-295277 - Report max waves per cu from ROCr backend.
Change-Id: Ie170b26b53f1cc2da851034c96b21de38ce7b563


[ROCm/clr commit: 3081f7ca53]
2021-10-05 12:38:44 -04:00
anusha GodavarthySurya a6f9a5c6da SWDEV-24806 - Added support to update memory command params
Change-Id: Ib518eaedeeb820023a05278a017a9716e5601dca


[ROCm/clr commit: 34e86bf0c3]
2021-10-05 10:51:14 -04:00
Tao Sang e425c5e79b SWDEV-305884 - Clear up codes
Fix a log typo error
Change-Id: I887ecbdcfe414c2119247228bdd1255b8308da1d


[ROCm/clr commit: 10abe8ab37]
2021-10-04 18:11:32 -04:00
pghafari 86ac9c8bb5 SWDEV-245531 - GLInterop: removing GL dependency
Change-Id: I58133e330f5f5e90965fc05003c2d901d4ae6382


[ROCm/clr commit: 1cb0641831]
2021-10-04 16:35:40 -04:00
German Andryeyev 4aed0e4a01 SWDEV-296301 - Avoid deadlocks in the hostcall path
Change the scope of hostcall buffer access lock during destruction.
Make sure wait() returns the signal value after timeout. That
matches ROCr behaviour for HSA signal wait.

Change-Id: I3df34207e0c2e21972ec8052777e5742bda1dca0


[ROCm/clr commit: 9a9d10a10b]
2021-10-04 15:00:44 -04:00
Julia Jiang 1778d99932 SWDEV-302493 - Comgr API backward compatible
Change-Id: I3d796d10fa1dbb7edb0510f8ed7d44e3b4993bd7


[ROCm/clr commit: 3098324ef7]
2021-09-29 11:43:43 -04:00
Chauncey Hui f2db8356fe SWDEV-2 - Change OpenCL version number from 3372 to 3373
[ROCm/clr commit: 5788e2b476]
2021-09-28 03:00:06 -04:00
Sarbojit Sarkar c053c7d17c SWDEV-301823 - Optimize hipMemset2D/3D
Change-Id: Ibe560149a263c2ac6b08e4eb1a1d331d2aeac78c


[ROCm/clr commit: 22a847f3ce]
2021-09-27 14:10:06 -04:00
Sourabh 936e0836a8 SWDEV-292525 - [vdi] Path to streamOps shaders
Implementation to use a blit kernel to perform
a hipStreamWait/write instead of an AQL packet.

Change-Id: I462671ed5cec37144dfe97ff66439249196117c1


[ROCm/clr commit: cbb8d82bdb]
2021-09-27 13:59:35 -04:00
Chauncey Hui ad241022c4 SWDEV-2 - Change OpenCL version number from 3371 to 3372
[ROCm/clr commit: 60295a9da9]
2021-09-25 03:00:07 -04:00
Jason Tang b47bd6138e SWDEV-1 - Only check agent-binary ISA compatibility for online device
Change-Id: I5c8395c646280b8316e2f1af9f1e624359166cba


[ROCm/clr commit: e0bd4aad63]
2021-09-23 16:03:01 -04:00
Chauncey Hui f59788debd SWDEV-2 - Change OpenCL version number from 3370 to 3371
[ROCm/clr commit: 6aca5576b1]
2021-09-23 03:00:06 -04:00
German Andryeyev 42ae43ee24 SWDEV-292408 - Keep tracking of subbuffers for multiple devices
Change-Id: I568b5ea79614ef507cf1f0efb3dca38ab6cc2db7


[ROCm/clr commit: 6b47e50350]
2021-09-22 19:24:39 -04:00
Chauncey Hui 604a489c4b SWDEV-2 - Change OpenCL version number from 3369 to 3370
[ROCm/clr commit: f27d17acd3]
2021-09-22 03:00:07 -04:00
Jason Tang e1b16403b9 SWDEV-1 - More 'delete' clean up
info_.extensions_ and settings_ are deleted at amd::Device()::~Device().

Change-Id: I06f240a42e5c131dbd4e61a759f905bcdf84b45a


[ROCm/clr commit: f212fc91ca]
2021-09-21 11:17:24 -04:00
Chauncey Hui 5d86ad2f83 SWDEV-2 - Change OpenCL version number from 3368 to 3369
[ROCm/clr commit: a0c9bf4414]
2021-09-21 03:00:05 -04:00
German Andryeyev c99468853f SWDEV-292408 - Don't force high clock for HIP
Change-Id: I501f4e5272124025068b1d3cb637ee8061b06467


[ROCm/clr commit: 51556711dc]
2021-09-20 18:44:11 -04:00
German Andryeyev a7299cd581 SWDEV-292408 - Disable cache coherency tracking for HIP
Cache coherency layer is OCL feature to support multiple devices in
single OCL context.

Change-Id: Ic66df9551fad5b0c4df95ab3e1db1da259919f25


[ROCm/clr commit: 6da9d18140]
2021-09-20 16:13:36 -04:00
Chauncey Hui e5324a55e4 SWDEV-2 - Change OpenCL version number from 3367 to 3368
[ROCm/clr commit: 41fdd996cb]
2021-09-17 03:00:05 -04:00
agunashe 38f3c7aea1 SWDEV-301069 - current device id saved while allocating memory in VDI
Change-Id: Ic5426895fb1d152e4e6e1baf8b938f35c85fa3d8


[ROCm/clr commit: 82e73c096b]
2021-09-16 14:00:07 -04:00
Chauncey Hui 20d457b39f SWDEV-2 - Change OpenCL version number from 3366 to 3367
[ROCm/clr commit: c3be1d41f1]
2021-09-16 03:00:09 -04:00
German Andryeyev 83d83e6166 SWDEV-302383 - Get active state from device
The queue can be destroyed at the time the app will request
the event status. Hence just get the active state from the device.

Change-Id: I887ecb0cfe414c2119247228b0d1255b8308da1e


[ROCm/clr commit: f116959b54]
2021-09-14 19:01:44 -04:00
Chauncey Hui 6e51d72464 SWDEV-2 - Change OpenCL version number from 3365 to 3366
[ROCm/clr commit: e6c0e0fe8b]
2021-09-14 03:00:07 -04:00
German Andryeyev e4ae79ca4a SWDEV-282419 - Use HSA_AMD_SVM_ATTRIB_AGENT_ACCESSIBLE for unset
When unsetting runtime should use HSA_AMD_SVM_ATTRIB_AGENT_ACCESSIBLE
for the agent and not HSA_AMD_SVM_ATTRIB_AGENT_ACCESSIBLE_IN_PLACE

Change-Id: I3814802d1fb3b72c54e7566defafafed6b0d5cee


[ROCm/clr commit: d8a86e4870]
2021-09-13 15:05:20 -04:00
German Andryeyev 28c4d9c0df SWDEV-294669 - Keep one more slot for HW processing
The original logic left only one slot for HW processing in the queue.
For some reason there is a race condition on CPU overwrite of the slot
before the current active. The workaround is to avoid the previous to
the current active slot for possible unfinished HW processing.

Change-Id: I565495a8feeaedffc9fc8a505edbee5ff5816975


[ROCm/clr commit: 65ddfcc6a8]
2021-09-13 13:56:05 -04:00
Chauncey Hui 9ae63315f1 SWDEV-2 - Change OpenCL version number from 3364 to 3365
[ROCm/clr commit: 7102264d6a]
2021-09-10 03:00:05 -04:00
Jason Tang e94aec09bd SWDEV-1 - Some 'delete' clean up
Change-Id: I02564f0f0e349375bde1471e9f82df268703367b


[ROCm/clr commit: 73967c3b17]
2021-09-09 12:12:40 -04:00
Jason Tang 3f5d248508 SWDEV-1 - switch to C++17
Change-Id: I7e6a28a20ca163fe86dd6d53b031e9bb6f9b22c9


[ROCm/clr commit: 5549007856]
2021-09-09 10:16:14 -04:00
Chauncey Hui ba1ade3521 SWDEV-2 - Change OpenCL version number from 3363 to 3364
[ROCm/clr commit: df862e7ef6]
2021-09-09 03:00:06 -04:00
Vladislav Sytchenko 6f895e3fc5 SWDEV-1 - Prepare for c++17 switch
std::mem_fun() and std::bind2nd() are removed in c++17. Switch to
simpler logic that does not require those functions.

Change-Id: I19a31f076e1813e367615bd377b424046ce144c7


[ROCm/clr commit: d934612948]
2021-09-08 16:18:33 -04:00
Vladislav Sytchenko f04c71975f SWDEV-301636 - Manually find NUMA
CMake does not provide a way to query the NUMA library, hence we need
to find it manually.

Change-Id: I370b286acdee75cbebc21340da3c432c79f8ffa7


[ROCm/clr commit: dd23379ac8]
2021-09-08 15:04:15 -04:00
Vladislav Sytchenko ab7fe870fd SWDEV-1 - Fix Windows build
std: :mem_fun() is removed in c++17. Simplify logic to not require it.
Change-Id: Ic9a4753b48dd13fcb20cd5b90ff73c3df3211b9f


[ROCm/clr commit: c68f024b35]
2021-09-08 12:59:48 -04:00
Saleel Kudchadker 36ec8c8871 SWDEV-297448 - Add 64bit and 16bit write support
For the fillBuffer shader, if there are two 32bit writes to a MMIO
register, it can get dropped. It has to be a single 64bit write.
Add optimization to fillBuffer to write 64bit and 16bit writes.

Change-Id: I3aa78e027898f8ae01e9c8f09004615673720c2b


[ROCm/clr commit: 21ba34d0fe]
2021-09-08 12:30:04 -04:00
Chauncey Hui 5fd0dc4062 SWDEV-2 - Change OpenCL version number from 3362 to 3363
[ROCm/clr commit: 1786fd8851]
2021-09-08 03:00:04 -04:00
Jatin Chaudhary f020572d6e SWDEV-299162 - Add new comgr API to demangle names
Change-Id: I84174d7e40e9afff9a8ea135abadb69d580478e0


[ROCm/clr commit: b5a57327bb]
2021-09-08 00:35:34 -04:00
Sarbojit Sarkar 45953e81dd SWDEV-300655 - Added thread ID to hip trace
Change-Id: I9234d4ec93e7687cd0a5d1bd930bd4f80936311b


[ROCm/clr commit: 42d33029dc]
2021-09-06 00:22:42 -04:00
Chauncey Hui d93c8fc413 SWDEV-2 - Change OpenCL version number from 3361 to 3362
[ROCm/clr commit: 1b218d6861]
2021-09-04 03:00:05 -04:00
Saleel Kudchadker 1bf9b39cf8 SWDEV-301667 - Kern arg placement
Add a env var ROC_USE_FGS_KERNARG to toggle kernel arg placement
By default its in Fine Grain Kernel arg segment for supported asics.

Change-Id: I3d57ed69a1a4db2b392b0438ead499f3ddca4716


[ROCm/clr commit: e29b9c00ee]
2021-09-02 12:36:49 -04:00