Jaydeep Patel
76e3ffeb81
SWDEV-428198 - Revert "SWDEV-426270 - Remove duplicated operators"
...
This reverts commit 0ca61130a2 .
Change-Id: I4973424b5f8d6f2b0d8496dda346b9d6dbba13ae
2023-10-27 01:51:03 -04:00
taosang2
0ca61130a2
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
2023-10-18 14:56:32 -04:00
Satyanvesh Dittakavi
353dbe6e3b
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
2023-10-16 13:10:55 -04:00
Rahul Garg
8fe1d9dda1
SWDEV-415029 - [ABI Break] Remove hcc symbols
...
This reverts commit 2535fac296 .
Reason for revert: Bring back original change
Change-Id: Ie20e80f6e9b7d67a28e3a255abaf82018eb61e7a
2023-10-16 07:34:43 -04:00
Maneesh Gupta
67dda1ffd6
SWDEV-418100 - Move nv headers to hipother repo
...
Change-Id: Ib54546e366b61bdb83789d8264f30f1bfb875605
2023-10-14 06:56:13 +00:00
Jaydeep Patel
7150b2eaad
SWDEV-425490 - Move ptrdiff_t & clock_t to hiprtc.cmake.
...
Change-Id: I7c8ce3c1b8cb11e0253b0f51ae10fca7f0a32017
2023-10-13 00:58:56 -04:00
sdashmiz
c089ef4a2b
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
2023-10-12 12:09:19 -04:00
Jatin Chaudhary
2989840511
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
2023-10-12 11:16:18 -04:00
Rakesh Roy
2535fac296
SWDEV-425967, SWDEV-425968 - Revert "SWDEV-415029 - [ABI Break] Remove hcc symbols"
...
This reverts commit 051e1005f4 .
Reason for revert: This causes build failure in hipBLASLt & hipSPARSELt
Change-Id: I59f6aeb8b82261b77eb978e53407bc56be1d0cf1
2023-10-09 06:30:19 -04:00
Jaydeep Patel
46de4256e0
SWDEV-425490 - ptrdiff_t differs on windows and linux.
...
Change-Id: I5b943e869a6552870aa268be898182e806161b3c
2023-10-06 16:04:52 -04:00
Ioannis Assiouras
43126bc19b
SWDEV-420989 - Initialize tiled_info meta_group_rank and meta_group_size
...
Change-Id: I6792e928702d0fef81f18e74eaead3ad3a8fbb7b
2023-10-06 05:43:04 -04:00
Satyanvesh Dittakavi
f64ead62be
SWDEV-424273 - Address MIGraphX tests staging failure
...
Change-Id: I5f51b62a0046f567603008974fda029d40d7656b
2023-10-05 15:55:54 -04:00
taosang2
6398f604b0
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
2023-10-05 09:58:17 -04:00
Julia Jiang
3eb46ae588
SWDEV-425362 - Fix GL section on HIP API module
...
Change-Id: I6824758a4744739a596a96e04053eec8e16516cc
2023-10-04 14:26:45 -04:00
Ioannis Assiouras
bf31109241
SWDEV-425129 - Revert "SWDEV-420822 - [ABI Break] Merge hipFunction_attribute into hipFuncAttribute"
...
This reverts commit c469f18e91 .
Change-Id: I02d6e77f0874fc37f22de267435917edd4fdede3
2023-10-03 11:32:19 +01:00
Ioannis Assiouras
c469f18e91
SWDEV-420822 - [ABI Break] Merge hipFunction_attribute into hipFuncAttribute
...
Change-Id: I9b9f7979e9b8dd422d9064c17c79a25bf7248d30
2023-10-01 06:52:12 -04:00
Ioannis Assiouras
ae9a956fd3
SWDEV-398472 - [ABI Break] Added new include file for openGL interop APIs
...
Change-Id: Ic6debaadbffd6e773015cb365943bd0ae6f71966
2023-09-30 11:46:32 -04:00
Jatin Chaudhary
0668f20780
SWDEV-410898 - Add includes in files that use them
...
Change-Id: I14d9ea233d57c7267da3f9688305b949ced71a53
2023-09-25 08:45:22 -04:00
Jatin Chaudhary
49bb6a4072
SWDEV-421819 - Add ptrdiff_t and clock_t.
...
Rework types inside new __HIP_NO_STD_DEFS__ guard
Change-Id: I2b67381c01ba497b323864afe0a8d1402e396748
2023-09-22 05:07:52 -04:00
Satyanvesh Dittakavi
16fb3ca923
SWDEV-407358 - Address MIGraphx -Werror issue with unsafe buffer access
...
Change-Id: If4189dfbf12b670af60782f09ff8cf9b9867c299
2023-09-22 04:50:32 -04:00
Ioannis Assiouras
fe2d747bcc
SWDEV-401489 - [ABI Break] Removed hipModuleLaunchKernelExt
...
Change-Id: I0b31d9db755f8a89ead203dbd238a93c18b76855
2023-09-21 23:50:16 -04:00
Jatin Chaudhary
15ba5c0004
SWDEV-422808 - Add E5M2 and E4M3 for nvidia headers
...
Change-Id: Ib40e75c1b2e18d75164607a46e95fc322363c08e
2023-09-21 11:57:04 -04:00
Satyanvesh Dittakavi
d7d0f11318
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
2023-09-21 03:11:06 -04:00
Jatin Chaudhary
8fe5100d16
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
2023-08-24 08:41:08 -04:00
Jatin Chaudhary
19afdf719e
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
2023-08-22 04:25:19 -04:00
taosang2
051e1005f4
SWDEV-415029 - [ABI Break] Remove hcc symbols
...
Change-Id: Ic0082d3960aadbb7ac559141b6e84bd29a75b5cd
2023-08-10 21:21:01 -04:00
Satyanvesh Dittakavi
ee3714e916
Github-3225 - Fix hip on cuda build issue with -default-stream=per-thread
...
Change-Id: I0485891c265617c213964f4130e90fbca9d801d4
2023-08-04 06:15:47 -04:00
Maneesh Gupta
8c89d16572
Revert "SWDEV-264166 - [ABI Break] goodbye gcnArch, hello gcnArchName"
...
This reverts commit f136a576f5 .
Change-Id: Ia7b9ca115be4f9591b195194eed967fc6c330012
2023-07-31 21:41:12 -04:00
Jatin Chaudhary
f136a576f5
SWDEV-264166 - [ABI Break] goodbye gcnArch, hello gcnArchName
...
Change-Id: I4b31284243a801f92f0be9468c25db7d027d9a13
2023-07-25 02:51:29 -04:00
Jatin Chaudhary
b67d055eb6
SWDEV-412457 - remove unused header, add correct header for cpp
...
Change-Id: I2192daec7c033e94097c26db6177e14558a8728d
2023-07-21 11:30:59 -04:00
Jatin Chaudhary
295963fe7a
SWDEV-411156 - Use _Float16 instead of unsigned short values
...
Change-Id: I23387bf27b2bd70fb47a3a36ffaf114e6c03e0bc
2023-07-20 01:03:32 +01:00
Ioannis Assiouras
3a8e0dd1cb
SWDEV-398472 - Added new include file for openGL interop APIs for AMD backend
...
Change-Id: I255030b9e70e777c1ede998d5dcf554a266492c5
2023-07-17 11:57:36 -04:00
Sourabh Betigeri
c46adc9b56
SWDEV-396657 - Using abort() instead of trap instruction to fix a compilation error
...
Change-Id: Ia6a3f58ca5891c5700dd7853e088c51fef1a1e09
2023-07-13 18:48:05 -04:00
Jaydeep Patel
5a68556c9b
SWDEV-407692 - Add def values to match non spt API declaration and match HIP_SYMBOL with nvidia_hip_runtime.h.
...
Change-Id: I8d87aa1b14fec6ca73544c78a47e7ad385b99e21
2023-07-01 01:05:46 -04:00
Sourabh Betigeri
a77fb5a1dd
SWDEV-396656 - Adds meta_group_rank and meta_group_size APIs in ROCm CG
...
Change-Id: I2ded1a97379dfa736219cffe28fe051c58ea1260
2023-06-27 12:24:10 -04:00
taosang2
7bea186750
SWDEV-407139 - Update __hipMapVector
...
Update __hipMapVector to fix surface test
failure
Change-Id: I6179d9f3b2ddd4e42b9a6f7f3912322cfca22cff
2023-06-26 23:56:05 -04:00
taosang2
d9955b6707
SWDEV-407139 - Update __hipMapVector
...
Update __hipMapVector for C++11
Change-Id: I6179d9f3b2ddf4e42b9a6f7f3912322cfca02cfe
2023-06-25 23:15:21 -04:00
taosang2
e9e69f4c07
SWDEV-368553 - Fix C build failure
...
Change-Id: I56d760fa6cf8544100e3bcf3d35129bd16d8a42f
2023-06-23 18:47:53 -04:00
taosang2
f03c11491b
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
2023-06-22 17:24:21 -04:00
Sourabh Betigeri
422d3ea035
SWDEV-402274 - Adds CG API group_dim() in class thread_block
...
Change-Id: I1c2569fffbc6fc730df9ba80786459c71140d327
2023-06-21 20:10:19 -04:00
Jatin Chaudhary
be02e1e524
SWDEV-399522 - Fix the issue #2 raised on github clr repo. Adds signed long long atomics
...
Change-Id: I09c386d45e219e472d2da1449f678b9d17fe3e2e
2023-06-16 08:53:45 -04:00
Jatin Chaudhary
f7f70a0880
SWDEV-400136 - change make_complex function name to make_hipComplex
...
Change-Id: Ia276610286df80ec35fe11f303eb9919eeda87dd
2023-06-15 09:02:38 -04:00
Ioannis Assiouras
4f5dfa77bd
SWDEV-401852 - Do not define hipCreateChannelDesc for long types in LP64
...
Change-Id: I56881a229ea666269d575c6bdfde5081562ec009
2023-06-06 14:28:15 -04:00
Jaydeep Patel
9daf8e3177
SWDEV-404118 - Change to uint.
...
Change-Id: Ib9ced171a4330e868a584bfb86d7ee5418e784ed
2023-06-06 13:17:56 -04:00
Ajay
16c6b365c2
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
2023-06-06 12:11:41 -04:00
Satyanvesh Dittakavi
287f607d2b
SWDEV-395996 - Add double precision constants to math constants header
...
Fixes a typo and adds missing constants matching cuda
Change-Id: Iebf47d107af361cbd356c2a3b9cd6ef121d01363
2023-06-05 03:31:27 -04:00
Jaydeep Patel
d576356505
SWDEV-401847 - Update atomicMin/Max for float and double.
...
Change-Id: Ib5be459b8a24f0739e299ed12c9f877f8baa02b1
2023-05-29 14:27:16 -04:00
Satyanvesh Dittakavi
586731c2cc
SWDEV-401850 - Fix hipCreateChannelDescHalf APIs
...
- Address ChannelDescHalf1 and ChannelDescHalf2 APIs not returning
correct Channel Descriptors in amd headers
- Add missing hipCreateChannelDescHalf APIs in nvidia headers
Change-Id: I558847425c2459d3cde329ca2e926d882bb0a9dd
2023-05-25 04:36:24 -04:00
kjayapra-amd
feb22250f3
SWDEV-393910 - Adding CAS expanders under gfx941 tag.
...
Change-Id: I2c4bcf56be419d1f037b8555ad254a2dc49d0c5b
2023-05-22 09:59:05 -04:00
sdashmiz
23e99dbb07
SWDEV-396533 - correct _shfl function to match cuda
...
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: I311419fd25c055339f25fe0c7a132ec9ee225600
2023-05-17 14:19:46 -04:00