German
73f02aa6dc
SWDEV-382397 - Move VirtualGPU destruction back to the thread exit
...
OS can terminate unfinished queue thread from default stream at any
time. Potentially leaving the queue lock in a bad state and causing a
deadlock if runtime destroys VirtualGPU later from the host thread.
Change-Id: I247f102ee84e6b4dba947504933395071945c85d
[ROCm/clr commit: 28daf98f1f ]
2023-02-17 10:05:49 -05:00
Maneesh Gupta
4b8bf631d0
SWDEV-366831 - Revert "File reorg backward compatibility message changed to #error"
...
This reverts commit de1e612775 .
Reason for revert: Need to wait for apps to make fixes first
Change-Id: I337a0b56d268093fc8689152002a6f8a8ceb258f
[ROCm/clr commit: c7576e2add ]
2023-02-17 03:46:29 -05:00
Anusha GodavarthySurya
06ffd15060
SWDEV-366636 - Fix performance drop in TF-RCCL models
...
Change-Id: Idc845bb0dab858b94b9d2720cae8308cac2e7328
[ROCm/clr commit: f98dcf9d7f ]
2023-02-17 00:48:13 -05:00
Rakesh Roy
9c51780b13
SWDEV-338733 - Implement hipArrayGet* APIs
...
- Add implementation for hipArrayGetInfo, hipArrayGetDescriptor &
hipArray3DGetDescriptor APIs
Change-Id: I181a472066006bc3bd0d987408ea67e218310983
[ROCm/clr commit: 287d07ccd4 ]
2023-02-16 23:04:29 -05:00
Ioannis Assiouras
5007a5f15d
SWDEV-381402 - convert host_device to host_context of type amd::Context*
...
Change-Id: Ic1cb9a3fa64e16699fad7e9ec6679f1d34b14bef
[ROCm/clr commit: 8b87ccb8cc ]
2023-02-16 17:49:12 -05:00
jatang
6723b780ca
SWDEV-372613 - No need to link GLEW/GL for oclperf and oclruntime tests
...
Change-Id: I0b9fe78f3fb6d93a4e7d0fe66ea279291716f30e
[ROCm/clr commit: 589988ee47 ]
2023-02-16 15:07:23 -05:00
kjayapra-amd
9c479ada12
SWDEV-376697 - Pass uncached memory flag when hipDeviceMallocUncached memory is requested.
...
Change-Id: Idc12948047fdb69876e31edf34a8bcda46c9c303
[ROCm/clr commit: 193c5e387e ]
2023-02-16 14:05:54 -05:00
kjayapra-amd
53073c4657
SWDEV-376697 - Use PCIE fine grain memory pool when hipDeviceMallocUncached flag is used.
...
Change-Id: I7234d456ef2df42b0b9b9e0d2647ee9bded565f9
[ROCm/clr commit: 6b873b8a86 ]
2023-02-16 14:05:50 -05:00
kjayapra-amd
b9f94c082b
SWDEV-381898 - Move the lock after code object loading since COMGR is thread safe now and VDI also have locks.
...
Change-Id: I15547f3ae3711d12a1ddf5cb7e9abd40a95ded89
[ROCm/clr commit: 68139f9ddb ]
2023-02-15 10:23:28 -05:00
Maneesh Gupta
d7fdd9fcb8
SWDEV-368235 - Revert "Remove obsolete env variables"
...
This reverts commit dfa7790030 .
Reason for revert: Deferred to a future release.
Change-Id: Ia66c37f0ab9734dee73c930d10d7469d5fd57254
[ROCm/clr commit: 5dc104b3ea ]
2023-02-15 07:25:00 +00:00
Anusha GodavarthySurya
24eec94928
SWDEV-380035 - Check for agent and ptr match for hsa LOCKED ptr
...
Change-Id: I2503aa05512aebc3535963e188ca8d1dbfab08f0
[ROCm/clr commit: fa35239b4b ]
2023-02-15 00:12:42 -05:00
Maneesh Gupta
877cfb9b80
SWDEV-366831 - Revert "File reorg backward compatibility message changed to #error"
...
This reverts commit e9ebd8b072 .
Reason for revert: Need app fixes first
Change-Id: I1fea9a2ca8d57ef79a4f407bbc0d906976292eb1
[ROCm/clr commit: 2801be2372 ]
2023-02-14 22:55:40 -05:00
victzhan
94f9990e27
SWDEV-376995 - Added if statement so that when AQL dispatch failed it returns corresponding hip error instead of hipSuccess
...
Change-Id: I0724fbcf0833c5dd8b2e4d6e443b3e226046dddf
[ROCm/clr commit: 4e324a9c63 ]
2023-02-14 14:30:50 -05:00
sdashmiz
8c69e2e52e
SWDEV-377862 - wrong format for memcpy1d
...
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: Ide6d252083b1812b0ad9cd182b1435e3e59b3aa1
[ROCm/clr commit: e34be4fbee ]
2023-02-14 09:47:04 -05:00
Sourabh Betigeri
3bc1a92b66
SWDEV-375194 - Fixes graph dot file descriptions to include labelId matching CUDA
...
Change-Id: Ia0e6b77e38678b13457f86755ed8f3b852c9b7a1
[ROCm/clr commit: 191b468d89 ]
2023-02-13 19:43:12 -05:00
Saleel Kudchadker
a314419f7a
SWDEV-301667 - Refactor code
...
Change-Id: I8f20d994d88acb14f392eaa9d5cd14620667d7f6
[ROCm/clr commit: 695f169ed0 ]
2023-02-13 14:58:17 -08:00
David Yat Sin
b8226e4292
SWDEV-365908 - Do not align mem size for IPC
...
Remove alignment to granularity for IPC handles as ROCr has a patch that
will internally validate pointer sizes against requested size during
allocation instead of size aligned to page size. This patch is needed
together with this patch from ROCr:
f8a42a3a:Use user requested size for memory fragments
Change-Id: I28b25558ea03c836b44fafdb34b7330cf6887424
[ROCm/clr commit: fa1b7925cf ]
2023-02-13 17:32:02 -05:00
Ranjith Ramakrishnan
de1e612775
SWDEV-366831 - File reorg backward compatibility message changed to #error
...
Change-Id: Ic346b403bcc5df52fdab54ddf95472f649a00cc0
[ROCm/clr commit: c86bd74c67 ]
2023-02-10 13:09:46 -05:00
Chauncey Hui
20abd4585b
SWDEV-2 - Change OpenCL version number from 3569 to 3570
...
[ROCm/clr commit: dbeb2f5495 ]
2023-02-10 03:00:12 -05:00
Jeremy Newton
2103c97868
SWDEV-1 - device: Add missing include
...
Newer GCC's seem to require this.
Change-Id: I85926d4fa552b772f2eb9f8ede7863a546c47f54
Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com >
[ROCm/clr commit: 70bdb7a597 ]
2023-02-09 14:57:14 -05:00
Sourabh Betigeri
1544843291
SWDEV-375202 - Fixes print formatting for flags in hipGraphDebugPrint() to match CUDA
...
Change-Id: I2d85fc38d2c65bc12534109883fe00802e77e62d
[ROCm/clr commit: 4cbf9a4a16 ]
2023-02-09 13:07:57 -05:00
Ranjith Ramakrishnan
e9ebd8b072
SWDEV-366831 - File reorg backward compatibility message changed to #error
...
Change-Id: I44adb1a4b9bba0bd89edb75be715504ede2e3d08
[ROCm/clr commit: 810c4ac244 ]
2023-02-09 12:46:13 -05:00
Satyanvesh Dittakavi
77e78dff33
SWDEV-370552 - Correct the HIPRTC behavior to optimize the ISA only once
...
Change-Id: Idaf0ea8294657db3666e9548deb6a9629e0ee718
[ROCm/clr commit: 99556449b6 ]
2023-02-09 11:55:41 -05:00
Jacob Lambert
c013a1c39b
SWDEV-376413 - Revert "SWDEV-376413 - Replace deprecated Comgr device-lib action"
...
This reverts commit 8da846db0a .
Reason for revert: Test failures with Luxmark, blender, and Indigobench. Need to investigate before re-applying
Change-Id: I6b08273a8f9c8bcaa4e7a06cd42d15048e52ca2a
[ROCm/clr commit: 5168485d23 ]
2023-02-09 10:02:47 -05:00
German Andryeyev
b180effdb6
SWDEV-381633 - Use blit manager on app's queue
...
Heap initialization used device queue, but it shoudl be used for
cooperative launches only. Heap initialization must use the same queue
as the current dispatch.
Change-Id: I856621bf82bbdeb1c2d0fbc4970e90d09af805cb
[ROCm/clr commit: 67af16bdf3 ]
2023-02-09 09:43:13 -05:00
sdashmiz
fb107094d6
SWDEV-374378 - correct setparam for memcpy node
...
- params should be valid when used for default flag since we support
unified virtual address space
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: I75d40e437b12ee58e72e423bb4818b484ce35b66
[ROCm/clr commit: 5c5b220561 ]
2023-02-09 09:39:20 -05:00
Chauncey Hui
50307ab94c
SWDEV-2 - Change OpenCL version number from 3568 to 3569
...
[ROCm/clr commit: 5e27676afb ]
2023-02-09 03:00:04 -05:00
Saleel Kudchadker
95e07af803
SWDEV-381633 - Better log
...
Change-Id: Ie151d73aa4b1dae7d0d9acd0457e7dbdf35f21ee
[ROCm/clr commit: 7619b53e9b ]
2023-02-08 17:54:11 -05:00
Jeremy Newton
713ac5ab4e
SWDEV-1 - cltrace: Add missing include
...
Newer GCC's seem to require this.
Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com >
Change-Id: I56ef934600729e892f1cd7ab11662760df48aed8
[ROCm/clr commit: 158e79358c ]
2023-02-08 14:26:47 -05:00
Saleel Kudchadker
83ceb0cd10
SWDEV-381633 - Better log
...
Change-Id: I5c59d42462fe8a233ef10e26ec67314219aeb167
[ROCm/clr commit: 2e4ce59cf4 ]
2023-02-08 10:21:57 -08:00
Jaydeep Patel
670267ec40
SWDEV-380405 - Check for invalid stream for hipMemcpyPeerAsync.
...
Change-Id: I6dfccb4d20bb638bd596c071030c68889743d706
[ROCm/clr commit: e940beb459 ]
2023-02-08 00:47:35 -05:00
jatang
43e9497462
SWDEV-380792 - Fix floating point exception when maxEngineClockFrequency_ is 0
...
Change-Id: Ic443ceae586c4c84995ed2abef9bd7f32f8b60f9
[ROCm/clr commit: b798c85272 ]
2023-02-07 11:43:10 -05:00
pghafari
24b7348137
SWDEV-377571 - adding scopelock for hipDeviceReset
...
Change-Id: I3dd95a40d6abff721a4774f26e99d1162bafdfa1
[ROCm/clr commit: 03f62b90ef ]
2023-02-07 11:29:20 -05:00
Matt Arsenault
5e61121d88
SWDEV-1 - Use proper __builtin_amdgcn_rcph builtin
...
Change-Id: Ic0b1b25a5ab7d132cb51425f2a17bc779c762668
[ROCm/clr commit: eacf63673b ]
2023-02-07 10:58:48 -05:00
Matt Arsenault
6035907648
SWDEV-1 - Eliminate rcp_2f16 pseudo intrinsic
...
No such wrapper or intrinsic would ever exist because there is no such
underlying instruction.
Change-Id: I6c3f64cd2df2a58edf32037da8f5712868f296ea
[ROCm/clr commit: bebbf3c4ec ]
2023-02-07 10:58:31 -05:00
Ioannis Assiouras
d2904ffe47
SWDEV-380687 - Fixed typo in safe atomicAdd for gfx90a
...
Change-Id: I87bc6d9e0ef1f564d679c6280c71c4633d3aa619
[ROCm/clr commit: 6704f3d0f0 ]
2023-02-07 10:14:34 -05:00
Ioannis Assiouras
a6a6f744ee
SWDEV-380466 - Fixed typo in unsafe atomicAdd for doubles and gfx940
...
Change-Id: I3b9ea4773f94bf6a9b9dfb655062f42aeb3b5eba
[ROCm/clr commit: 24d3d8216b ]
2023-02-07 10:06:17 -05:00
Chauncey Hui
1f19ae8227
SWDEV-2 - Change OpenCL version number from 3567 to 3568
...
[ROCm/clr commit: 4435ddd997 ]
2023-02-07 03:00:09 -05:00
Jaydeep Patel
4b3f70a6b4
SWDEV-380405 - Make hipMemcpyPeer async w.r.t. host and let dst device wait till copy finishes by src device.
...
Change-Id: Idbe25404d0c31b93436e190b548f12f327f47a04
[ROCm/clr commit: 5f231c55e3 ]
2023-02-07 00:34:45 -05:00
kjayapra-amd
4cdfa88971
SWDEV-378648 - Adding checks in runtime to abort when bad/invalid payload is sent.
...
Change-Id: Ibaa7927bacef1ba067ded5ccbf3f1111f31200a2
[ROCm/clr commit: 297223a763 ]
2023-02-06 10:37:29 -05:00
German Andryeyev
395d85ac2e
SWDEV-353281 - Switch Graph to operate with stream
...
MemPool was designed to use hip::Stream, but graph implementation uses
amd::HostQueue. Hence switch graph to hip::Stream management.
Change-Id: Ia319389de45e4c3c6043d17473279a6f27a13140
[ROCm/clr commit: 0fe03b6494 ]
2023-02-06 10:11:55 -05:00
German
dfa7790030
SWDEV-368235 - Remove obsolete env variables
...
Change-Id: I7e14d53297e79e2f68b3a6cc40251ad7db9eb5ab
[ROCm/clr commit: 7b50c935f8 ]
2023-02-03 13:44:24 -05:00
Matthew Arsenault
716ddd1d98
SWDEV-1 - Reapply "SWDEV-1 - Directly call __builtin_amdgcn_fence"
...
This reverts commit 7b3cf2e9d7 .
Resubmit after https://github.com/ROCmSoftwarePlatform/rocPRIM/commit/ba8a86166ec9c4cf3a40ecde7017feeb1484e7f6
Change-Id: I194559484a5a0d7f4443381fe77218ea73d2def9
[ROCm/clr commit: 8c7391398a ]
2023-02-03 10:54:27 -05:00
Chauncey Hui
2258de8acd
SWDEV-2 - Change OpenCL version number from 3566 to 3567
...
[ROCm/clr commit: ce37f3ba26 ]
2023-02-03 03:00:10 -05:00
Ranjith Ramakrishnan
87f7e9ff0a
SWDEV-366831 - Correct the include path for new directory layout
...
Change-Id: I7c826ed9c2f2d839d350e5150f578830655616f0
[ROCm/clr commit: 689425433f ]
2023-02-02 03:19:47 -05:00
Chauncey Hui
2fdc10103c
SWDEV-2 - Change OpenCL version number from 3565 to 3566
...
[ROCm/clr commit: 2a592f8968 ]
2023-02-02 03:00:07 -05:00
Jaydeep Patel
5981bd5c22
SWDEV-379395 - Use getQueue as it handles null stream and flags can be combination.
...
Change-Id: If37854a9fc0fc57acb30e652953a7f283831cad8
[ROCm/clr commit: 01c3299425 ]
2023-02-01 12:03:42 -05:00
Jaydeep Patel
c6da0aa014
SWDEV-377804 - Initial commit to support hipGraphInstantiateFlagAutoFreeOnLaunch
...
Change-Id: I7a35becb6c98a6ff70264e141317d98be7457a37
[ROCm/clr commit: f9e27bcdd4 ]
2023-02-01 11:51:39 -05:00
German
f1acdf6db3
SWDEV-352197 - Use static VM ID for capture
...
Use static VM ID if available for capture.
Add a delay in RGP trace finish to help RGP server to complete
file operations.
Change-Id: Id0dab2fe4398ac2df79f25608fdd06b1f84e7fe0
[ROCm/clr commit: 7b4de0df0f ]
2023-02-01 11:46:10 -05:00
Matt Arsenault
c77979a365
SWDEV-1 - Use proper builtins for math intrinsics
...
Change-Id: If0e420332c718abe0e9f6316c467b6b29b80b183
[ROCm/clr commit: 14477c24d0 ]
2023-02-01 07:19:45 -05:00