Sarbojit Sarkar
2afeacc858
SWDEV-310181 - Fix for mGPU dtest failure
...
Change-Id: Id0898bd45e23f2d637bef25a3e69f26d9dc40785
2021-11-22 01:01:47 -05:00
anusha GodavarthySurya
ef1ec6ffde
SWDEV-240806 - hipGraph performance create new graph commands for every launch
...
Change-Id: Ifd4a373d6a76118ae0946238b29accfacbe32937
2021-11-19 00:09:47 -05:00
German Andryeyev
7e12cf6318
SWDEV-257789 - Initial change to skip kernel arg copy
...
The optimization is controlled with ROCR_SKIP_KERNEL_ARG_COPY.
This is initial check-in for experiments. Extra changes are
necessary for full support:
- handle graph capture with the original sysmem alloc
- avoid memobject references, otherwise there is a race condition with
reusage of the arg buffer
- Remove arg setup from hip
Change-Id: Ib0af710f93e79834711fa4049a7c66093711e68b
2021-10-28 20:35:35 -04:00
Jason Tang
f61dc18681
SWDEV-292525 - Fix -Werror=parentheses build failure
...
Change-Id: I2650413914914392df68a9fbf669af216a132640
2021-10-22 09:43:15 -04:00
Alex Xie
ea48fc029b
SWDEV-306854 - Observed conformance subtest SVM failure
...
Revert "SWDEV-292408 - Keep tracking of subbuffers for multiple devices"
Change-Id: I604e9b49368fa1f143302fddda674c18d7351108
2021-10-15 09:28:06 -04:00
pghafari
5b6b2e6d2c
SWDEV-245531 - GLInterop: updating glEnv logic
...
Change-Id: I6103243c477547a6a2b714bbf836ce36abe84f8c
2021-10-13 09:26:52 -04:00
Sourabh Betigeri
641b1d3968
SWDEV-292525 - Add more parentheses to fix debug build failures
...
Change-Id: I91bb7e1f0f40b85dd908a532a77b11c9e7406019
2021-10-09 00:04:01 +00:00
jujiang
90b0e8430a
SWDEV-306207 - clean up CL definition in ROCclr
...
Change-Id: I92e2c7c63ebddd119df390784e372ab2f42f3b0d
2021-10-07 11:45:43 -04:00
anusha GodavarthySurya
f4bdb5c6ff
SWDEV-24806 - Fix compilation warning
...
Change-Id: I6d015b0349e01047f8f26a8d73365e2963990eb0
2021-10-06 22:09:17 -07: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
anusha GodavarthySurya
34e86bf0c3
SWDEV-24806 - Added support to update memory command params
...
Change-Id: Ib518eaedeeb820023a05278a017a9716e5601dca
2021-10-05 10:51:14 -04:00
pghafari
1cb0641831
SWDEV-245531 - GLInterop: removing GL dependency
...
Change-Id: I58133e330f5f5e90965fc05003c2d901d4ae6382
2021-10-04 16:35:40 -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
German Andryeyev
6b47e50350
SWDEV-292408 - Keep tracking of subbuffers for multiple devices
...
Change-Id: I568b5ea79614ef507cf1f0efb3dca38ab6cc2db7
2021-09-22 19:24:39 -04:00
German Andryeyev
6da9d18140
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
2021-09-20 16:13:36 -04:00
agunashe
82e73c096b
SWDEV-301069 - current device id saved while allocating memory in VDI
...
Change-Id: Ic5426895fb1d152e4e6e1baf8b938f35c85fa3d8
2021-09-16 14:00:07 -04:00
Jason Tang
73967c3b17
SWDEV-1 - Some 'delete' clean up
...
Change-Id: I02564f0f0e349375bde1471e9f82df268703367b
2021-09-09 12:12:40 -04:00
Vladislav Sytchenko
d934612948
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
2021-09-08 16:18:33 -04:00
Vladislav Sytchenko
c68f024b35
SWDEV-1 - Fix Windows build
...
std: :mem_fun() is removed in c++17. Simplify logic to not require it.
Change-Id: Ic9a4753b48dd13fcb20cd5b90ff73c3df3211b9f
2021-09-08 12:59:48 -04:00
jujiang
f63115cec6
SWDEV-286322 - clean up trailing white space
...
Change-Id: I01f3a559cbd1835aa2fdad7abe2bd685d90fc6a8
2021-09-01 11:45:47 -04:00
Vladislav Sytchenko
215853fd54
SWDEV-298985 - Calm down build warnings
...
This resolves -Wreorder warning.
Change-Id: I28851d66e19a70c4851ac056819d2daadbdc7113
2021-08-29 13:58:48 -04:00
Satyanvesh Dittakavi
169cc857fd
SWDEV-298985 - hipMemPrefetchAsync should prefetch the data to the specified destination device
...
Pass the device agent specified by the user to the ROCr api instead of passing the device agent attached to the specified stream
Change-Id: I86c98935b9dc404eaa6d47ccdd082a8c3678fb36
2021-08-27 05:12:07 -04:00
kjayapra-amd
788ae8595b
SWDEV-295144 - Change uint64_t to size_t to fix failure on 32-bit opencl.
...
Change-Id: I5c28e9c606dec1c956f3f48071d8a0271adfff22
2021-08-22 23:56:08 -07:00
anusha GodavarthySurya
682151f39d
SWDEV-295251 - Avoid marker if queue is empty for DD to fix MT issue
...
Change-Id: I80be39ace9d93347f81ef8acd7858d43bc4a3f1e
2021-08-22 23:56:08 -07:00
Vladislav Sytchenko
de53cd1903
SWDEV-240806 - Fix Windows build
...
Fixes error "All control paths should return a value".
Change-Id: I4718688b55b24862465e15ea0d64b32fa44b3299
2021-08-22 23:56:08 -07:00
anusha GodavarthySurya
050d54b503
SWDEV-240806 - Add methods to update kernel command parameters
...
Change-Id: Iba90a31f9c5d6d4f2b60b7ccf903325c03d4d245
2021-08-22 23:56:08 -07:00
anusha GodavarthySurya
de5168fdef
SWDEV-295251 - Remove waitEvent check in append
...
Change-Id: I994f3e7c67ed29c4ee46229c8bcd1448fc7f59ec
2021-08-22 23:56:08 -07:00
Satyanvesh Dittakavi
924695fb5e
SWDEV-292021 - Fix Device Reset
...
- Device Reset should not purge the allocations that were not by the user
- Addresses QMCPack Test abort due to the removal of all the mem objects during reset
Change-Id: I7b7a123e72bcc985d7e51d17c2382bc618d3e041
2021-08-22 23:56:08 -07:00
Sourabh Betigeri
8c5c2befeb
SWDEV-292523 - [vdi]Change in the signature of streamOperations APIs, particularly 'value' arg to unsigned 'value
...
Change-Id: I74b24b2dec911acd5e7a364ea8c050c2ecb1c3b8
2021-08-22 23:56:08 -07:00
Vladislav Sytchenko
74ccf71d53
SWDEV-294514 - Limit HIP-GL interop logic to HIP
...
Below logic is causing a crash in the CL-GL interop. As a workaround,
limit it only to HIP.
Change-Id: I12e81d035ebd80a4a9a09eb6eea2fae7040d90c9
2021-08-22 23:56:08 -07:00
German Andryeyev
c144383971
SWDEV-290384 - Disable HSA callback for any host wait
...
Change-Id: Ie876deb62859f5551f4ed69eb8187ac3fa35f42a
2021-08-22 23:56:08 -07:00
German Andryeyev
ff15c0893e
SWDEV-292018 - Switch to internal signals for markers
...
Add ref counting to ProfilingSignal class to track the last release.
If a signal was used in the marker, then don't reuse it,
but create a new one for internal usage.
Don't rely on HSA callback for the command status update if there
are no pending dispatches.
Change-Id: I19f14ed9d80acfe79993b343b2187635f8428a20
2021-08-22 23:56:07 -07:00
kjayapra-amd
e01a24d8b5
SWDEV-295144 - Typecast arena mem ptr(0x2) to void*, otherwise results in wrong constructor overload.
...
Change-Id: I433b70dc70377ae0c5f9b29818703e1ac9d95053
2021-08-22 23:56:07 -07:00
German Andryeyev
f34c1b9ff8
SWDEV-292820 - Add a new notify lock
...
HSA signal calback may occur during the actual marker submit. That
may cause a deadlock, because shared lock_ object. Create the new
notify_lock_ field to protect the notification.
Change-Id: I9752af84e59895530620fac3932c6fc276de8658
2021-08-22 23:56:07 -07:00
agunashe
d96481fb36
SWDEV-293742 - Update copyright end year VDI repo
...
Change-Id: I69d2fea4a7a43adf96ccea794270e4af991c5261
2021-08-22 23:56:07 -07:00
German Andryeyev
6ab8dcc682
SWDEV-292018 - Avoid marker if queue is empty
...
Change-Id: I40a42d67d2c911d2c9a0bf425f36bc795f9539c0
2021-08-22 23:56:07 -07:00
German Andryeyev
ce8dad2ecc
SWDEV-290160 - Switch to global HSA signals
...
Runtime can't assign internal HSA signals for HIP events, because
HIP application can destroy the HIP stream or signal reuse may
occur internally. Switch to global HSA signals for HIP events.
Change-Id: Ieaea2d6b039e492b2e7c5112782a8f4e601e50a1
2021-08-22 23:56:07 -07:00
Saleel Kudchadker
8e08880cc3
SWDEV-247372 - Add logging for debug
...
Change-Id: Id5a27034005a7deba37072d8a4c6f250104a96c8
2021-08-22 23:56:07 -07:00
Christophe Paquot
133287f31f
SWDEV-240806 - Release resources in Command::terminate for HIP
...
We do not want to release resources during setStatus in HIP because of Graphs
Change-Id: Idc7b188ab5f8be6975ea91005dd2bbf177401f8c
2021-08-22 23:56:07 -07:00
German Andryeyev
c49f1069ab
SWDEV-290160 - Don't send notification for batch markers
...
Batch marker already has a barrier with HSA signal callback
Change-Id: I69fc63d72320c2e9cc2d2e59ebd3f07c0bd0e3b5
2021-08-22 23:56:07 -07:00
German Andryeyev
85c70a7495
SWDEV-284671 - Add HW event wait to improve hipDeviceSynchronize
...
If AMD event contains a reference to a HW event, then runtime
could check/wait for HW event. CPU status update will occur later
after HSA signal callback, but it's not important for the result.
Change-Id: I591391a953bbdba6a25ac07e2cd98aeb17cd4596
2021-08-22 23:56:07 -07:00
Saleel Kudchadker
9d0846e732
SWDEV-286092 - Enable handler for marker always
...
For DD, send a NOP packet so that we leverage the handler to indicate
completion.
Change-Id: Ie57ea0124a8497d39cc49da1c4575c2cd86b9319
2021-08-22 23:56:07 -07:00
German Andryeyev
fa2e154a8b
SWDEV-278894 - Use GPU waits for HIP events
...
Save HW events in amd::Event.
Use HW events for synchronization
Change-Id: I98cf9c2d0ec3c7fcaf254b749ac6c568d7270ae0
2021-05-25 13:41:15 -04:00
German Andryeyev
a81756bba3
SWDEV-285318 - Wait for the queue before destruction
...
With direct dispatch enabled make sure the queue is done before
destruction.
Change-Id: Ib80af3efb97dfb93e2dce60a11db34fb5c45f5cd
2021-05-20 10:28:24 -04:00
Ravi C Akkenapally
0aa524363d
SWDEV-245531 - GLInterop: Add Buffer Interop support
...
Change-Id: I38326173475e84f8eca2605522542ef89a3cf524
2021-05-19 12:24:24 -07:00
kjayapra-amd
1c49d8816c
SWDEV-286346 - Implement Arena Memory Object for externally created memory.
...
Change-Id: I8530602d89edf83ad367c52167e48a1559ee1e18
2021-05-18 10:59:52 -04:00
Jason Tang
f2a077f62f
SWDEV-277566 - Only build kernelNames_ when requested.
...
Currently only clGetProgramInfo/CL_PROGRAM_KERNEL_NAMES requests it.
Change-Id: I38be16999ac2f631850fb5e07eeae54bfbe161ad
2021-05-13 15:07:50 -04:00
Jason Tang
211ba25b4e
SWDEV-277566 - Separate code object loading from building
...
Change-Id: I87b8178f55e8ef23762dfe11fab71665ba680f00
2021-05-13 08:41:35 -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