Commit Graph

13474 Commits

Author SHA1 Message Date
Ioannis Assiouras b445717f72 SWDEV-369547 - Ensure that ipc_mem_detach is not called for non-ipcShared MemObj.
Change-Id: Ia73b60b9f08d593301879e0f72c395edbc215112
2022-11-30 02:16:13 -05:00
Anusha GodavarthySurya 16b31b0c54 SWDEV-325711 - Correct formatting
Change-Id: Ie26159e0bb3315cf7c3de1eb682f23ef343df0f2
2022-11-30 05:15:01 +00:00
Anusha GodavarthySurya 596b16da5a SWDEV-325711 - Added graph API hipGraphUpload
Change-Id: I7e4c8c997a5ef940000d599ded9d317d62b8826b
2022-11-30 04:40:17 +00:00
Your Name 3e47c052e0 SWDEV-368477 - hipOccupancyMaxPotentialBlockSizeVariableSMemWithFlags nvidia mapping
SWDEV-369618 - hipOccupancyMaxPotentialBlockSizeVariableSMemWithFlags invalid flag scenario
Change-Id: I2edbab5d3eeacf80bc215f0a77a46d733f4b4ec9
2022-11-29 12:38:39 -05:00
Chauncey Hui e74835795a SWDEV-2 - Change OpenCL version number from 3533 to 3534 2022-11-29 03:00:07 -05:00
Rakesh Roy cbc3a0a652 SWDEV-348820 - Fix hipPointerAttribute_t incompatibility
- Use hipPointerAttribute_t.type instead of hipPointerAttribute_t.memoryType

Change-Id: I3bf1c0758bdae987213ba7de62247dd420ef4cc9
2022-11-29 00:53:24 -05:00
Rakesh Roy b4d8586a11 SWDEV-368881 - Enable hipLaunchCooperativeKernel for hipRTC compiled function
- Add helper function to validate whether a dynamic function is present or not
- If getStatFunc fails, then check whether the function passed is a valid dynamic function

Change-Id: I4141172f42dce7ff689709560c483e602b5dad4b
2022-11-29 00:35:43 -05:00
Anusha GodavarthySurya 3a9621574c SWDEV-325711 - Added implementation for graph API hipGraphKernelNodeCopyAttributes
Change-Id: I576d0e81c69097fe881556f6d022bb7c7ca3287b
2022-11-29 02:53:14 +00:00
Anusha GodavarthySurya 1ab46fe7ae SWDEV-325711 - Added implementation for graph APIs GetEnabled & SetEnabled
Change-Id: I15a165b3dc548d00b7f5458e1b322b192b8c0d76
2022-11-28 21:50:36 -05:00
German 4471ed1210 SWDEV-1 - Clean-up map file in Linux
Change-Id: Ibfad648c8ec9897a0895057c501d383875e95730
2022-11-28 17:16:23 -05:00
Ioannis Assiouras 33cb388101 SWDEV-369557 - Added enum mapping for external[Semaphore/Memory]HandleType
Change-Id: If1b95b084f7fa312e6cdad4ccf433127671a35ce
2022-11-28 13:32:31 -05:00
kjayapra-amd 61b6a94627 SWDEV-358915 - Wait for 10 micro secs, if the next engine is SDMA.
Change-Id: Ib3ed91510e62090f47d4f55be8de635caaee083d
2022-11-28 12:14:16 -05:00
Tao Sang 530ec02aae SWDEV-368280 - Fix crash in graph stream capture
Fix crash in graph stream capture for hipExtModuleLaunchKernel.

Change-Id: Ieaaed1d15b4d268193d8341d4b1609f83a9e4789
2022-11-28 09:33:39 -05:00
Anusha GodavarthySurya f7ca4b8fb9 SWDEV-365299 - update implementation __float2half_{rd,ru,rz} to call __ocml_cvt{rtn, rtp, rtz}_f16_f32
Change-Id: I6cd711fbeb0e02a1caa03ac7f3dd9c8f8fdbac01
2022-11-25 16:27:02 +00:00
Anusha GodavarthySurya 766c40aab8 SWDEV-325711 - Added few graph API support for nvidia path
Change-Id: I4eb6e77220e201c85fdaa3a004590c4c5d5ea6c6
2022-11-25 09:08:32 -05:00
Anusha Godavarthy Surya 85296e280a SWDEV-240806 - Fix command release with new commands for every launch
Change-Id: Iecbf11a8f9e9b50f39858f2000a2d5266f0ef364
2022-11-25 09:30:45 +00:00
Anusha Godavarthy Surya 08c4619fab SWDEV-366653 - Added Implemention of DOT file generation for graph
Change-Id: I5ab6a58e49451b5e04f2e93bf594b985ac58cc8d
2022-11-24 11:02:21 -05:00
sdashmiz 5ec93c544e SWDEV-368695 - correct node type
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I23930be7d2f3415c14fc2ec3af4c526cb89d26f7
2022-11-24 10:35:34 -05:00
sdashmiz b665b9a6e8 SWDEV-365587 - reuse the id from capturing stream
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I65f5be3fcc4cffcf3eb5762fd0b43fd051c145c2
2022-11-24 10:35:14 -05:00
Ioannis Assiouras c5b08c621f SWDEV-364950 - Remove Scalar_accessors from HIP_vector_type
Change-Id: I13ecc213c98a1c7b5febcd43c0a21ee6db725f60
2022-11-24 09:40:54 -05:00
Pierre van Houtryve a312c0a956 Fix atomicInc/dec scope to "agent"
Addresses leftover comment of Icd1d9b9438cac4bef0f7c52d4cd341ac76500890

Change-Id: If9c395335497d634e4c702433d6e3681583bedef
2022-11-24 06:56:49 -05:00
Ranjith Ramakrishnan cb625e8fb2 SWDEV-310152 - ldconfig should be run from each components providing shared library, since rpath will be removed from binaries and libraries
Revert "SWDEV-310152 - Remove ldconfig from rocm-ocl-icd package"

This reverts commit 0f5c2f0ba8.

Change-Id: Id07f4c8b2915c4ed7937094087ddba8402444da9
2022-11-23 13:03:40 -05:00
Ioannis Assiouras 432f5fbc97 SWDEV-364950 - Add trivial copy assignment for HIP_vector_type under HIP_CLANG_ONLY path
Change-Id: I56a1003ba32c748631c7751b2e6a49e12e48afcb
2022-11-23 16:56:39 +00:00
Anusha GodavarthySurya 78eef7f173 SWDEV-366653 - Added new graph APIs - Fix windows build
Change-Id: I580133bddcbab5529aecfb70bc9776e8c40de697
2022-11-23 08:57:49 +00:00
Anusha GodavarthySurya 446a3fc688 SWDEV-354074 - cache hsa queue and delete when device is destroyed
Change-Id: I26365521d785f0bc612e32bdcdb6caacb3af9a11
2022-11-23 07:17:45 +00:00
Anusha Godavarthy Surya 93ce12c90d SWDEV-325711 - Added Graph APIs hipGraphDebugDotPrint, hipGraphKernelNodeCopyAttributes
hipGraphNodeGetEnabled, hipGraphNodeSetEnabled and hipGraphUpload

Change-Id: Ib5a58fbc0a9b3f134eb56d42cd945f3d7f4922d8
2022-11-22 23:20:25 -05:00
Maneesh Gupta fab70a41ed Revert "SWDEV-330775 - Update search path for LLVM"
This reverts commit 3d15f9cbda.

Reason for revert: SWDEV-368704

Change-Id: I8c38b4f40285f90f7d99145b970c2a14d051d5bb
2022-11-22 09:14:24 -05:00
Chauncey Hui dd810ecfbc SWDEV-2 - Change OpenCL version number from 3532 to 3533 2022-11-22 03:00:19 -05:00
Ranjith Ramakrishnan 447d1d1d57 SWDEV-366823 - Change pragma message to warning
File reorganization feature was implemented with backward compatibility
The backward compatibility support will be deprecated in future release.
Changed the #pragma message to #warning for a smooth transition

Change-Id: I0857f40602204511eb122367f81c5a81bde537a2
2022-11-21 12:02:07 -05:00
sdashmiz c5e7b56463 SWDEV-366974 - add proper error
- Null stream correct error when blocing stream is being captured

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I0d902a4f4ef02736a6db60ba7bffa7c20011bc84
2022-11-21 10:39:21 -05:00
Ranjith Ramakrishnan 0f5c2f0ba8 SWDEV-310152 - Remove ldconfig from rocm-ocl-icd package
ldconfig functionality moved from rocm-ocl-icd to rocm-core package

Depends-On: I1148fb36240c2e63994743ccf135e51e90695c37
Depends-On: I7ba908865187d578c273b20bf31a08a3458fbbfb
Change-Id: I4769c31df12fa3f1bb8baa283e0647ce9254e594
2022-11-21 03:48:17 -05:00
Tao Sang 3b2a8f3c8b SWDEV-306410 - Remove program lock
Remove global program lock in order to fix too
long kernel launch overhead with multi-threads
on MGPUs.
This patch depends on a compiler patch that makes
LC thread safe.
Change-Id: Ic8a7374d19112764d6de5d483ec5d07a56661d1b
2022-11-20 14:42:24 -05:00
Chauncey Hui c6c10d0127 SWDEV-2 - Change OpenCL version number from 3531 to 3532 2022-11-20 03:00:08 -05:00
Alex Xie 9e00c674c8 SWDEV-363271 - Add some performance counter logs
Change-Id: I368ba4afe47357eb6051b2a06f762b8050e5a560
2022-11-19 16:27:14 -05:00
Chauncey Hui 686ad01a24 SWDEV-2 - Change OpenCL version number from 3530 to 3531 2022-11-19 03:00:08 -05:00
German Andryeyev 5e7094d504 Merge "SWDEV-368308 - Remove HW debug extension" into amd-staging 2022-11-18 18:36:58 -05:00
German 92f0607f87 SWDEV-368308 - Remove HW debug extension
Remove the header file, used in rocclr.

Change-Id: I1dfdbb05fdcbaf32708252071e8955d2ca94126d
2022-11-18 14:04:17 -05:00
German e5a36ab1ad SWDEV-368308 - Remove HW debug extension
Change-Id: If0c68023c09f0dac9111d52ecc0ad63719aa4e70
2022-11-18 10:29:44 -05:00
Satyanvesh Dittakavi 5f4aa2e994 SWDEV-366306 - SWDEV-366314 - Support hip vector types and hip_bfloat16 with hiprtc
Also, moves the hip_bfloat16 header implemenation from hip
to hipamd

Change-Id: I9980126fa1ee8160ff9f5f8241f64699a9702c95
2022-11-18 06:58:31 -05:00
Chauncey Hui 80d444b2f1 SWDEV-2 - Change OpenCL version number from 3529 to 3530 2022-11-18 03:00:08 -05:00
Ranjith Ramakrishnan 0bafb4683a SWDEV-366823 - Change pragma message to warning
File reorganization feature was implemented with backward compatibility
The backward compatibility support will be deprecated in future release.
Changed the #pragma message to #warning for a smooth transition

Change-Id: If917a0bef9bbc347f08ca02435d70d517f175afc
2022-11-17 20:19:55 -05:00
German 79d12df147 SWDEV-363074 - Adjust staging copy limits in Windows
Pinned copy can cause big performance drops, because slow pinning under Windows.
Use up to 128MB for staging transfers. Change staging buffer size to 4MB.
Linux path should still have the old defaults.

Change-Id: I954edceb3ec89e8e670be116aa2d0a9564c8b11c
2022-11-17 14:48:16 -05:00
Julia Jiang 30c43056c1 SWDEV-340754 - Update coordinates in coperatative helper
Change-Id: Ibf4e833d10ea5c317900e83f020c9c23f55f3951
2022-11-17 14:17:58 -05:00
kjayapra-amd 0d9e1de4e3 SWDEV-241902 - Using COMGR APIs for extracing code object.
Change-Id: I96f1cee9c28f89f0b0fa5af0c2ae7966beb3207d
2022-11-17 11:09:59 -05:00
German b40823ccc1 SWDEV-328670 - Enable ROCr interop
Change-Id: I932afa2a0e75b1f1771c4be1e984b32966636afb
2022-11-17 09:40:34 -05:00
Juan Manuel MARTINEZ CAAMAÑO bab23480d3 SWDEV-286150 - [NFC] Avoid copying the entire devicePrograms map
Change-Id: I059f979d9bcdf6604aa3630b40fd47475b75fc30
2022-11-17 03:15:55 -05:00
Maneesh Gupta 1c45f257b9 Revert "SWDEV-363069 - Disable sync force for MT"
This reverts commit 52ff4368e5.

Reason for revert: SWDEV-365075, SWDEV-367163, SWDEV-367164, SWDEV-367173

Change-Id: Id2924c60e46e9879038ded358f777c71cd95b2c1
2022-11-17 01:04:44 -05:00
German 0db20050bc SWDEV-368308 - Remove HW debug extension
The extension was devloped for AMDIL path only.
OCL runtime doesn't support AMDIL path  anymore.
The new debugger interfaces don't require any runtime calls either.

Change-Id: I6215545f9b6ae5c70b5f076c3cbfbfd3b5eef42b
2022-11-16 17:37:06 -05:00
Jaydeep Patel c800d2126d SWDEV-366088 - Default case returns -1 as enum value.
Change-Id: I8dd5cac254c99e4de9f6d492e71060e39b069507
2022-11-15 22:12:12 -05:00
German 2cde04bf9b SWDEV-367745 - Report hipDeviceAttributeUnifiedAddressing
Change-Id: I4d1d598f64f613430fecdc0d6b4cfa9845e04687
2022-11-15 15:53:02 -05:00