Grafico dei commit

1434 Commit

Autore SHA1 Messaggio Data
Satyanvesh Dittakavi 6bbcf08fc8 SWDEV-292714 - Added support for hipPointerGetAttribute and
hipDrvPointerGetAttributes

Change-Id: I44a0b5c5d9eb5a9a63406b11e8de83e5cb245a59


[ROCm/clr commit: 760f275861]
2022-02-02 05:33:07 -05:00
pghafari 2ee642823d SWDEV-245531 - GLInterop adding register image
Change-Id: I075bec49b7ad5f78336586b9d55e259717c4c000


[ROCm/clr commit: 44e0c246f8]
2022-01-23 14:59:18 -05:00
Payam 3ba48819a1 SWDEV-245531 - GLInterop adding register image
Change-Id: Ib16b647e2a1b8f3c578a9689d3987121c984250b


[ROCm/clr commit: 5f9d779324]
2022-01-14 15:57:24 -05:00
Nick Curtis 925805d186 Fix missing system-scope for CAS in atomic[Min|Max]_system
Change-Id: Ieb0ca79eaeba3a0ae56739246e08135a25a8d6dd


[ROCm/clr commit: c8103470d5]
2022-01-12 22:53:11 -05:00
haoyuan2 3bdc78b813 SWDEV-315924 - align with CUDA to define vector3 data type
Change-Id: I7654fb757b4c387a762f384ccdd3f2c8555d149f


[ROCm/clr commit: 0f94653447]
2022-01-06 17:35:56 -05:00
Tao Sang 8929cc4544 SWDEV-315590 - Fix texture vector issue
Apply mapFrom() to related texture device functions.

Change-Id: Ifed918c87373b784780b2180320ccb746845daff


[ROCm/clr commit: 78de8cd672]
2022-01-04 19:26:14 -05:00
Tao Sang 77bb6fd205 SWDEV-315590 - Fix texture fetch issue
Add mapFrom() to map "float __attribute__((ext_vector_type(4)))"
of output of low-level device function to right vector.

Change-Id: Ifed915c87273b784780b2180320ccb746845dafb


[ROCm/clr commit: 7de480760b]
2022-01-04 13:38:57 -05:00
haoyuan2 abbb7b9bc5 SWDEV-316052 - fix HIP_Directed tests build error
Change-Id: I782c68859f77934f2cf672ee53378e51b1cb1ddd


[ROCm/clr commit: 8a8581edf5]
2021-12-21 03:21:53 -05:00
haoyuan2 96a8e4e234 SWDEV-303956 - add make_int2/3/4 and make_float2/3/4 function support
Change-Id: I0260d1a9d2ac66e84dc31a80b0995616ef78b0fe


[ROCm/clr commit: a8b30291c3]
2021-12-15 14:57:36 -08:00
haoyuan2 7301a84351 SWDEV-303956 - align with CUDA to define float4 data type
Change-Id: I9ad1315e5899a8c0cf1812302b27010d88015f88


[ROCm/clr commit: 937415141c]
2021-12-14 15:22:43 -05:00
Satyanvesh Dittakavi a8fde39f74 SWDEV-311744 - Update floating point max/min atomic implementation
Clang builtins doesnt yet support max/min atomics with float/double
parameters, Hence modify atomicMax/Min to use compare and swap
implementation

Change-Id: Ia351f9b136129fe25f0eddcbbb17549553247182


[ROCm/clr commit: f3c5f12d26]
2021-12-07 13:29:44 -05:00
Tao Sang 68c75c9fb7 SWDEV-303204 - Disable texture/image Apis on some devices
If the target device doesn't support image,
compiler will send out unavailable error if device texture apis
are called; and host texture apis will return hipErrorNotSupported.
Remove useless include/hip/amd_detail/texture_functions.h.
Add hipDeviceAttributeImageSupport attribute to check image
support in runtime.
Add __HIP_NO_IMAGE_SUPPORT(=1) macro in device code to indicate
texture apis not supported.
Change-Id: Ia891493e681a61980a2444859a90e046a9ebea39


[ROCm/clr commit: 5acc8b5102]
2021-12-04 08:14:08 -05:00
haoyuan2 6c68d56c17 SWDEV-309292 - add hipPos definition in CUDA path
Change-Id: Ia81d5db77d7403cafb583fda8083d0f4dbe33835


[ROCm/clr commit: 69117705c8]
2021-12-04 04:40:34 -05:00
cjatin 2982b73c91 SWDEV-307407 - Add hiprtc's type traits function to match implementation of libcxx
Change-Id: I0a10eca329f817bbe31bdc47869b2de104d12d38


[ROCm/clr commit: 5b08779b25]
2021-12-02 23:32:23 -05:00
anusha GodavarthySurya 7cac13e36e SWDEV-305766 - Added new debug APIs to get build information
Change-Id: Ibbf0c010cd8f7e6e659f2c4ba932cc8436574431


[ROCm/clr commit: e90cb3b07b]
2021-12-02 12:20:51 -05:00
anusha GodavarthySurya 1d922d6d57 SWDEV-240808 - Added nvidia handling for few graph APIs
Change-Id: I8edee87ea75d80152418f76cc8a521b2ba58f139


[ROCm/clr commit: a6bf18791e]
2021-11-22 07:17:34 -08:00
Tao Sang f970a1be0f SWDEV-306947 Enable hipAddressModeBorder
Enable hipAddressModeBorder.
Fix default of height of hipMallocArray().
Some code improvement.

Change-Id: I57045118e7adf915074c547cbe76349a4cfd72d8


[ROCm/clr commit: 17cc99c05d]
2021-10-27 10:05:53 -04:00
anusha GodavarthySurya 78f89618cb SWDEV-240806 - Added few Graph API Implementation
hipGraph APIs clone, childGraph, RemoveDependencies, GetEdges,GetDependencies, GetDependentNodes, GetType and DestroyNode
hipStream APIs GetCaptureInfo, GetCaptureInfo_v2, UpdateCaptureDependencies.

Change-Id: Ib0f4cb8ea335698eecdd6d744ffab1e954153673


[ROCm/clr commit: 1c51d82dd5]
2021-10-05 07:44:54 -07:00
anusha GodavarthySurya ea786b1810 SWDEV-240806 - Added few more Graph APIs
Change-Id: I028a1fdf30232b0c47443685e03d7ca410d2a0d0


[ROCm/clr commit: 1111468b49]
2021-10-05 07:37:11 -04:00
Jatin Chaudhary 257bb9d2fc SWDEV-304552 - Add default to return the last error value
Change-Id: Ia399033e30aaa454a454067f5afc6f7d1e5ff8dd


[ROCm/clr commit: 4cd4d2d280]
2021-10-04 07:23:10 -04:00
Sarbojit Sarkar 2e1449e9af SWDEV-304076 - Fix for Cuda build error
Change-Id: Ibca63a08b8d6d1235b51a06c0bc024cd284cee97


[ROCm/clr commit: 70e1fb6a5b]
2021-09-27 23:55:52 -04:00
Sarbojit Sarkar b97595d514 SWDEV-298667 - fix stream operation for Cuda
Change-Id: Ida91712e678e324b54293ba48dfca442be390783


[ROCm/clr commit: 7aaad05910]
2021-09-21 15:07:15 -04:00
Satyanvesh Dittakavi e7a40bf6f6 SWDEV-302147 - fix __hip_ds_permutef device function to return float
Change-Id: Ie452e90a7f7410401df4a66de468ad850403953c


[ROCm/clr commit: 673c2deed1]
2021-09-14 02:15:53 -04:00
Satyanvesh Dittakavi 5bfa893ac8 SWDEV-301330 - Remove the hard coded driver version on HIP CUDA platform
Change-Id: I0eb10781acc7524174c7ae6fc552c824b7c94b0a


[ROCm/clr commit: b25e6d3716]
2021-09-02 09:03:04 +00:00
Jatin Chaudhary 7b095ace14 SWDEV-293749 - Add cast before calling the builtin
Change-Id: I6224a3693f91a5b4e040bd76918ab04a56a6454b


[ROCm/clr commit: feed2de479]
2021-08-24 10:35:52 -04:00
cjatin d898f71794 SWDEV-296918 - Adding unsafe atomic add operation for float and double type
Change-Id: I98eabb7412f604733a999bf5e89c2c80b91cfbb1


[ROCm/clr commit: 06e1e4f0de]
2021-08-14 12:22:53 +05:30
Sourabh Betigeri 1cbb056f4c SWDEV-297689 - Moving the vendor specific builtin function calls to hip_cooperative_helper.h header file
Change-Id: I797bdde8fbb01285dfda0eac0f960ded260beb8e


[ROCm/clr commit: 8a4ca88477]
2021-08-02 19:14:42 -04:00
Rahul Garg ab2cc17a2e SWDEV-297563 - Move surface types
Change-Id: Ie2393fb32a30a76c39c81ce17497fa3b131a85b1


[ROCm/clr commit: ec39f62ee1]
2021-08-02 18:48:15 +00:00
Rahul Garg 62a018191f SWDEV-297563 - Move declarations to hip
Change-Id: Ifdab79945ea2e625e8cef5cd71d638552e9a740b


[ROCm/clr commit: 3dd9dbb359]
2021-08-02 11:56:08 -04:00
Anusha GodavarthySurya f25a9e8217 SWDEV-240806 - Added API hipGraphAddMemcpyNode1D, hipGraphAddEmptyNode, hipGraphExecKernelNodeSetParams
Change-Id: I0d7ec8c0ea1abc3fc0f1e10fa7865f355d9cf2ad


[ROCm/clr commit: a71f54d9e9]
2021-07-28 00:09:16 -04:00
Sarbojit Sarkar 597831dd66 SWDEV-292547 - hipStreamPerThread support
Change-Id: Id621ce073b0fee9eac03c59ffb78b197fda4ddb5


[ROCm/clr commit: c3ca1faee7]
2021-07-26 20:51:51 -04:00
Tao Sang f97143a0d9 SWDEV-294594 - Fix hipPointerGetAttributes test on NV
Replace return value of hipPointerGetAttributes() on NV from
hipErrorUnknown to hipErrorInvalidValue if memory has been freed.

Change-Id: I3fe6dbc35a7a14aa9109df297b7885df83d28149


[ROCm/clr commit: 203c4b9b35]
2021-07-26 11:30:22 -04:00
Sourabh Betigeri c396ebad94 SWDEV-292523 - [hipamd]Change in the signature of streamOperations APIs, particularly 'value' arg to unsigned 'value'
Change-Id: I7e31508622865b9986c886c4218ba394ffe9cf9e


[ROCm/clr commit: cbbf627662]
2021-07-22 16:24:27 -04:00
Christophe Paquot f9116b4328 SWDEV-281658 - Preserve the callback IDs enum ordering
Use continue instead of break to make sure we process the
whole hip_runtime_api.h file.

Change-Id: Ied2a8df69ed9eb1dc04d6b2d0d7b117ce2a2b6b3


[ROCm/clr commit: 9a510f1cf1]
2021-07-20 20:12:21 -07:00
kjayapra-amd d579eb9104 SWDEV-282289 - Use preprocessor directive for atomicAdd to support backward compatibility.
Change-Id: I73f058040afaa782bf6a491b8761a040fbd5b571


[ROCm/clr commit: a8e0ab621e]
2021-07-19 10:46:01 -04:00
Tao Sang 2fe45ab575 SWDEV-294588 - Enable NV printf DTests
Add hipLimitPrintfFifoSize.
Add hipDeviceSetLimit(hipLimit_t limit, size_t value) for NV.

Change-Id: Ife884e0c3081b317bdadc8bec7814d1d7c60153a


[ROCm/clr commit: e0ae326f4a]
2021-07-15 11:02:13 -04:00
Aaron Enye Shi 20f48d91aa SWDEV-294395 - HIPRTC add definitions for amd_hip_vector_types.h
Add typedefs for int32 and int64. Add templates provided in
system headers such as type_traits used in our HIP header
amd_hip_vector_types.h. Make replacements for clang builtin,
__is_convertible_to.

Change-Id: I4129b3f4f37238e2dda5b64d55e5cffe4d4480c6


[ROCm/clr commit: ff8c20c092]
2021-07-15 05:41:51 -04:00
Anusha GodavarthySurya 5464d40940 SWDEV-240807 - Added Implementation for few more graph APIs
Change-Id: I76336a22233a208a3f54ff9e90f0c5bf4a1bddb4


[ROCm/clr commit: e5cbfa8ca9]
2021-07-14 20:56:36 -07:00
kjayapra-amd 2b5806542f SWDEV-278500 - Implement missing atomic APIs and types to match CUDA.
Change-Id: I5f5bd94af9b68853bf354c8f90da217434934ddd


[ROCm/clr commit: 4aab5c29ff]
2021-07-13 22:15:57 -04:00
German Andryeyev 43c91585b5 SWDEV-293583 - Correct a typo in hipStreamAttachMemAsync
Change-Id: I69eb4d126e36a783603e6097fc2faab661dc63cb


[ROCm/clr commit: 14019c2833]
2021-07-12 13:14:09 -04:00
Michael LIAO 4528b90f85 Revert "SWDEV-293408 Add atomicInc_system and atomicDec_system"
This reverts commit 5ea09794fc.

Change-Id: I808b52758cc08882daa7fc889e53ca4c2fe64a61


[ROCm/clr commit: 68289d1dfe]
2021-07-09 13:47:39 -04:00
agunashe fae697b4d6 SWDEV-293742 - Update copyrights end year for hipamd
Change-Id: I08f620f84563a9214b59f1b943ed091b67229eab


[ROCm/clr commit: d9d9e81acb]
2021-07-09 12:08:39 -04:00
Christophe Paquot e3a6104868 SWDEV-281658 - Preserve the callback IDs enum ordering
This change addresses the rocprofiler and HIP backward compatibility
issues. Before this patch, each time the hip_prof_str.h header was
generated, the ordering of the callbacks IDs changed, causing
incompatibilities between tools compiled with the old header and
runtimes compiled with the new headers (or vice versa).

To make the API callback IDs stable, the previous version of the header
is read to extract the enum values so that the same values can be
assigned in the new header.

Also, to make diffing different versions of the hip_prof_str.h easier
to read, all other sections (types, macros, helper functions) are now
alphabetically ordered.

If an update to the checked-in hip_prof_str.h file is required, the
cmake build is aborted and a message printed on stderr. The build will
not be successful until the checked-in hip_prof_str.h and the generated
hip_prof_str.h match.

Change-Id: I38b920e601185f7365a76a6584df91a7e8a11798


[ROCm/clr commit: d208afcb36]
2021-07-09 11:17:09 -04:00
Aaron En Ye Shi 5555c7eed9 SWDEV-284682 - Revert Workaround RTC macro in vector types
Re-enable __HIPCC_RTC__ in hip_vector_types.h which require
an upstream clang patch, 6823af0ca858b54e09e5be61a19d067ccd0bd6b7.
Once upstream patch has landed in mainline, merge this for
hiprtc functionality.

Change-Id: Ife884e0c3081b307bdadc8bec7804d1d7c60153b


[ROCm/clr commit: e5a1f25424]
2021-07-08 12:49:04 -04:00
Michael LIAO 5ea09794fc SWDEV-293408 Add atomicInc_system and atomicDec_system
- Also revise the implementation of atomicInc/atomicDec based on clang
  builtins.

Change-Id: Ia5e06e88c7be1da5f8fc7ac70037a120c604e343


[ROCm/clr commit: 45205c5e53]
2021-07-08 11:42:16 -04:00
Anusha GodavarthySurya 58cbab41ef SWDEV-240806 - hipGraph support for nvidia path
Change-Id: Idb51b3ed7ca65474afac0dc714c9097294d46bd2


[ROCm/clr commit: 52bc5d7d1f]
2021-07-07 06:51:21 -04:00
Maneesh Gupta c2268df391 SWDEV-234709 - SWDEV-258907 - Reimplement assert() using the new fprintf_stderr facility
This reverts commit 125de2dbe6.

Change-Id: Ic1bbf4e4e6f950934d9ba02224ef61a96bdd0e9b


[ROCm/clr commit: 1e35b26108]
2021-07-07 00:57:36 -07:00
Rahul Garg f808c4e28a SWDEV-293541 - Update copyright for external reference
Change-Id: I0e7522d24313c1974ff4936c81df3159794ea953


[ROCm/clr commit: 67be27c184]
2021-07-06 12:56:39 -04:00
Jatin 52dd6c20c9 SWDEV-245414 - fix nvcc CI breakage
Change-Id: I34ff533f34cfc2f60abefc0d8f6c6d8266d30f61


[ROCm/clr commit: 19a30de0a6]
2021-06-26 13:31:10 +05:30
Sarbojit Sarkar b99ebf8d00 SWDEV-284435 - StreamOps mapping with cuda drv API
Change-Id: I6ed9196cfe59d9004338206f6dd8d6fb367b3ffa


[ROCm/clr commit: 7e3c17c023]
2021-06-25 12:20:40 -04:00