Commit graph

6713 Commits

Autor SHA1 Nachricht Datum
Ioannis Assiouras d29a2e545d SWDEV-374392 - Make hipMemCpy2/3DAsync synchronous for any HostToHost and DeviceToPageableHost
Change-Id: Iaa411681a49427a9e9b3a06e90abb0b32f5a6851
2022-12-21 14:59:39 -05:00
Ioannis Assiouras b83271b4ca SWDEV-374402 - Added check for invalid events in hipExtLaunchKernel
Change-Id: I8dfd69aa1ef38971a72b98c723d2099347a66d11
2022-12-21 12:37:12 -05:00
Jaydeep Patel 845bf0adb4 SWDEV-374382 - Change hip error type to context is destroyed instead for invalid stream.
Change-Id: I5ed22463204d7bff3741599eeced3d030da78fc4
2022-12-21 12:54:39 +00:00
Jaydeep Patel 148f67a36d SWDEV-374394 - Correct hip error for invalid stream.
Change-Id: I96949c58e050cb3149ab8434aebe0f1a97a6e857
2022-12-20 21:27:56 -05:00
Ioannis Assiouras f4f377bcaa SWDEV-374402 - Added input stream check for hipExtLaunchKernel
Change-Id: I42915c3b9b10b4a4a5b3ae74b6a2dccc8fddbf7f
2022-12-20 14:29:58 -05:00
Ioannis Assiouras 97c5f772c6 SWDEV-374400, SWDEV-374404 - Change error message in hipFuncGetAttribute(s) to match nvidia.
Change-Id: I95b69a49ced24115f0aebc288ea067a49b770aca
2022-12-20 12:49:17 -05:00
pghafari 3b143cf3a2 SWDEV-369575, SWDEV-369568, SWDEV-369574 - matching
matching cuda return value

hipModuleLaunchKernel and hipExtModuleLaunchKernel matching with cuda in
negative cases

Change-Id: I636070924c81116dccbfa74f693061c60530de45
2022-12-20 12:24:23 -05:00
Jaydeep Patel 027f71ccfb SWDEV-374395 - Correct rhs.
Change-Id: I433d60344a6d23bc48f4db58d5501af89bc1989c
2022-12-20 11:38:11 +00:00
Satyanvesh Dittakavi 627e689ad7 SWDEV-370552 - Improve hiprtc performance by passing the right flags to comgr
Change-Id: I99674b033d1248d9b34ac598b4780bd84a38c279
2022-12-19 06:16:56 -05:00
Satyanvesh Dittakavi e90721435b SWDEV-372767 - Fix hipCUB and rocWMMA build failures
Change-Id: If3672fd50075c67cfce4d94e73b1376c4aa8d2ae
2022-12-16 03:08:18 -05:00
pghafari c0f779fdf1 SWDEV-369576, SWDEV-369578, SWDEV-369577, SWDEV-369579, SWDEV-369563 - matching cuda return value
SWDEV-369576, SWDEV-369578, SWDEV-369579, SWDEV-369563 - matching cuda return value

Change-Id: I21b598e959571979307238c485492eb7fe2388cc
2022-12-16 01:12:49 -05:00
kjayapra-amd 2f8847bfbd SWDEV-363865 - Use COMGR path to unbundle code object in HIPRTC.
Change-Id: Ifca29ea0c6ff319c3f584397e542a1658d220c4a
2022-12-15 07:16:55 -05:00
Jacob Lambert 2835ff1a63 SWDEV-322000 - Removing scoped locks in code regions with Comgr calls
Comgr now internally locks to avoid multi-threading issues with LLVM

Change-Id: I74b903d373af55c2efade17a9caf31fda3ca1795
2022-12-14 12:40:45 -05:00
Ioannis Assiouras 30e740023b SWDEV-369548 - Disallow opening an ipc mem handle in the originating process.
Change-Id: Icce5e41a220566141bd7d92b7199d477f60bed8e
2022-12-14 04:52:21 -05:00
Ioannis Assiouras 1274f2a54c SWDEV-373235 - Fixed segfault when nullptr function is passed to hipKernelNameRef
Change-Id: If23fbbd19ad92fd0b3fa888dca09e7fe705c0c56
2022-12-13 07:09:03 -05:00
Anusha GodavarthySurya 0fcc5557bd SWDEV-325711 - Node can be enabled/disabled only for kernel, memcpy and memset nodes
Change-Id: Id9c19a14655732d61fccee9c3d1ffa0614123468
2022-12-13 05:08:38 +00:00
Anusha GodavarthySurya 5bcfb07c85 SWDEV-372521 - Fix copy of unused kernel attributes
Change-Id: Ib93f27d68cedac2182ba6dac0c234cc71c2c4229
2022-12-13 03:44:10 +00:00
kjayapra-amd f7c194edf7 SWDEV-371904 - Adding pseudo fine grain flag to hsa memory allocation for device fine grained memory.
Change-Id: I8c605d6bc3ac905bfffc6de3a56911151ef0e663
2022-12-12 11:40:00 -05:00
pghafari 698f52acd8 SWDEV-369566, SWDEV-369565, SWDEV-369564 - match with cuda return
Change-Id: I308f5344a64e5a06aa89685de9348f6722c196da
2022-12-12 09:53:18 -05:00
Jacob Lambert 02daeb01b4 SWDEV-370606 - Omit deprecation warnings from Werror
Comgr would like to include deprecation warnings for soon-to-be-removed
features. Therefore, when building with Comgr headers we need to
exclude deprecation warnings from Werror

Change-Id: I6c9563be3e066c493dd8e459fc07c7523e2854e3
2022-12-09 18:07:44 -05:00
Satyanvesh Dittakavi 91291e48db SWDEV-372032 - Support cooperative groups header with HIPRTC
Change-Id: Ia64652fd52b210a4eeee9d38fdfdfa6fdc7163ff
2022-12-09 04:45:59 -05:00
Satyanvesh Dittakavi 88270b34f2 SWDEV-366306 - SWDEV-366314 - Add hip vector types and hip bfloat16 to HIPRTC cmake
Change-Id: If4213c3ca9446afe931c6b111c220033987e0204
2022-12-09 04:43:51 -05:00
Ioannis Assiouras 337976febf SWDEV-369581 - Convey copy API metadata to ROCclr
Change-Id: I6fcd2c2dbec887199de538326a7826bd29a25ca0
2022-12-09 00:27:35 -05:00
pghafari 52878fd039 SWDEV-369668 - update error check for hipGetError
Change-Id: I8f991237d59d04c9b6b3965a453ba3f54718eb43
2022-12-08 15:56:49 -05:00
German Andryeyev 6d3b8d0106 SWDEV-353281 - Relax prof script validation
Report a warning on HIP header mismatch

Change-Id: Ib6fb32161b7de14881ef88cff6c95e6b432999db
2022-12-08 12:57:13 -05:00
sdashmiz fefff25364 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
2022-12-08 11:41:37 -05:00
pghafari 5acc2cdcc2 SWDEV-368166 - hipGraphAddMemcpyNode1D paramcheck
adding parameter check for hipGraphAddMemcpyNode1D

Change-Id: I94dc944bd55ea04b8e9288a27c8f58dd3720161b
2022-12-07 18:29:11 -05:00
Jaydeep Patel e2279b3869 SWDEV-366086 - Validations for negative scinerios.
Change-Id: Icca87de775bf7f8c4d18f911f7bee21fafdcff55
2022-12-06 21:27:37 -05:00
kjayapra-amd 5e4f430e03 SWDEV-241902 - Using COMGR APIs for extracting Code object.
Change-Id: I2dd662babf805d2de6e037bf41f7306e523da7d5
2022-12-06 12:17:12 -08:00
Ioannis Assiouras 6847427dd4 SWDEV-369572 - Check for valid stream before capture
Change-Id: I712ce136327ad459a048d84d1caeec506ed1cc39
2022-12-05 22:09:07 +00:00
Satyanvesh Dittakavi d413375d51 SWDEV-369955 - Support hipDrvGetErrorString and hipDrvGetErrorName on Nvidia headers
Change-Id: I54cfa8faed2f45f310682625f94952aa3c2ee27f
2022-12-02 11:52:07 -05:00
pghafari 539ee310c3 SWDEV-369668 - updating return for invalid value
Change-Id: Ia380dd418845c84f5ab910b32dfd4907af06852d
2022-12-01 23:34:03 -05:00
pghafari 4d744547eb SWDEV-366397 - updating gl interop flag check
Change-Id: Ifefd5d4590216e3b73031cc25789aac2e8db541a
2022-12-01 22:32:28 -05:00
Anusha GodavarthySurya ac0db17b54 SWDEV-371206, SWDEV-371163 - Fix hipGraphNodeGetEnabled/SetEnabled negative scenarios
Change-Id: Icf4bcca743c2188ee89dbdc8eb32d9d727b95227
2022-12-01 12:28:29 -05:00
Satyanvesh Dittakavi 450d0941ca SWDEV-370841 - Correct the devicelibs library bitcode used by hiprtc
Change-Id: I1f2ab9ca4ab2947f42e101c37bb3e6a046e32d5b
2022-12-01 12:00:36 -05:00
Satyanvesh Dittakavi 1deee433d0 SWDEV-287842 - Add int8_t and int16_t support in hiprtc
Change-Id: I03bb967068f1a29e85ce8d9410f78de4af9589c4
2022-12-01 11:58:46 -05:00
sdashmiz f93dfb2a4e 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
2022-11-30 13:45:26 -05:00
Rakesh Roy 4f5d180ca7 SWDEV-368881 - Revert enable hipLaunchCooperativeKernel for hipRTC compiled function
This reverts commit b4d8586a11.

Reason for revert: Doesn't match with CUDA behavior

Change-Id: I413f3d241f864c1e7c21681c5fff8f216ef54306
2022-11-30 03:58:29 -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
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
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