Commit Graph

13402 Commits

Author SHA1 Message Date
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
Chauncey Hui 8ed7dcdd03 SWDEV-2 - Change OpenCL version number from 3564 to 3565
[ROCm/clr commit: 202b6c0f16]
2023-02-01 03:00:07 -05:00
sdashmiz a081bdd157 SWDEV-361623 - correct remove edge behaviour
- remove node dependency before checking parents
- reduce edge level acording to new value of node

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Id4bff1684f7e0b42beeebc4d2e009bfdb507fb5f


[ROCm/clr commit: 34d087da93]
2023-01-31 12:48:59 -05:00
David Yat Sin 904d3fd3ba SWDEV-380258 - Fix invalid iterator after erase
Fix rare segfault due to invalid iterator after erase

Change-Id: Id5b54d6cf10075deff0d613fec12af249c6c55a3


[ROCm/clr commit: 08d72c4f98]
2023-01-31 17:46:15 +00:00
German f857dcc48d SWDEV-352197 - Destroy virtual device in thread destructor
Windows kills threads on exit without any notification. However,
runtime can still destroy VirtualGPU object from the host thread with
HostQueue destruction.
This change also forces RGP trace transfer on the last capture without
any delays.

Change-Id: I768e87e99e1d23a021e63c12f36e450817743759


[ROCm/clr commit: ad33a021cb]
2023-01-31 10:53:48 -05:00
Chauncey Hui 9eeb99a842 SWDEV-2 - Change OpenCL version number from 3563 to 3564
[ROCm/clr commit: 054ab2d4ae]
2023-01-31 03:00:08 -05:00
Rahul Garg b02b0b13f0 SWDEV-379678 - Remove catch build option
Change-Id: Idedf5e61da1e6c7fbdd9a65e57220875a3b24112


[ROCm/clr commit: 118e7144f8]
2023-01-30 11:04:03 -05:00
sdashmiz aaf82fb91b SWDEV-374368 - dependency list should not have duplicate
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I67e1c8203f10916b98408e2004e6c64e96b1933b


[ROCm/clr commit: b251c8fdb2]
2023-01-30 10:28:35 -05:00
sdashmiz 483f22536f SWDEV-374389 - correct update dependency behaviour
- nodes should belong to graph
- num of passed dependency cant be larger than graph nodes

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Ia6f2283546bc44edee705b0483bfe506b7b1177a


[ROCm/clr commit: 23edcd3e23]
2023-01-30 10:05:52 -05:00
Sourabh Betigeri ceca882cf3 SWDEV-340649 - Removes calls to commitMemory in hmm path
Change-Id: I8d381b4c3f5cf95628487e0d10ae643443c9709d


[ROCm/clr commit: 2388f61705]
2023-01-27 13:15:23 -05:00
Chauncey Hui 7f9ec8bdc5 SWDEV-2 - Change OpenCL version number from 3562 to 3563
[ROCm/clr commit: e3aa7a5b3d]
2023-01-27 03:00:07 -05:00
victzhan 33d3101cf6 SWDEV-345751 - Added parameter check for clEnqueueWriteImage
Change-Id: I9606ea1c3698d009f23b7da673c02fa05b009dbc


[ROCm/clr commit: 96cd9f7b76]
2023-01-26 16:49:56 -05:00
Victor Zhang 3a2d258194 Merge "SWDEV-110636 - added if statement so that output of clBuildProgram follows opencl specification" into amd-staging
[ROCm/clr commit: a1beaf54a6]
2023-01-26 16:25:11 -05:00
Ajay GunaShekar 01fe2ea09e SWDEV-372757 - Don't destroy null queue in MT
This reverts commit 3afbe3a155.

Reason for revert: patch does not fix all stream hangs. So another patch was merged which fixes all issues.

Change-Id: I332d1ea29c23747b46b7667fe3e34e0ceefd2b23


[ROCm/clr commit: 1f4176062b]
2023-01-25 23:41:16 -05:00
jatang 50e98ee028 SWDEV-373395 - Check CL_DEVICE_IMAGE_SUPPORT for ocltst image related tests
Change-Id: Iffa2be3d2ddeeb9baad108530dcaf69c4cbd984b


[ROCm/clr commit: 49c76fa04f]
2023-01-25 17:43:06 -05:00
Jiabao Xie 7b13a338ac SWDEV-366886 - Revert "SWDEV-366886 - force svm alloc for rocm"
This reverts commit 7a5c07bf4e.

Reason for revert: performance drop in Quicksilver app

Change-Id: I2bdf42ad0a235a74e2bb4d38f86471e9affbd7a6


[ROCm/clr commit: 3e88081961]
2023-01-25 15:54:53 -05:00
sdashmiz e72db4a957 SWDEV-379151 - correct error status
- if the stream is null ptr and there is capture ongoing return an error

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Iff33e4aebc253fb7bb56daf5c455722d726c6705


[ROCm/clr commit: a4dd362a1d]
2023-01-25 15:06:38 -05:00
Chauncey Hui 10fb8c0d12 SWDEV-2 - Change OpenCL version number from 3561 to 3562
[ROCm/clr commit: b63f996e9e]
2023-01-25 03:00:05 -05:00
Rakesh Roy e8b7717abb SWDEV-375004 - Fix rocprim test failure
- For !__HIPCC_RTC__ case, operator<<(std::ostream& os, const hip_bfloat16& bf16) calls itself in endless recursion
- Convert hip_bfloat16 to float to fix this

Change-Id: I252a656817550caf43c587cebf461474f12b8c0c


[ROCm/clr commit: 8b00f56577]
2023-01-25 00:01:02 -05:00
Jason Tang 610836d5f8 Merge "SWDEV-1 - Enable testing of OCLDynamic" into amd-staging
[ROCm/clr commit: 73f913be51]
2023-01-24 13:49:01 -05:00
jatang fb394b51ba SWDEV-1 - Enable testing of OCLDynamic
Change-Id: Iffdacd7804c40ccd2375a13bab582aae5c3d00e3


[ROCm/clr commit: 0865d29ee1]
2023-01-24 13:47:32 -05:00
German Andryeyev 45ed09d0cb SWDEV-372790 - Copy AQL packet from runtime setup
Scheduler in device queue requires relaunching itself. Make sure
scheduler uses exactly the same AQL packet as the host launch.

Change-Id: I4eb03c4c91bf2408a6d4607731f081a2e2c2c8ae


[ROCm/clr commit: b23c759746]
2023-01-24 10:25:45 -05:00
Jaydeep Patel 43565f0496 SWDEV-379125 - Check only if there is attr set for graph kernel node.
Change-Id: I8768b33ad27e75eb753d99d682edf60b31b240df


[ROCm/clr commit: 70bfc6145b]
2023-01-24 09:51:12 +00:00
Chauncey Hui 115f0c2f43 SWDEV-2 - Change OpenCL version number from 3560 to 3561
[ROCm/clr commit: be098d8f3f]
2023-01-24 03:00:08 -05:00
Satyanvesh Dittakavi d96114fd22 SWDEV-372396 - Address the errors in hiprtc headers with -Werror
Change-Id: Ied553216dfc2ff8b5c72de617cb47b6ca8f52063


[ROCm/clr commit: 0ccd41050b]
2023-01-23 17:25:42 +00:00
Jaydeep Patel 1884cc401c SWDEV-378157 - Correct log message
Change-Id: I6297693f67ae78a8874b976ac03353a81b728b1d


[ROCm/clr commit: 1e4a4162ff]
2023-01-23 12:06:18 -05:00
German 6eec7a361e SWDEV-377991 - Remove liquidflash support
Remove amdgpu-pro interface for persistent memory,
used in Liquidflash

Change-Id: I7d1720ad0875a62ebb2d7f96cba39601d560a5df


[ROCm/clr commit: 6dad2fc306]
2023-01-23 10:40:57 -05:00
kjayapra-amd b4ffe0e810 SWDEV-378006 - Adding a new guarantee macro to support printing args.
Change-Id: I9c838644e31a84d96a44b2bd10525a08d805a047


[ROCm/clr commit: b968394b4e]
2023-01-21 06:26:50 -05:00
Chauncey Hui e26fa3d525 SWDEV-2 - Change OpenCL version number from 3559 to 3560
[ROCm/clr commit: 8c421b62f2]
2023-01-21 03:00:06 -05:00
Jacob Lambert 8da846db0a SWDEV-376413 - Replace deprecated Comgr device-lib action
The Comgr ADD_DEVICE_LIBRARIES action has been deprecated. In place
of the previous two-action approach:

    AMD_COMGR_COMPILE_SOURCE_TO_BC
    AMD_COMGR_ADD_DEVICE_LIBRARIES

We can now use a single combined action:

    AMD_COMGR_COMPILE_SOURCE_WITH_DEVICE_LIBS_TO_BC

This new action more closely alings with how device library
management is done by the clang driver.

Change-Id: Id844e9031a1896dedeacec453440b9babc4b111a


[ROCm/clr commit: 0969056f66]
2023-01-20 15:52:00 -05:00
German b5b078e036 SWDEV-377991 - Remove liquidflash support
Change-Id: Iba6455e5c0210c3223a06fec332404cd9f489154


[ROCm/clr commit: 53a10c9039]
2023-01-20 09:57:06 -05:00
Chauncey Hui 304d9e1430 SWDEV-2 - Change OpenCL version number from 3558 to 3559
[ROCm/clr commit: 46518cba6a]
2023-01-20 03:00:09 -05:00
Anusha GodavarthySurya f14b3d669b SWDEV-371123 - Fix seg fault when running hashcat app
Change-Id: I0c66d881b8dfae322f58a644860ecce4fb18debd


[ROCm/clr commit: 89e9f9db58]
2023-01-19 15:50:03 -05:00
Maneesh Gupta 7b3cf2e9d7 SWDEV-378321 - Revert "SWDEV-1 - Directly call __builtin_amdgcn_fence"
This reverts commit 1de57c06b3.

Reason for revert: Root cause for regression SWDEV-378321

Change-Id: If3116c5ad1a23db1840e5fc019d2fe997b37d229


[ROCm/clr commit: 5b39c346ad]
2023-01-19 13:01:27 -05:00