Commit Graph

13402 Commits

Author SHA1 Message Date
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
anusha GodavarthySurya 9327ed2617 SWDEV-24806 - Fix windows dk build
Change-Id: Iaa497c5736f300c71b63499fc218cfd7769d2e20


[ROCm/clr commit: 13ada9b193]
2021-10-07 10:05:17 -07: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 26e317f519 SWDEV-24806 - Fix windows dk build
Change-Id: Ie309da9dbbf5037510ec7e6913a711ea631d3df8


[ROCm/clr commit: 3a5c80386d]
2021-10-06 22:52:44 -07:00
anusha GodavarthySurya 341a97fe6e SWDEV-24806 - Fix compilation warning
Change-Id: I6d015b0349e01047f8f26a8d73365e2963990eb0


[ROCm/clr commit: f4bdb5c6ff]
2021-10-06 22:09:17 -07:00
pghafari d0cb0062a0 SWDEV-245531 - GLInterop: removing GL dependency
Change-Id: Ie8d794fff9518704d008b71c4d108fb01ea3fcb5


[ROCm/clr commit: c5acbf2685]
2021-10-06 16:53:49 -04: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
anusha GodavarthySurya 20e5aace05 SWDEV-24806 - Added support for event wait and event record graph APIs
hip graph implementation for APIs AddEventRecordNode, AddEventWaitNode, EventRecordNodeGetEvent, EventWaitNodeGetEvent, EventRecordNodeSetEvent,EventWaitNodeSetEvent, ExecEventRecordNodeSetEvent, ExecEventWaitNodeSetEvent

Change-Id: Ifde51f4591067795d6cbf5595372cbdbd8a7bc26


[ROCm/clr commit: f6456c5e27]
2021-10-06 00:31:42 -07: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
anusha GodavarthySurya be487b261b SWDEV-24806 - Added support for memcpy related graph APIs
hipGraphMemcpyNodeSetParams1D, hipGraphExecMemcpyNodeSetParams1D, hipGraphExecMemcpyNodeSetParams, hipGraphAddMemcpyNodeFromSymbol, hipGraphMemcpyNodeSetParamsFromSymbol, hipGraphExecMemcpyNodeSetParamsFromSymbol, hipGraphAddMemcpyNodeToSymbol, hipGraphMemcpyNodeSetParamsToSymbol, hipGraphExecMemcpyNodeSetParamsToSymbol

Change-Id: I6896144f340867d938aa1777880c78c46ca6f893


[ROCm/clr commit: c4eda85835]
2021-10-05 22:43:49 -07:00
anusha GodavarthySurya d3424a31ac SWDEV-240806 - Fix windows build remove unused symbols
Change-Id: I27524f2f0700ed5a9b78d46fbc8a19a516c46ad1


[ROCm/clr commit: a62b6110db]
2021-10-05 21:10:44 -07: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
anusha GodavarthySurya 78f89618cb SWDEV-240806 - Added few Graph API Implementation
hipGraph APIs clone, childGraph, RemoveDependencies, GetEdges,GetDependencies, GetDependentNodes, GetType and DestroyNode
hipStream APIs GetCaptureInfo, GetCaptureInfo_v2, UpdateCaptureDependencies.

Change-Id: Ib0f4cb8ea335698eecdd6d744ffab1e954153673


[ROCm/clr commit: 1c51d82dd5]
2021-10-05 07:44:54 -07:00
anusha GodavarthySurya 4a7b23b848 SWDEV-287830 - Remove hardcoding of /opt/rocm path
Change-Id: I3b654f46d8867651734804f19a4456e17ada740d


[ROCm/clr commit: 63cd524f1d]
2021-10-05 07:38:01 -04:00
anusha GodavarthySurya ea786b1810 SWDEV-240806 - Added few more Graph APIs
Change-Id: I028a1fdf30232b0c47443685e03d7ca410d2a0d0


[ROCm/clr commit: 1111468b49]
2021-10-05 07:37:11 -04:00
Sarbojit Sarkar 96e7dcecd1 SWDEV-292547 - To match cuda behavior
Change-Id: I3577609fcc5443949f73644196e8310fc49d887f


[ROCm/clr commit: 930807fd20]
2021-10-05 00:31:05 -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
Ajay 48316f63e9 SWDEV-301069 - save device id during hipHostRegister
Change-Id: I789b2252fa1a131ed1924b47718e355cb4fc9037


[ROCm/clr commit: 361dec890c]
2021-10-04 12:07:29 -04:00
Jatin Chaudhary 257bb9d2fc SWDEV-304552 - Add default to return the last error value
Change-Id: Ia399033e30aaa454a454067f5afc6f7d1e5ff8dd


[ROCm/clr commit: 4cd4d2d280]
2021-10-04 07:23:10 -04:00
Maneesh Gupta 2ff0c7c7bf Revert "SWDEV-252801 - Fix hipGetLastError/hipPeekAtLastError"
Temporarily reverting to resolve promotion issues.

This reverts commit b36803746b.

Change-Id: I578d1d627e4b9779b146bf2827894522d6673d13


[ROCm/clr commit: ce0995e799]
2021-10-04 05:15:43 -04:00
Maneesh Gupta a4daa31a89 SWDEV-305592 - roc-obj missing execute permissions
Change-Id: I8d418c62805d5080c5054f815b4287cb1bcfa8fe


[ROCm/clr commit: dd4e3c9903]
2021-10-04 05:15:28 -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
Maneesh Gupta f98233ab6a SWDEV-305219 - SWDEV-305226 - Fix debian package name to hip-dev
Change-Id: Ic19b0edde812747ff7fd8daacd16b4dabe937ed7


[ROCm/clr commit: c4287c6650]
2021-09-29 03:34:21 -07: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 a093d4babb Merge "SWDEV-301823 - Fix for memset2D/3D optimization" into amd-staging
[ROCm/clr commit: 1643555ad7]
2021-09-28 00:06:39 -04:00
Sarbojit Sarkar 8923e6d97d SWDEV-301823 - Optimized hipMemset2D/3D
Change-Id: I1e817ab135bfdf9b8f9af18c1bf2cd2e926db729


[ROCm/clr commit: 98c172c2e4]
2021-09-28 00:05:33 -04:00
Sarbojit Sarkar 2e1449e9af SWDEV-304076 - Fix for Cuda build error
Change-Id: Ibca63a08b8d6d1235b51a06c0bc024cd284cee97


[ROCm/clr commit: 70e1fb6a5b]
2021-09-27 23:55:52 -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
Sourabh f1486e33e4 SWDEV-292525 - [hipamd] Use a blit to streamWait
Implementation to use a blit kernel to perform
a hipStreamWait instead of an AQL packet.

Change-Id: I9d9bc1dd793c1454e91e68afb793460749e10d2e


[ROCm/clr commit: 4177d20877]
2021-09-27 13:59:21 -04:00
Freddy Paul 5ed4fa6c28 SWDEV-304500 - OpenCL tests are failed for Ubuntu 20.04.3
As part of the stack unification some of the application using
opencl seem to depend on libopencl.so provided from thirdparty
providers. For libopencl.so from thirdparty provider to find
libamdocl.so ldconfig path to {opencl install path}/lib is required

Change-Id: I8e12e463209a44177ee433644c75ef0781f1da2f


[ROCm/clr commit: b4b83e274e]
2021-09-27 07:36:06 -07:00
Vladislav Sytchenko 60cf342ae0 SWDEV-301289 - Treewide macro rename
ATI_OS_WIN -> _WIN32
ATI_OS_LINUX -> __linux__

We should not rely on non-standard macros for platform detections.

Change-Id: If1d06e2e1187268df62a59609ea5496ab7eb709d


[ROCm/clr commit: c4aa6febe5]
2021-09-26 12:13:37 -04:00
Jason Tang 79be42d8b7 Merge "SWDEV-301289 - Add missing sources files needed for ocltst on Windows" into amd-staging
[ROCm/clr commit: 159f7f24cd]
2021-09-25 17:09:12 -04:00
Vladislav Sytchenko d42631046e SWDEV-301289 - Point to local AMD OpenCL via OCL_ICD_FILENAMES
The OCL_ICD_FILENAMES env var contains a list of OpenCL platforms that
the ICD should prepend to the list of reported platforms. Since the
built amdocl library will show up as the first platform, we can tell
ocltst to always run with platform 0. This way we guarantee that the
correct binary is being loaded.

Using this env var also makes programming LD_LIBRARY_PATH redundant
for Linux.

Change-Id: I8c1729e8b4dd1cd2df1a3da08c7b7addebd08b4f


[ROCm/clr commit: 6c9b07370c]
2021-09-25 17:03:17 -04:00
Vladislav Sytchenko 7757615404 SWDEV-301289 - Correctly reset optind when using getopt()
optind's starting value is 1 and it needs to be reset to 1 after each
getopt() invocation. Resetting it to 0 will cause getopt() to
reinitialize its internal state. This is only needed for some corner
cases. In our current usage, we should be resetting it to 1.

Change-Id: I68da7e41ee8b83b275e2a7bd660c13af569769f1


[ROCm/clr commit: 3d82092632]
2021-09-25 17:02:35 -04:00
Sarbojit Sarkar 333cf557e8 SWDEV-301823 - Fix for memset2D/3D optimization
Change-Id: I03d41a1908ca547e27774e6ced98571913e1808a


[ROCm/clr commit: 5847bb9c7d]
2021-09-25 12:11:26 +00: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
Payam ab21349df9 SWDEV-245531 - GLInterop: linux - Buffer Interop
adding back two missed changes back to cmakelists and amdhip.def

Change-Id: Ibe0ed655d3590f0add13c20b160078ae005feaaf


[ROCm/clr commit: b075718a0f]
2021-09-23 17:10:37 -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