Граф коммитов

1625 Коммитов

Автор SHA1 Сообщение Дата
Jatin Chaudhary 5698bb89ce SWDEV-367537 - Add missing operators to __hip_bfloat16 implementation
Add __host__ and __device__ to bunch of operator/function matching CUDA
Fix some bugs seen in __hisinf

Change-Id: I9e67e3e3eb2083b463158f3e250e5221c89b2896


[ROCm/clr commit: 86bd518981]
2023-11-06 18:08:37 -05:00
taosang2 6ea1a64c56 SWDEV-426270 - Remove duplicated operators
Remove duplicated operators of hipComplexFloat and
hipComplexDouble.
If users need complex number multiplication and division,
they should call
hipCmulf() and hipCdivf() for hipComplexFloat,
hipCmul() and hipCdiv() for hipComplexComplex

SWDEV-428198 - Add missing operators

Add missing operators of vectors in host

Change-Id: Ie58d1642d579e7119997db49a9fd6a6641b666fd


[ROCm/clr commit: d4799b2a3f]
2023-11-01 12:59:28 -04:00
sdashmiz 9b297f0006 SWDEV-417075 - add hipDrvAddMemCpyNode
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Ie631d7b1788f10171a29d463759a3cba3b2b2007

SWDEV-417075 - add hipDrvGraphAddMemcpyNode

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


[ROCm/clr commit: 9b567e1799]
2023-10-31 09:55:42 -04:00
Jaydeep Patel 39ae3fedd5 SWDEV-428198 - Revert "SWDEV-426270 - Remove duplicated operators"
This reverts commit 5f945e937d.

Change-Id: I4973424b5f8d6f2b0d8496dda346b9d6dbba13ae


[ROCm/clr commit: 76e3ffeb81]
2023-10-27 01:51:03 -04:00
taosang2 5f945e937d SWDEV-426270 - Remove duplicated operators
Remove duplicated operators of hipComplexFloat and
hipComplexDouble.
If users need complex number multiplication and division,
they should call
hipCmulf() and hipCdivf() for hipComplexFloat,
hipCmul() and hipCdiv() for hipComplexComplex

Change-Id: Ie58d1642d578e7118997db40a9fd6a6641b666fd


[ROCm/clr commit: 0ca61130a2]
2023-10-18 14:56:32 -04:00
Satyanvesh Dittakavi 239fdc3bfd SWDEV-419480 - HIPRTC implementation of standard headers shouldn't be in std namespace
HIPRTC implementation of few type traits are defined in std
namespace which causes conflicts with the std C++ headers when
apps try to include those std headers. Instead, use the
specific implementation of these headers from __hip_internal
namespace to avoid this.

Change-Id: Ia358df159af8783d1eba9a19cd458e192bf7e9e6


[ROCm/clr commit: 353dbe6e3b]
2023-10-16 13:10:55 -04:00
Rahul Garg 8b30637507 SWDEV-415029 - [ABI Break] Remove hcc symbols
This reverts commit 34aa551075.

Reason for revert: Bring back original change

Change-Id: Ie20e80f6e9b7d67a28e3a255abaf82018eb61e7a


[ROCm/clr commit: 8fe1d9dda1]
2023-10-16 07:34:43 -04:00
Maneesh Gupta 515ea1eb56 SWDEV-418100 - Move nv headers to hipother repo
Change-Id: Ib54546e366b61bdb83789d8264f30f1bfb875605


[ROCm/clr commit: 67dda1ffd6]
2023-10-14 06:56:13 +00:00
Jaydeep Patel 90e078b5f4 SWDEV-425490 - Move ptrdiff_t & clock_t to hiprtc.cmake.
Change-Id: I7c8ce3c1b8cb11e0253b0f51ae10fca7f0a32017


[ROCm/clr commit: 7150b2eaad]
2023-10-13 00:58:56 -04:00
sdashmiz fcfa0d0733 SWDEV-332969 - [ABI Break]Substitute hipArray* with hipArray_t
- hipArray will be an internal struct from rocm6.0

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


[ROCm/clr commit: c089ef4a2b]
2023-10-12 12:09:19 -04:00
Jatin Chaudhary 15b062b9b4 SWDEV-306642 - [ABI Break] Add texture/surface/device capabilities device struct entries
- alias hipGetDeviceProperties to hipGetDevicePropertiesR0600
- alias hipDeviceProp_t to hipDeviceProp_tR0600
- remove gcnArch from new device property struct
- add new requested struct members

Change-Id: If3f5dbef3d608487d9f6f419285f4bf577ea9bf0


[ROCm/clr commit: 2989840511]
2023-10-12 11:16:18 -04:00
Rakesh Roy 34aa551075 SWDEV-425967, SWDEV-425968 - Revert "SWDEV-415029 - [ABI Break] Remove hcc symbols"
This reverts commit 088704abeb.

Reason for revert: This causes build failure in hipBLASLt & hipSPARSELt

Change-Id: I59f6aeb8b82261b77eb978e53407bc56be1d0cf1


[ROCm/clr commit: 2535fac296]
2023-10-09 06:30:19 -04:00
Jaydeep Patel 38fec06989 SWDEV-425490 - ptrdiff_t differs on windows and linux.
Change-Id: I5b943e869a6552870aa268be898182e806161b3c


[ROCm/clr commit: 46de4256e0]
2023-10-06 16:04:52 -04:00
Ioannis Assiouras 08c94b9a3d SWDEV-420989 - Initialize tiled_info meta_group_rank and meta_group_size
Change-Id: I6792e928702d0fef81f18e74eaead3ad3a8fbb7b


[ROCm/clr commit: 43126bc19b]
2023-10-06 05:43:04 -04:00
Satyanvesh Dittakavi 6e2d845def SWDEV-424273 - Address MIGraphX tests staging failure
Change-Id: I5f51b62a0046f567603008974fda029d40d7656b


[ROCm/clr commit: f64ead62be]
2023-10-05 15:55:54 -04:00
taosang2 c9b9210059 SWDEV-299127 - Support External Mipmap
Support hipExternalMemoryGetMappedMipmappedArray().
Add ImageExternalBuffer to differiate ImageBuffer.
Currently we only support tiling_optimal mode as
vulkan driver doesn't provide tiling information.

Change-Id: I7e3524cdde53e4df9f728894bcebf4bd3f58d4d9


[ROCm/clr commit: 6398f604b0]
2023-10-05 09:58:17 -04:00
Julia Jiang f77b4f705a SWDEV-425362 - Fix GL section on HIP API module
Change-Id: I6824758a4744739a596a96e04053eec8e16516cc


[ROCm/clr commit: 3eb46ae588]
2023-10-04 14:26:45 -04:00
Ioannis Assiouras dda3517ead SWDEV-425129 - Revert "SWDEV-420822 - [ABI Break] Merge hipFunction_attribute into hipFuncAttribute"
This reverts commit 1502016756.

Change-Id: I02d6e77f0874fc37f22de267435917edd4fdede3


[ROCm/clr commit: bf31109241]
2023-10-03 11:32:19 +01:00
Ioannis Assiouras 1502016756 SWDEV-420822 - [ABI Break] Merge hipFunction_attribute into hipFuncAttribute
Change-Id: I9b9f7979e9b8dd422d9064c17c79a25bf7248d30


[ROCm/clr commit: c469f18e91]
2023-10-01 06:52:12 -04:00
Ioannis Assiouras 3019f041c9 SWDEV-398472 - [ABI Break] Added new include file for openGL interop APIs
Change-Id: Ic6debaadbffd6e773015cb365943bd0ae6f71966


[ROCm/clr commit: ae9a956fd3]
2023-09-30 11:46:32 -04:00
Jatin Chaudhary b624ca8896 SWDEV-410898 - Add includes in files that use them
Change-Id: I14d9ea233d57c7267da3f9688305b949ced71a53


[ROCm/clr commit: 0668f20780]
2023-09-25 08:45:22 -04:00
Jatin Chaudhary f62807d411 SWDEV-421819 - Add ptrdiff_t and clock_t.
Rework types inside new __HIP_NO_STD_DEFS__ guard

Change-Id: I2b67381c01ba497b323864afe0a8d1402e396748


[ROCm/clr commit: 49bb6a4072]
2023-09-22 05:07:52 -04:00
Satyanvesh Dittakavi 9ee9f04cdd SWDEV-407358 - Address MIGraphx -Werror issue with unsafe buffer access
Change-Id: If4189dfbf12b670af60782f09ff8cf9b9867c299


[ROCm/clr commit: 16fb3ca923]
2023-09-22 04:50:32 -04:00
Ioannis Assiouras fb17aa5c41 SWDEV-401489 - [ABI Break] Removed hipModuleLaunchKernelExt
Change-Id: I0b31d9db755f8a89ead203dbd238a93c18b76855


[ROCm/clr commit: fe2d747bcc]
2023-09-21 23:50:16 -04:00
Jatin Chaudhary 6abb81112d SWDEV-422808 - Add E5M2 and E4M3 for nvidia headers
Change-Id: Ib40e75c1b2e18d75164607a46e95fc322363c08e


[ROCm/clr commit: 15ba5c0004]
2023-09-21 11:57:04 -04:00
Satyanvesh Dittakavi 78a3dc739d SWDEV-395996 - Add HIPRTC support for missing hip headers
hip headers such as hip_math_constants.h, library_types.h,
hip_common.h, channel_descriptor.h, device_functions.h, hip_complex.h,
hip_texture_types.h, math_functions.h, surface_types.h
are added in HIPRTC

Change-Id: I4a4c198449ceb609c3ff55e00b43056c1f085431


[ROCm/clr commit: d7d0f11318]
2023-09-21 03:11:06 -04:00
Jatin Chaudhary 98b3f79d45 SWDEV-418230 - fix warning seen in HIP headers
This PR fixes warning seen on HIP headers due to -Wignored-attributes.
The warning is attributes for a variable must precede definition.
This also fixes a potential issue with C-style header where templates
were declared outside __cplusplus.

Change-Id: I78bfd391717c7891afb442ef79812ea630c0ff49


[ROCm/clr commit: 8fe5100d16]
2023-08-24 08:41:08 -04:00
Jatin Chaudhary 105212ef57 SWDEV-414425 - __half2's member variable should be __half instead of unsigned short
We currently have __half2 made up of unsigned short instead of __half.
This prevents users to do operation seamlessly when they want to operate on individual components.

Change-Id: I856917db905f68055fdf484f526707fe8ea3117d


[ROCm/clr commit: 19afdf719e]
2023-08-22 04:25:19 -04:00
taosang2 088704abeb SWDEV-415029 - [ABI Break] Remove hcc symbols
Change-Id: Ic0082d3960aadbb7ac559141b6e84bd29a75b5cd


[ROCm/clr commit: 051e1005f4]
2023-08-10 21:21:01 -04:00
Satyanvesh Dittakavi 54c3576dd1 Github-3225 - Fix hip on cuda build issue with -default-stream=per-thread
Change-Id: I0485891c265617c213964f4130e90fbca9d801d4


[ROCm/clr commit: ee3714e916]
2023-08-04 06:15:47 -04:00
Maneesh Gupta 045ec1919e Revert "SWDEV-264166 - [ABI Break] goodbye gcnArch, hello gcnArchName"
This reverts commit 20add33513.

Change-Id: Ia7b9ca115be4f9591b195194eed967fc6c330012


[ROCm/clr commit: 8c89d16572]
2023-07-31 21:41:12 -04:00
Jatin Chaudhary 20add33513 SWDEV-264166 - [ABI Break] goodbye gcnArch, hello gcnArchName
Change-Id: I4b31284243a801f92f0be9468c25db7d027d9a13


[ROCm/clr commit: f136a576f5]
2023-07-25 02:51:29 -04:00
Jatin Chaudhary dfc4d60ec4 SWDEV-412457 - remove unused header, add correct header for cpp
Change-Id: I2192daec7c033e94097c26db6177e14558a8728d


[ROCm/clr commit: b67d055eb6]
2023-07-21 11:30:59 -04:00
Jatin Chaudhary 9c28f156e4 SWDEV-411156 - Use _Float16 instead of unsigned short values
Change-Id: I23387bf27b2bd70fb47a3a36ffaf114e6c03e0bc


[ROCm/clr commit: 295963fe7a]
2023-07-20 01:03:32 +01:00
Ioannis Assiouras 2b1e2a860b SWDEV-398472 - Added new include file for openGL interop APIs for AMD backend
Change-Id: I255030b9e70e777c1ede998d5dcf554a266492c5


[ROCm/clr commit: 3a8e0dd1cb]
2023-07-17 11:57:36 -04:00
Sourabh Betigeri 178b3faa70 SWDEV-396657 - Using abort() instead of trap instruction to fix a compilation error
Change-Id: Ia6a3f58ca5891c5700dd7853e088c51fef1a1e09


[ROCm/clr commit: c46adc9b56]
2023-07-13 18:48:05 -04:00
Jaydeep Patel c2b7aa6b73 SWDEV-407692 - Add def values to match non spt API declaration and match HIP_SYMBOL with nvidia_hip_runtime.h.
Change-Id: I8d87aa1b14fec6ca73544c78a47e7ad385b99e21


[ROCm/clr commit: 5a68556c9b]
2023-07-01 01:05:46 -04:00
Sourabh Betigeri 4ed9d80104 SWDEV-396656 - Adds meta_group_rank and meta_group_size APIs in ROCm CG
Change-Id: I2ded1a97379dfa736219cffe28fe051c58ea1260


[ROCm/clr commit: a77fb5a1dd]
2023-06-27 12:24:10 -04:00
taosang2 3de5e3bba3 SWDEV-407139 - Update __hipMapVector
Update __hipMapVector to fix surface test
failure

Change-Id: I6179d9f3b2ddd4e42b9a6f7f3912322cfca22cff


[ROCm/clr commit: 7bea186750]
2023-06-26 23:56:05 -04:00
taosang2 b005d758b9 SWDEV-407139 - Update __hipMapVector
Update __hipMapVector for C++11

Change-Id: I6179d9f3b2ddf4e42b9a6f7f3912322cfca02cfe


[ROCm/clr commit: d9955b6707]
2023-06-25 23:15:21 -04:00
taosang2 0d9cc9efd2 SWDEV-368553 - Fix C build failure
Change-Id: I56d760fa6cf8544100e3bcf3d35129bd16d8a42f


[ROCm/clr commit: e9e69f4c07]
2023-06-23 18:47:53 -04:00
taosang2 9aa3a87b66 SWDEV-368553 – Add missing mipmap Apis
Add missing mipmap Apis’ implementation.
Fix some bugs of mimpmap apis.
Use hipmipmappedArray to differentiate cuda
and driver apis on Nvidia.
Change-Id: I6079d9f3b2ddf4e42b9a6f7f3902322cfca02cfd


[ROCm/clr commit: f03c11491b]
2023-06-22 17:24:21 -04:00
Sourabh Betigeri c00cd118d3 SWDEV-402274 - Adds CG API group_dim() in class thread_block
Change-Id: I1c2569fffbc6fc730df9ba80786459c71140d327


[ROCm/clr commit: 422d3ea035]
2023-06-21 20:10:19 -04:00
Jatin Chaudhary 0cd45b8cc7 SWDEV-399522 - Fix the issue #2 raised on github clr repo. Adds signed long long atomics
Change-Id: I09c386d45e219e472d2da1449f678b9d17fe3e2e


[ROCm/clr commit: be02e1e524]
2023-06-16 08:53:45 -04:00
Jatin Chaudhary 8913c4de4f SWDEV-400136 - change make_complex function name to make_hipComplex
Change-Id: Ia276610286df80ec35fe11f303eb9919eeda87dd


[ROCm/clr commit: f7f70a0880]
2023-06-15 09:02:38 -04:00
Ioannis Assiouras 917dc7ee82 SWDEV-401852 - Do not define hipCreateChannelDesc for long types in LP64
Change-Id: I56881a229ea666269d575c6bdfde5081562ec009


[ROCm/clr commit: 4f5dfa77bd]
2023-06-06 14:28:15 -04:00
Jaydeep Patel 7be6ca6306 SWDEV-404118 - Change to uint.
Change-Id: Ib9ced171a4330e868a584bfb86d7ee5418e784ed


[ROCm/clr commit: 9daf8e3177]
2023-06-06 13:17:56 -04:00
Ajay 06213e3b4b SWDEV-400515 - populate __HIP_NO_IMAGE_SUPPORT flag
MI300 does not support image APIs.
Apps to use __HIP_NO_IMAGE_SUPPORT instead of arch

Change-Id: I91178bfd27ea7b7188e7a958a876c0264f4469aa


[ROCm/clr commit: 16c6b365c2]
2023-06-06 12:11:41 -04:00
Satyanvesh Dittakavi d7b529ff6e SWDEV-395996 - Add double precision constants to math constants header
Fixes a typo and adds missing constants matching cuda

Change-Id: Iebf47d107af361cbd356c2a3b9cd6ef121d01363


[ROCm/clr commit: 287f607d2b]
2023-06-05 03:31:27 -04:00
Jaydeep Patel 6ab03957bb SWDEV-401847 - Update atomicMin/Max for float and double.
Change-Id: Ib5be459b8a24f0739e299ed12c9f877f8baa02b1


[ROCm/clr commit: d576356505]
2023-05-29 14:27:16 -04:00