نمودار کامیت

6094 کامیت‌ها

مولف SHA1 پیام تاریخ
Christophe Paquot 9488cd1194 SWDEV-240807 - Fix header file
Remove class useage from header file

Change-Id: Ibe1a59241f000cc162dd865484c313e56c4db95f


[ROCm/clr commit: 223c0364f8]
2021-07-20 20:32:55 -04:00
Julia Jiang d407cc46ee SWDEV-288929 - update hipamd document
Change-Id: I638afb4c7f0b96df3f0c1cc0b3bf04ab57692d27


[ROCm/clr commit: 70e18827a6]
2021-07-19 17:21:39 -04: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
David Salinas 340ed39723 SWDEV-287640 - rename llvm-amdgpu pkg to rocm-llvm
package llvm-amdgpu is being renamed to rocm-llvm

Change-Id: Ifc0a4deef981b3cced6225b5d1ba1a07d34f0e8b


[ROCm/clr commit: 11c28b9fe3]
2021-07-16 14:44:01 -04:00
Vladislav Sytchenko e89543a8bb SWDEV-240807 - Fix Windows builds
Unimplemented APIs should not be in the linker export script.

Change-Id: Ieabfc829bf950bc49e79f2851fb247a4c95b9427


[ROCm/clr commit: f7f418c101]
2021-07-15 11:34:49 -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 a620f5b973 SWDEV-283267 - HIPRTC Pass COMGR correct msvc flags
On Windows, to enable comgr and hiprtc to enable compilation,
provide the correct target flags. Otherwise comgr cannot
figure out which platform to compile for.

Change-Id: I6426e518c8d695342cb49df0ebdeac0437da83df


[ROCm/clr commit: 58246c78d7]
2021-07-15 08:34:47 -04:00
Jatin Chaudhary ac37a1a3ca SWDEV-283267 - Deprecate -use-pch option and add hiprtc builtin header for all hiprtc programs
Change-Id: I2ed98c65fb310d89a787510c6a362ee0929b83d9


[ROCm/clr commit: 7b8b7a9ba1]
2021-07-15 08:34:24 -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
Vladislav Sytchenko 51ea4ac113 SWDEV-281658 - Disable HIP profiling for Windows
Currently generating profiling header is not supported on Windows,
hence why the feature is being disabled.

Change-Id: I1f6d70ec3d68356799c5ecc89469eb007ae894f8


[ROCm/clr commit: 08ecf21ddf]
2021-07-12 19:45:09 -04:00
agunashe de94f93e57 SWDEV-293742 - script to update the copyrights end year
Change-Id: I6a9c0f2537ed839228354f7a682d0cd5adc8f4fd


[ROCm/clr commit: 5b5f934d58]
2021-07-12 17:46: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
Rahul Garg 97bdff9e90 SWDEV-290076 - Initial update hipamd README
Change-Id: I60c6bd7f18d3293c876e631c1329e0d6eaa01fc8


[ROCm/clr commit: 85c6e91d0b]
2021-07-12 12:53:16 -04:00
Anusha GodavarthySurya 84706b51f9 SWDEV-294497 - remove rocclr from packaging
Change-Id: Ic9825114ece0c84b6490c44a441a5f8af0e772fc


[ROCm/clr commit: 8ad7c705f7]
2021-07-12 01:10:37 -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
Vladislav Sytchenko e682f34917 SWDEV-273235 - Support versioning on Windows
Switch to using Perl for converting the Unix timestamp into a human
readable date. Perl is required anyway to run hipconfig, so this
solution should be relatively platform independent.

Change-Id: I2b09468d25daf574c74cebcac4f29d9aba5f18fb


[ROCm/clr commit: c094ba97c6]
2021-07-09 11:38:50 -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
Satyanvesh Dittakavi d1ed2e9a31 SWDEV-1 - Rearrange error conditions in elapsed time
- when the first argument is null API should return hipErrorInvalidValue
- but when first and second argument both are null API was returning hipErrorInvalidHandle causing catch2 event tests to fail

Change-Id: I0978ce8b8462e4baa043be75a40b5bc45b036bb6


[ROCm/clr commit: 688288c2e3]
2021-07-09 00:47:12 -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
Tao Sang 42eff44f5c SWDEV-288593 - Rework "hip-config only adds compile and link options to C++"
This reverts commit b01fb5d72f.
Rework to support old cmake in order to fix mathlibs' failure.

Change-Id: I605fc633ba28df4fca95ceee83671600dd3f0b72


[ROCm/clr commit: 53b3c8a3fb]
2021-07-05 22:36:37 -04:00
Sarbojit Sarkar ded6cd3b4e SWDEV-293424 - Included gfx90a and gfx1030
Change-Id: I765890f3476f0983021dea722c4f771c51d53cd2


[ROCm/clr commit: 165d417d60]
2021-06-30 23:14:56 -04:00
Anusha GodavarthySurya b8992c8021 SWDEV-293455 - Fix nvidia build failure on CI
Change-Id: I3fac79c601ba846c6b7d8e5a3b21fdfdf2931c90


[ROCm/clr commit: 942703dfc4]
2021-06-30 02:55:53 -07:00
jujiang 6545acb71d SWDEV-286322 - add support for auto-removal of trailing whitespace
Change-Id: I1bddaf78b8ee9f7420553bc67bca8e61193c62a1


[ROCm/clr commit: cd23e6b436]
2021-06-29 10:33:53 -04:00
Anusha GodavarthySurya f3cc7d9db0 SWDEV-290637 - Migrate cmake build from hip to hipamd
Change-Id: I605fc633ba18df4fca95ceee83670600dd3f0b71


[ROCm/clr commit: e420815e75]
2021-06-28 06:23:33 -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
Sarbojit Sarkar 035cbfa79e SWDEV-261977 - Fixed function symbols
Change-Id: I70f568d12e66ae02efa16c48786a56ff10628a6b


[ROCm/clr commit: b30543e890]
2021-06-25 01:32:57 -04:00
German Andryeyev 03fa65d857 SWDEV-292018 - Make sure start event is done
HSA signal callback order is undefined. Make sure start event is
also done before calculating the elapsed time.

Change-Id: Ic69bfe336b20cd62ef35194261a5d0d234bc65ce


[ROCm/clr commit: 910d8bdfde]
2021-06-24 20:02:54 -04:00
German Andryeyev e7580989cc SWDEV-290160 - Add blocking command for callbacks in IPC and graph
Change-Id: I1474e19db6ebf2559e1b2c8dd7d06139bd699835


[ROCm/clr commit: 52f5b0fa16]
2021-06-24 17:01:55 -04:00
Aaron En Ye Shi 791087a6b8 SWDEV-286884 - Add CMake hiprtc-builtins library generation part 1
Add the CMake support for generating the hiprtc-builtins
library. Replaces the previous execution of shell script.
For backwards compatibility, link hiprtc pre-processed
object to amdhip64, and support versioning in name.
Add libcmt.lib to Windows link step, due to manually
generated .obj from llvm-mc.

Change-Id: I267be3cf4b241840b35f7f27a0b8659530108b0e


[ROCm/clr commit: c42308e2e5]
2021-06-24 14:34:47 +00:00
Vladislav Sytchenko 2618d65ffb SWDEV-273235 - Allow overwriting HIP_LLVM_ROOT
Change-Id: I1ae89d97671fff0f2d8968313501893fecc5093c


[ROCm/clr commit: 44e8b72267]
2021-06-21 11:19:16 -04:00
Maneesh Gupta adc4c3aabe SWDEV-285388 - Bring back the inline asm till we have a proper compiler support
Change-Id: Ibafe33dd8298f6e19f8b6a6d2aa220b633b76862


[ROCm/clr commit: f4680d98a9]
2021-06-21 09:15:34 -04:00
Sarbojit Sarkar 4ca7898ce2 SWDEV-261977 - Added HIP symbol version
Change-Id: I108e2112a03351b29c659981023805213704a970


[ROCm/clr commit: 2d17f2776d]
2021-06-21 03:39:37 -04:00
Christophe Paquot 81c1c4048e SWDEV-281658 - Fix compilation warnings
In file included from /extra/lmoriche/hip-vdi/hip/rocclr/hip_internal.hpp:25,
                 from /extra/lmoriche/hip-vdi/hip/rocclr/hip_hmm.cpp:22:
/extra/lmoriche/hip-vdi/hip/rocclr/hip_prof_api.h: In constructor ‘api_callbacks_table_t::api_callbacks_table_t()’:
/extra/lmoriche/hip-vdi/hip/rocclr/hip_prof_api.h:72:59: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct api_callbacks_table_t::hip_cb_table_t’ with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess]
   72 |      memset(&callbacks_table_, 0, sizeof(callbacks_table_));
      |                                                           ^
/extra/lmoriche/hip-vdi/hip/rocclr/hip_prof_api.h:67:10: note: ‘struct api_callbacks_table_t::hip_cb_table_t’ declared here
   67 |   struct hip_cb_table_t {
      |          ^~~~~~~~~~~~~~

Address the above warning by providing default initialization of the
api_callbacks_table_t::hip_cb_table_t class members.

Change-Id: I69ea7c390c28cf3f8aec57f23566d6a3061a0365


[ROCm/clr commit: 0f7a47a95f]
2021-06-18 07:03:35 -07:00
Christophe Paquot db81554097 SWDEV-281658 - Fix the gen-prof-api-str-header target
There is no OUTPUT_FILE option for add_custom_command (it is an option
for execute_process). Instead, redirect stdout to the output file.

Change-Id: Ic649bc6c4f709c3c42166500a72fce5014690a47


[ROCm/clr commit: f3a54f0823]
2021-06-18 09:57:02 -04:00
Maneesh Gupta 06e2a2a59d SWDEV-285388 - Allow fallback to asm when builtin not available
Change-Id: Ifeee7f3ad1be9ce9b79cf26008b75102153143a5


[ROCm/clr commit: a9b4df0ad0]
2021-06-17 21:21:19 -07:00
Aleksey 36c4392b34 SWDEV-284883 - QMCPACK hangs when using rocprof --trace-period
Workaraund fix race condition in api_callbacks_spawner_t destructor.

Change-Id: I77d61492dfa484c3e477805c6f314a00dbb6cc32


[ROCm/clr commit: 4f0bf535c4]
2021-06-17 00:24:56 -04:00
Aaron En Ye Shi a785d554ae SWDEV-285388 - Clean up llvm intrinsics using __asm
Instead of using inline asm, use clang builtins
for llvm intrinsics.

Change-Id: I30287f5a8de035ccd7e48d10e559a8a2e1d389f7


[ROCm/clr commit: 3fa21c1d49]
2021-06-16 13:20:44 -04:00
pghafari 0a07a3bd2f SWDEV-245531 - GLInterop: Add Buffer Interop support
Change-Id: Ic32e1f3f985505b9310d2d2bc85b1e10b4166145


[ROCm/clr commit: 8d3542e7d9]
2021-06-16 06:02:24 -04:00
Christophe Paquot 96f580a267 SWDEV-276396 - Implement hipDeviceReset
Add a hip::Stream::destroyAllStreams static function to destroy all streams
Also call MemObjMap::Purge

Change-Id: I6ee7e3f26ab1f1870a9271c65e99fb818134482b


[ROCm/clr commit: bea4fa8700]
2021-06-15 13:13:09 -04:00
Jatin Chaudhary 1b23aa0d88 SWDEV-290993 - Fix error seen in __launch_bounds__ seen with -Werror -Wpedantic
Change-Id: If89c681a5e383c30a9233a183db282787e2f0081


[ROCm/clr commit: 2223a508f5]
2021-06-15 00:36:35 -07:00
Julia Jiang 060408115c SWDEV-290704 - update hiprtc header with doxygen
Change-Id: I93b7ddd2a89f8a214bca7e67bd5b88f6144b70dd


[ROCm/clr commit: de150e1803]
2021-06-14 15:28:32 -04:00
Vladislav Sytchenko 8c35b3ec56 SWDEV-289854 - Revert to using hardcoded library destination
Current packaging assumes that HIP runtime will always be installed in
/opt/rocm/lib. This is false to assume, because some distros like CentOS
will use the lib64 directory instead of lib. Relying on CMake to choose
the library directory for us will default in that case to lib64. Hence
there will be a mismatch between where HIP is installed and where CMake
thinks it is.

Change-Id: I46e405b25bda987e74b095fcb41319f8a504ae41


[ROCm/clr commit: 52ff66f4fc]
2021-06-14 04:20:31 -04:00