anusha GodavarthySurya
3a5c80386d
SWDEV-24806 - Fix windows dk build
...
Change-Id: Ie309da9dbbf5037510ec7e6913a711ea631d3df8
2021-10-06 22:52:44 -07:00
anusha GodavarthySurya
f4bdb5c6ff
SWDEV-24806 - Fix compilation warning
...
Change-Id: I6d015b0349e01047f8f26a8d73365e2963990eb0
2021-10-06 22:09:17 -07:00
pghafari
c5acbf2685
SWDEV-245531 - GLInterop: removing GL dependency
...
Change-Id: Ie8d794fff9518704d008b71c4d108fb01ea3fcb5
2021-10-06 16:53:49 -04:00
Sourabh Betigeri
5e116c6c99
SWDEV-292525 - Adds parentheses to fix regression
...
Debug builds fails with error due to missing
parentheses with -Werror=parentheses enabled
Change-Id: I5745a63b5cf2c7a3aeed90ea572081a6fa67e366
2021-10-06 13:38:55 -04:00
German Andryeyev
7fe696b6ef
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
2021-10-06 08:27:36 -04:00
anusha GodavarthySurya
f6456c5e27
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
2021-10-06 00:31:42 -07:00
Chauncey Hui
8c7ba7e3e7
SWDEV-2 - Change OpenCL version number from 3373 to 3374
2021-10-06 03:00:04 -04:00
anusha GodavarthySurya
c4eda85835
SWDEV-24806 - Added support for memcpy related graph APIs
...
hipGraphMemcpyNodeSetParams1D, hipGraphExecMemcpyNodeSetParams1D, hipGraphExecMemcpyNodeSetParams, hipGraphAddMemcpyNodeFromSymbol, hipGraphMemcpyNodeSetParamsFromSymbol, hipGraphExecMemcpyNodeSetParamsFromSymbol, hipGraphAddMemcpyNodeToSymbol, hipGraphMemcpyNodeSetParamsToSymbol, hipGraphExecMemcpyNodeSetParamsToSymbol
Change-Id: I6896144f340867d938aa1777880c78c46ca6f893
2021-10-05 22:43:49 -07:00
anusha GodavarthySurya
a62b6110db
SWDEV-240806 - Fix windows build remove unused symbols
...
Change-Id: I27524f2f0700ed5a9b78d46fbc8a19a516c46ad1
2021-10-05 21:10:44 -07:00
kjayapra-amd
7413b7f79b
SWDEV-294420 - Ignore Image blit kernels if image instructions are not supported.
...
Change-Id: I145172672b0b032aa722649b0c4ca9267e3e5c85
2021-10-05 18:12:44 -04:00
German Andryeyev
d17108e8d0
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
2021-10-05 17:20:59 -04:00
kjayapra-amd
3081f7ca53
SWDEV-295277 - Report max waves per cu from ROCr backend.
...
Change-Id: Ie170b26b53f1cc2da851034c96b21de38ce7b563
2021-10-05 12:38:44 -04:00
anusha GodavarthySurya
34e86bf0c3
SWDEV-24806 - Added support to update memory command params
...
Change-Id: Ib518eaedeeb820023a05278a017a9716e5601dca
2021-10-05 10:51:14 -04:00
anusha GodavarthySurya
1c51d82dd5
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
2021-10-05 07:44:54 -07:00
anusha GodavarthySurya
63cd524f1d
SWDEV-287830 - Remove hardcoding of /opt/rocm path
...
Change-Id: I3b654f46d8867651734804f19a4456e17ada740d
2021-10-05 07:38:01 -04:00
anusha GodavarthySurya
1111468b49
SWDEV-240806 - Added few more Graph APIs
...
Change-Id: I028a1fdf30232b0c47443685e03d7ca410d2a0d0
2021-10-05 07:37:11 -04:00
Sarbojit Sarkar
930807fd20
SWDEV-292547 - To match cuda behavior
...
Change-Id: I3577609fcc5443949f73644196e8310fc49d887f
2021-10-05 00:31:05 -04:00
Tao Sang
10abe8ab37
SWDEV-305884 - Clear up codes
...
Fix a log typo error
Change-Id: I887ecbdcfe414c2119247228bdd1255b8308da1d
2021-10-04 18:11:32 -04:00
pghafari
1cb0641831
SWDEV-245531 - GLInterop: removing GL dependency
...
Change-Id: I58133e330f5f5e90965fc05003c2d901d4ae6382
2021-10-04 16:35:40 -04:00
German Andryeyev
9a9d10a10b
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
2021-10-04 15:00:44 -04:00
Ajay
361dec890c
SWDEV-301069 - save device id during hipHostRegister
...
Change-Id: I789b2252fa1a131ed1924b47718e355cb4fc9037
2021-10-04 12:07:29 -04:00
Jatin Chaudhary
4cd4d2d280
SWDEV-304552 - Add default to return the last error value
...
Change-Id: Ia399033e30aaa454a454067f5afc6f7d1e5ff8dd
2021-10-04 07:23:10 -04:00
Maneesh Gupta
ce0995e799
Revert "SWDEV-252801 - Fix hipGetLastError/hipPeekAtLastError"
...
Temporarily reverting to resolve promotion issues.
This reverts commit 3dc47bc839 .
Change-Id: I578d1d627e4b9779b146bf2827894522d6673d13
2021-10-04 05:15:43 -04:00
Maneesh Gupta
dd4e3c9903
SWDEV-305592 - roc-obj missing execute permissions
...
Change-Id: I8d418c62805d5080c5054f815b4287cb1bcfa8fe
2021-10-04 05:15:28 -04:00
Julia Jiang
3098324ef7
SWDEV-302493 - Comgr API backward compatible
...
Change-Id: I3d796d10fa1dbb7edb0510f8ed7d44e3b4993bd7
2021-09-29 11:43:43 -04:00
Maneesh Gupta
c4287c6650
SWDEV-305219 - SWDEV-305226 - Fix debian package name to hip-dev
...
Change-Id: Ic19b0edde812747ff7fd8daacd16b4dabe937ed7
2021-09-29 03:34:21 -07:00
Chauncey Hui
5788e2b476
SWDEV-2 - Change OpenCL version number from 3372 to 3373
2021-09-28 03:00:06 -04:00
Sarbojit Sarkar
1643555ad7
Merge "SWDEV-301823 - Fix for memset2D/3D optimization" into amd-staging
2021-09-28 00:06:39 -04:00
Sarbojit Sarkar
98c172c2e4
SWDEV-301823 - Optimized hipMemset2D/3D
...
Change-Id: I1e817ab135bfdf9b8f9af18c1bf2cd2e926db729
2021-09-28 00:05:33 -04:00
Sarbojit Sarkar
70e1fb6a5b
SWDEV-304076 - Fix for Cuda build error
...
Change-Id: Ibca63a08b8d6d1235b51a06c0bc024cd284cee97
2021-09-27 23:55:52 -04:00
Sarbojit Sarkar
22a847f3ce
SWDEV-301823 - Optimize hipMemset2D/3D
...
Change-Id: Ibe560149a263c2ac6b08e4eb1a1d331d2aeac78c
2021-09-27 14:10:06 -04:00
Sourabh
cbb8d82bdb
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
2021-09-27 13:59:35 -04:00
Sourabh
4177d20877
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
2021-09-27 13:59:21 -04:00
Freddy Paul
b4b83e274e
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
2021-09-27 07:36:06 -07:00
Vladislav Sytchenko
c4aa6febe5
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
2021-09-26 12:13:37 -04:00
Jason Tang
159f7f24cd
Merge "SWDEV-301289 - Add missing sources files needed for ocltst on Windows" into amd-staging
2021-09-25 17:09:12 -04:00
Vladislav Sytchenko
6c9b07370c
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
2021-09-25 17:03:17 -04:00
Vladislav Sytchenko
3d82092632
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
2021-09-25 17:02:35 -04:00
Sarbojit Sarkar
5847bb9c7d
SWDEV-301823 - Fix for memset2D/3D optimization
...
Change-Id: I03d41a1908ca547e27774e6ced98571913e1808a
2021-09-25 12:11:26 +00:00
Chauncey Hui
60295a9da9
SWDEV-2 - Change OpenCL version number from 3371 to 3372
2021-09-25 03:00:07 -04:00
Payam
b075718a0f
SWDEV-245531 - GLInterop: linux - Buffer Interop
...
adding back two missed changes back to cmakelists and amdhip.def
Change-Id: Ibe0ed655d3590f0add13c20b160078ae005feaaf
2021-09-23 17:10:37 -04:00
Jason Tang
e0bd4aad63
SWDEV-1 - Only check agent-binary ISA compatibility for online device
...
Change-Id: I5c8395c646280b8316e2f1af9f1e624359166cba
2021-09-23 16:03:01 -04:00
Chauncey Hui
6aca5576b1
SWDEV-2 - Change OpenCL version number from 3370 to 3371
2021-09-23 03:00:06 -04:00
German Andryeyev
6b47e50350
SWDEV-292408 - Keep tracking of subbuffers for multiple devices
...
Change-Id: I568b5ea79614ef507cf1f0efb3dca38ab6cc2db7
2021-09-22 19:24:39 -04:00
Chauncey Hui
f27d17acd3
SWDEV-2 - Change OpenCL version number from 3369 to 3370
2021-09-22 03:00:07 -04:00
Jatin Chaudhary
c250a13849
SWDEV-297217 - Append user options after default options
...
Change-Id: I1bdd309f98997f805357baa5d3ff36063797460c
2021-09-21 15:12:36 -04:00
Sarbojit Sarkar
7aaad05910
SWDEV-298667 - fix stream operation for Cuda
...
Change-Id: Ida91712e678e324b54293ba48dfca442be390783
2021-09-21 15:07:15 -04:00
Jason Tang
f212fc91ca
SWDEV-1 - More 'delete' clean up
...
info_.extensions_ and settings_ are deleted at amd::Device()::~Device().
Change-Id: I06f240a42e5c131dbd4e61a759f905bcdf84b45a
2021-09-21 11:17:24 -04:00
Chauncey Hui
a0c9bf4414
SWDEV-2 - Change OpenCL version number from 3368 to 3369
2021-09-21 03:00:05 -04:00
German Andryeyev
51556711dc
SWDEV-292408 - Don't force high clock for HIP
...
Change-Id: I501f4e5272124025068b1d3cb637ee8061b06467
2021-09-20 18:44:11 -04:00