Commit graph

6690 Commits

Autor SHA1 Nachricht Datum
pghafari f1dda2b2b3 SWDEV-369668 - update error check for hipGetError
Change-Id: I8f991237d59d04c9b6b3965a453ba3f54718eb43


[ROCm/clr commit: 52878fd039]
2022-12-08 15:56:49 -05:00
German Andryeyev b4f089f6e7 SWDEV-353281 - Relax prof script validation
Report a warning on HIP header mismatch

Change-Id: Ib6fb32161b7de14881ef88cff6c95e6b432999db


[ROCm/clr commit: 6d3b8d0106]
2022-12-08 12:57:13 -05:00
sdashmiz 6a661a9f15 SWDEV-367833 - return success for null stream
- return success for query on null stream

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


[ROCm/clr commit: fefff25364]
2022-12-08 11:41:37 -05:00
pghafari ed6108c2d6 SWDEV-368166 - hipGraphAddMemcpyNode1D paramcheck
adding parameter check for hipGraphAddMemcpyNode1D

Change-Id: I94dc944bd55ea04b8e9288a27c8f58dd3720161b


[ROCm/clr commit: 5acc2cdcc2]
2022-12-07 18:29:11 -05:00
Jaydeep Patel 2411eeba32 SWDEV-366086 - Validations for negative scinerios.
Change-Id: Icca87de775bf7f8c4d18f911f7bee21fafdcff55


[ROCm/clr commit: e2279b3869]
2022-12-06 21:27:37 -05:00
kjayapra-amd 74adc2e9f2 SWDEV-241902 - Using COMGR APIs for extracting Code object.
Change-Id: I2dd662babf805d2de6e037bf41f7306e523da7d5


[ROCm/clr commit: 5e4f430e03]
2022-12-06 12:17:12 -08:00
Ioannis Assiouras 1ac4a6e0c3 SWDEV-369572 - Check for valid stream before capture
Change-Id: I712ce136327ad459a048d84d1caeec506ed1cc39


[ROCm/clr commit: 6847427dd4]
2022-12-05 22:09:07 +00:00
Satyanvesh Dittakavi 63d37c8ae7 SWDEV-369955 - Support hipDrvGetErrorString and hipDrvGetErrorName on Nvidia headers
Change-Id: I54cfa8faed2f45f310682625f94952aa3c2ee27f


[ROCm/clr commit: d413375d51]
2022-12-02 11:52:07 -05:00
pghafari f14e820eba SWDEV-369668 - updating return for invalid value
Change-Id: Ia380dd418845c84f5ab910b32dfd4907af06852d


[ROCm/clr commit: 539ee310c3]
2022-12-01 23:34:03 -05:00
pghafari e1c7a692cd SWDEV-366397 - updating gl interop flag check
Change-Id: Ifefd5d4590216e3b73031cc25789aac2e8db541a


[ROCm/clr commit: 4d744547eb]
2022-12-01 22:32:28 -05:00
Anusha GodavarthySurya 38b4f50f9c SWDEV-371206, SWDEV-371163 - Fix hipGraphNodeGetEnabled/SetEnabled negative scenarios
Change-Id: Icf4bcca743c2188ee89dbdc8eb32d9d727b95227


[ROCm/clr commit: ac0db17b54]
2022-12-01 12:28:29 -05:00
Satyanvesh Dittakavi db752c6295 SWDEV-370841 - Correct the devicelibs library bitcode used by hiprtc
Change-Id: I1f2ab9ca4ab2947f42e101c37bb3e6a046e32d5b


[ROCm/clr commit: 450d0941ca]
2022-12-01 12:00:36 -05:00
Satyanvesh Dittakavi f6d130cfd7 SWDEV-287842 - Add int8_t and int16_t support in hiprtc
Change-Id: I03bb967068f1a29e85ce8d9410f78de4af9589c4


[ROCm/clr commit: 1deee433d0]
2022-12-01 11:58:46 -05:00
sdashmiz 7c73bbece6 SWDEV-366974 - return implicit capture for null stream
- return implicit error if null sream is passed while blocing stream is
  in operation

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


[ROCm/clr commit: f93dfb2a4e]
2022-11-30 13:45:26 -05:00
Rakesh Roy 9ec5dee45c SWDEV-368881 - Revert enable hipLaunchCooperativeKernel for hipRTC compiled function
This reverts commit f870f04dd9.

Reason for revert: Doesn't match with CUDA behavior

Change-Id: I413f3d241f864c1e7c21681c5fff8f216ef54306


[ROCm/clr commit: 4f5d180ca7]
2022-11-30 03:58:29 -05:00
Anusha GodavarthySurya e7fa085afe SWDEV-325711 - Correct formatting
Change-Id: Ie26159e0bb3315cf7c3de1eb682f23ef343df0f2


[ROCm/clr commit: 16b31b0c54]
2022-11-30 05:15:01 +00:00
Anusha GodavarthySurya 5780c7066f SWDEV-325711 - Added graph API hipGraphUpload
Change-Id: I7e4c8c997a5ef940000d599ded9d317d62b8826b


[ROCm/clr commit: 596b16da5a]
2022-11-30 04:40:17 +00:00
Your Name dd18b3b01b SWDEV-368477 - hipOccupancyMaxPotentialBlockSizeVariableSMemWithFlags nvidia mapping
SWDEV-369618 - hipOccupancyMaxPotentialBlockSizeVariableSMemWithFlags invalid flag scenario
Change-Id: I2edbab5d3eeacf80bc215f0a77a46d733f4b4ec9


[ROCm/clr commit: 3e47c052e0]
2022-11-29 12:38:39 -05:00
Rakesh Roy ff8d9d3c77 SWDEV-348820 - Fix hipPointerAttribute_t incompatibility
- Use hipPointerAttribute_t.type instead of hipPointerAttribute_t.memoryType

Change-Id: I3bf1c0758bdae987213ba7de62247dd420ef4cc9


[ROCm/clr commit: cbc3a0a652]
2022-11-29 00:53:24 -05:00
Rakesh Roy f870f04dd9 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


[ROCm/clr commit: b4d8586a11]
2022-11-29 00:35:43 -05:00
Anusha GodavarthySurya f97723d118 SWDEV-325711 - Added implementation for graph API hipGraphKernelNodeCopyAttributes
Change-Id: I576d0e81c69097fe881556f6d022bb7c7ca3287b


[ROCm/clr commit: 3a9621574c]
2022-11-29 02:53:14 +00:00
Anusha GodavarthySurya 58201c1b92 SWDEV-325711 - Added implementation for graph APIs GetEnabled & SetEnabled
Change-Id: I15a165b3dc548d00b7f5458e1b322b192b8c0d76


[ROCm/clr commit: 1ab46fe7ae]
2022-11-28 21:50:36 -05:00
German 15e4fa1264 SWDEV-1 - Clean-up map file in Linux
Change-Id: Ibfad648c8ec9897a0895057c501d383875e95730


[ROCm/clr commit: 4471ed1210]
2022-11-28 17:16:23 -05:00
Ioannis Assiouras 312b9e13ed SWDEV-369557 - Added enum mapping for external[Semaphore/Memory]HandleType
Change-Id: If1b95b084f7fa312e6cdad4ccf433127671a35ce


[ROCm/clr commit: 33cb388101]
2022-11-28 13:32:31 -05:00
Tao Sang 9d1ce7a68f SWDEV-368280 - Fix crash in graph stream capture
Fix crash in graph stream capture for hipExtModuleLaunchKernel.

Change-Id: Ieaaed1d15b4d268193d8341d4b1609f83a9e4789


[ROCm/clr commit: 530ec02aae]
2022-11-28 09:33:39 -05:00
Anusha GodavarthySurya 65d01b5347 SWDEV-365299 - update implementation __float2half_{rd,ru,rz} to call __ocml_cvt{rtn, rtp, rtz}_f16_f32
Change-Id: I6cd711fbeb0e02a1caa03ac7f3dd9c8f8fdbac01


[ROCm/clr commit: f7ca4b8fb9]
2022-11-25 16:27:02 +00:00
Anusha GodavarthySurya bb6872fa86 SWDEV-325711 - Added few graph API support for nvidia path
Change-Id: I4eb6e77220e201c85fdaa3a004590c4c5d5ea6c6


[ROCm/clr commit: 766c40aab8]
2022-11-25 09:08:32 -05:00
Anusha Godavarthy Surya b1fe9498c5 SWDEV-240806 - Fix command release with new commands for every launch
Change-Id: Iecbf11a8f9e9b50f39858f2000a2d5266f0ef364


[ROCm/clr commit: 85296e280a]
2022-11-25 09:30:45 +00:00
Anusha Godavarthy Surya a13afd3aca SWDEV-366653 - Added Implemention of DOT file generation for graph
Change-Id: I5ab6a58e49451b5e04f2e93bf594b985ac58cc8d


[ROCm/clr commit: 08c4619fab]
2022-11-24 11:02:21 -05:00
sdashmiz 29c1a7543b SWDEV-368695 - correct node type
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I23930be7d2f3415c14fc2ec3af4c526cb89d26f7


[ROCm/clr commit: 5ec93c544e]
2022-11-24 10:35:34 -05:00
sdashmiz bafdaa4f31 SWDEV-365587 - reuse the id from capturing stream
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I65f5be3fcc4cffcf3eb5762fd0b43fd051c145c2


[ROCm/clr commit: b665b9a6e8]
2022-11-24 10:35:14 -05:00
Ioannis Assiouras 26a1c72182 SWDEV-364950 - Remove Scalar_accessors from HIP_vector_type
Change-Id: I13ecc213c98a1c7b5febcd43c0a21ee6db725f60


[ROCm/clr commit: c5b08c621f]
2022-11-24 09:40:54 -05:00
Pierre van Houtryve 64e080a99d Fix atomicInc/dec scope to "agent"
Addresses leftover comment of Icd1d9b9438cac4bef0f7c52d4cd341ac76500890

Change-Id: If9c395335497d634e4c702433d6e3681583bedef


[ROCm/clr commit: a312c0a956]
2022-11-24 06:56:49 -05:00
Ioannis Assiouras bee5fcc4b6 SWDEV-364950 - Add trivial copy assignment for HIP_vector_type under HIP_CLANG_ONLY path
Change-Id: I56a1003ba32c748631c7751b2e6a49e12e48afcb


[ROCm/clr commit: 432f5fbc97]
2022-11-23 16:56:39 +00:00
Anusha GodavarthySurya 0645ad4576 SWDEV-366653 - Added new graph APIs - Fix windows build
Change-Id: I580133bddcbab5529aecfb70bc9776e8c40de697


[ROCm/clr commit: 78eef7f173]
2022-11-23 08:57:49 +00:00
Anusha Godavarthy Surya ed6595bc41 SWDEV-325711 - Added Graph APIs hipGraphDebugDotPrint, hipGraphKernelNodeCopyAttributes
hipGraphNodeGetEnabled, hipGraphNodeSetEnabled and hipGraphUpload

Change-Id: Ib5a58fbc0a9b3f134eb56d42cd945f3d7f4922d8


[ROCm/clr commit: 93ce12c90d]
2022-11-22 23:20:25 -05:00
Maneesh Gupta 3a7b8156a3 Revert "SWDEV-330775 - Update search path for LLVM"
This reverts commit f31b0874fd.

Reason for revert: SWDEV-368704

Change-Id: I8c38b4f40285f90f7d99145b970c2a14d051d5bb


[ROCm/clr commit: fab70a41ed]
2022-11-22 09:14:24 -05:00
Ranjith Ramakrishnan 2c258551c1 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


[ROCm/clr commit: 447d1d1d57]
2022-11-21 12:02:07 -05:00
sdashmiz dc97f3719e 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


[ROCm/clr commit: c5e7b56463]
2022-11-21 10:39:21 -05:00
Satyanvesh Dittakavi 243d4dacd1 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


[ROCm/clr commit: 5f4aa2e994]
2022-11-18 06:58:31 -05:00
Julia Jiang d5a8c3fbf9 SWDEV-340754 - Update coordinates in coperatative helper
Change-Id: Ibf4e833d10ea5c317900e83f020c9c23f55f3951


[ROCm/clr commit: 30c43056c1]
2022-11-17 14:17:58 -05:00
Maneesh Gupta 6594768a22 Revert "SWDEV-363069 - Disable sync force for MT"
This reverts commit e3f6a5fa0d.

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

Change-Id: Id2924c60e46e9879038ded358f777c71cd95b2c1


[ROCm/clr commit: 1c45f257b9]
2022-11-17 01:04:44 -05:00
Jaydeep Patel b7318ab24c SWDEV-366088 - Default case returns -1 as enum value.
Change-Id: I8dd5cac254c99e4de9f6d492e71060e39b069507


[ROCm/clr commit: c800d2126d]
2022-11-15 22:12:12 -05:00
German c6707887ed SWDEV-367745 - Report hipDeviceAttributeUnifiedAddressing
Change-Id: I4d1d598f64f613430fecdc0d6b4cfa9845e04687


[ROCm/clr commit: 2cde04bf9b]
2022-11-15 15:53:02 -05:00
pghafari 418f1d6460 SWDEV-356560 - updating error msg to match cuda
Change-Id: I1c387cf04d041257b4d168b4cf4d8949153fd69f


[ROCm/clr commit: 06edbb8177]
2022-11-15 13:19:33 -05:00
Rakesh Roy 8eb0efc660 SWDEV-362366 - Add validation for hipInit flags
- Return hipErrorInvalidValue when flags != 0

Change-Id: Ib2a7ea2acf083fa859d6c3bd91a12b39e877b4fd


[ROCm/clr commit: 2b426a632f]
2022-11-14 23:52:32 -05:00
Maneesh Gupta 9bb2ce01d8 SWDEV-361840 - Remove duplicate entry in backward-compat.cmake
Change-Id: I7cc95ce6894f7891aa34188238413036d825daf7


[ROCm/clr commit: 7cb650f154]
2022-11-14 23:15:23 -05:00
Daria Materikina d388a7fad7 make header intel-compatible
Change-Id: I8f8b68ba23e8f86dfeaf7c7b464f2b6ca6999971


[ROCm/clr commit: 834d9d3a3c]
2022-11-14 17:59:01 -05:00
Siu Chi Chan f31b0874fd SWDEV-330775 - Update search path for LLVM
ROCm's LLVM will be moved into /opt/rocm-<ver>/lib/, teach hipcc and
hipconfig about the new location.

Change-Id: Ie7f17146771aff94c684deb22148226cbb3a2895


[ROCm/clr commit: 3d15f9cbda]
2022-11-14 13:31:07 -05:00
Julia Jiang 59c0ec10cc SWDEV-352687 - fix AlignedAllocMem in hmm
Change-Id: Icec74ac732a0a6ac2a2600f504aa1ec73717c0ca


[ROCm/clr commit: c9ce9b3300]
2022-11-14 13:10:02 -05:00