Skip to content

Commit

Permalink
ROCm port
Browse files Browse the repository at this point in the history
34fffee79 Update overview.md <> Fri Dec 6 17:27:21 2024 +0100 <> Philipp Samfass <[email protected]>

30ef4ff38 war/fea(cuda compat.): create include/cuda symlink <> Fri Dec 6 01:56:32 2024 -0800 <> Philipp Samfass <[email protected]>
Symlink `include/cuda` to `include/hip`

This ensures that packages that depend on libhipcxx without installing libhipcxx can still include the libhipcxx headers from the "cuda" folder to minimize code changes.

8fac607d7 Revert "Check if fixes the issue with FIND_CUDF variable" <> Fri Nov 29 15:47:43 2024 +0000 <> domcharrier <[email protected]>

20aa7765c Revert "Choose installation location considering if libhipcxx is installed standalone or via another project." <> Fri Nov 29 15:45:20 2024 +0000 <> domcharrier <[email protected]>

158af26cd add ISSUE_TEMPLATES WIP <> Thu Oct 17 11:17:08 2024 +0200 <> Philipp Samfass <[email protected]>

7e0b2d78d fix/feat(*test/config.py): add gfx1100 to possible HIP archs <> Fri Oct 18 09:10:08 2024 +0200 <> Philipp Samfass <[email protected]>

72cf1be59 fixi/feat(*utils/amd/linux/perform_tests.bash): add gfx1100 to known architectures <> Thu Oct 17 18:36:24 2024 +0200 <> Philipp Samfass <[email protected]>

5fe3f1314 doc(README, overview.md): add gfx1100 as supported GPU <> Wed Oct 2 11:59:46 2024 +0200 <> Philipp Samfass <[email protected]>

0744283dc feat(chrono): add support for gfx1100 which has a 100 Mhz realtime TSC <> Mon Sep 30 17:15:43 2024 +0200 <> Philipp Samfass <[email protected]>

6f967595b Fixed memory_resource tests to use hip instead of cuda in their include path <> Tue Oct 1 07:13:39 2024 +0000 <> monoatamd <[email protected]>

026cd671f Merge pull request #35 from AMD-AI/feat/fix_raft_duplicate_symbol <> Fri Sep 27 11:24:21 2024 +0200 <> Mohammad Norouzi <[email protected]>
Fix duplicate symbol error that started to happen in RAFT
903971d2c Fix license note <> Fri Sep 27 11:13:02 2024 +0200 <> Mohammad Norouzi <[email protected]>

2c0c71608 Fix duplicate symbol error that started to happen in RAFT <> Fri Sep 27 08:13:38 2024 +0000 <> monoatamd <[email protected]>

9cacfb68a Merge pull request #34 from AMD-AI/feat/revert_license_note_changes <> Tue Sep 24 13:47:38 2024 +0200 <> Mohammad Norouzi <[email protected]>
Feat/revert license note changes
71564fbd7 Minor typo <> Tue Sep 24 11:36:11 2024 +0000 <> monoatamd <[email protected]>

52a6bd173 Fix more license issues <> Tue Sep 24 11:35:46 2024 +0000 <> monoatamd <[email protected]>

168bc92fc Change more files with license changes (libhip++ to libcu++) <> Tue Sep 24 11:28:45 2024 +0000 <> monoatamd <[email protected]>

8e39bc8ec Revert libhip++ to libcu++ in some license notes <> Tue Sep 24 11:21:04 2024 +0000 <> monoatamd <[email protected]>

e01380246 Merge pull request #33 from AMD-AI/feat/add_missing_license <> Mon Sep 23 19:01:15 2024 +0200 <> Mohammad Norouzi <[email protected]>
Added missing AMD mod license note to some headers
e9313b511 remove gitignore file <> Mon Sep 23 17:00:47 2024 +0000 <> monoatamd <[email protected]>

5af069b5d Added missing AMD mod license note to some headers <> Mon Sep 23 16:58:56 2024 +0000 <> monoatamd <[email protected]>

0bf94133e Merge pull request #32 from AMD-AI/feat/rmm_missing_headers <> Mon Sep 23 18:33:28 2024 +0200 <> Mohammad Norouzi <[email protected]>
Feat/rmm missing headers
58f3deb3a Choose installation location considering if libhipcxx is installed stanalone or via another project. <> Thu Sep 19 11:57:32 2024 +0000 <> monoatamd <[email protected]>

a3a5dc699 Check if fixes the issue with FIND_CUDF variable <> Thu Sep 19 11:50:26 2024 +0200 <> Mohammad Norouzi <[email protected]>

fbac46717 fix/partial upgrade: fix definition of _LIBCUDACXX_CPO_ACCESSIBILITY, as it would otherwise cause linker errors due to multiple definitions in dependent projects <> Thu Jun 6 04:25:41 2024 -0700 <> Philipp Samfass <[email protected]>

3e3c6ff98 Avoid warning "return value of hipGetLastError is ignored" <> Thu May 23 11:05:26 2024 +0000 <> monoatamd <[email protected]>

c4011bb07 include missing macro <> Fri May 17 09:46:55 2024 +0000 <> monoatamd <[email protected]>

ff11c7413 hipify memory_resource header <> Fri May 17 09:29:47 2024 +0000 <> monoatamd <[email protected]>

e5878a822 hipify stream_ref header <> Fri May 17 09:11:27 2024 +0000 <> monoatamd <[email protected]>

7db800aae Add missing headers include/hip/memory_resource and include/hip/stream_ref which are required for RMM 24.06 <> Thu May 16 10:12:36 2024 +0000 <> monoatamd <[email protected]>

aeece1235 Merge pull request #31 from AMD-AI/fix_cmake_install_new <> Thu Aug 29 10:00:42 2024 +0200 <> Philipp Samfass <[email protected]>
Support custom CMAKE_INSTALL_LIBDIR values of 1+ directory
f48e8ed85 Merge pull request #29 from AMD-AI/palamida <> Wed Aug 28 09:09:14 2024 +0200 <> Philipp Samfass <[email protected]>
Sync internal dev branch with publicly released libhipcxx
b81ac6169 Support custom CMAKE_INSTALL_LIBDIR values of 1+ directory When `CMAKE_INSTALL_LIBDIR` is set to something like `lib/aarch64/` the hard-coded logic in `libhipcxx-header-search.cmake.in` fails. <> Wed Jul 17 06:19:44 2024 -0700 <> Philipp Samfass <[email protected]>

9904f456d Corrected license disclaimer <> Fri May 3 07:00:43 2024 -0700 <> Philipp Samfass <[email protected]>

b3ad9e23c Merge branch 'refactor_doc' into palamida <> Fri May 3 06:57:09 2024 -0700 <> Philipp Samfass <[email protected]>

00d010c2b docu: beta release of libhipcxx documentation (ported existing libcudacxx documentation) <> Fri May 3 06:53:49 2024 -0700 <> Philipp Samfass <[email protected]>

a7676d29b remove modifications copyright for file which has not been modified <> Fri May 3 06:42:09 2024 -0700 <> Philipp Samfass <[email protected]>

92f0c1124 refactor: rename _LIBCUDACXX_CUDA_ABI_VERSION to _LIBHIPCXX_HIP_ABI_VERSION <> Fri May 3 06:33:40 2024 -0700 <> Philipp Samfass <[email protected]>

c456ef703 added modifications copyright license to further files where it was missing <> Fri May 3 06:28:52 2024 -0700 <> Philipp Samfass <[email protected]>

c40f15f9e doc/cleanup: clean-up documentation for unsupported APIs/features <> Fri May 3 06:04:39 2024 -0700 <> Philipp Samfass <[email protected]>

27760502e Update perform_tests.bash <> Fri May 3 13:46:25 2024 +0200 <> Philipp Samfass <[email protected]>

5b5e686fd doc: revised documentation (overview + setup instructions) <> Thu May 2 09:09:17 2024 -0700 <> Philipp Samfass <[email protected]>

7cba451f3 doc: add files needed to generate ROCm docs documentation <> Thu May 2 09:05:25 2024 -0700 <> Philipp Samfass <[email protected]>

f8b594c2b refactor/doc: renamed _LIBCUDACXX_CUDA_API_VERSION to _LIBHIPCXX_HIP_API_VERSION <> Thu May 2 08:34:13 2024 -0700 <> Philipp Samfass <[email protected]>

30a9b4de3 doc: clean-up not needed files <> Thu May 2 08:10:17 2024 -0700 <> Philipp Samfass <[email protected]>

6b6d617e6 Update README.md <> Thu May 2 16:33:25 2024 +0200 <> Philipp Samfass <[email protected]>

472c80dac Update README.md <> Thu May 2 13:50:56 2024 +0200 <> Philipp Samfass <[email protected]>

b15dd2295 restructured README.md <> Thu May 2 02:56:51 2024 -0700 <> Philipp Samfass <[email protected]>

54ae8c89a further improvements for README.md <> Thu May 2 02:50:00 2024 -0700 <> Philipp Samfass <[email protected]>

4144942e7 modifications to LICENSE in README <> Thu May 2 02:32:24 2024 -0700 <> Philipp Samfass <[email protected]>

79f7cfcef cleanup README <> Thu May 2 02:17:32 2024 -0700 <> Philipp Samfass <[email protected]>

14c62c1d1 remove links to internal SWDEV tickets <> Thu May 2 01:55:04 2024 -0700 <> Philipp Samfass <[email protected]>

870df707a modifications license for libhipcxx-config.cmake <> Thu May 2 01:46:53 2024 -0700 <> Philipp Samfass <[email protected]>

50b9f16ae added modifications license to further files in cmake/* <> Thu May 2 01:43:30 2024 -0700 <> Philipp Samfass <[email protected]>

3d29aedf5 modifications license for benchmarks/* <> Thu May 2 01:40:26 2024 -0700 <> Philipp Samfass <[email protected]>

7b63a23b8 further adding of modifications license (CMakeLists.txt, lit.cfg*,...) <> Thu May 2 01:35:16 2024 -0700 <> Philipp Samfass <[email protected]>

0b7b80113 Add missing modifications license to further files <> Thu May 2 01:19:43 2024 -0700 <> Philipp Samfass <[email protected]>

954deba0a added modifications license to further *.cpp files in .upstream-tests/* <> Thu May 2 01:14:23 2024 -0700 <> Philipp Samfass <[email protected]>

472844d41 .upstream-tests: added further missing copyright modifications license comments <> Thu May 2 00:18:07 2024 -0700 <> Philipp Samfass <[email protected]>

91e98ca02 added license modifications to further *.h files in .upstream-tests/* <> Tue Apr 30 09:47:03 2024 -0700 <> Philipp Samfass <[email protected]>

6165f5208 add modifications license to several header files in .upstream-tests/* <> Tue Apr 30 08:44:37 2024 -0700 <> Philipp Samfass <[email protected]>

c5c385ab6 add modifications license to further *.cpp files in .upstream-tests <> Tue Apr 30 08:25:57 2024 -0700 <> Philipp Samfass <[email protected]>

0428c59c4 add modifications license for further *.cpp files in .upstream-tests/* <> Tue Apr 30 07:10:54 2024 -0700 <> Philipp Samfass <[email protected]>

cbfbc1076 Added further missing modifications license to .upstream-tests/* <> Tue Apr 30 06:28:06 2024 -0700 <> Philipp Samfass <[email protected]>

8b6900e6c add missing license for examples <> Tue Apr 30 06:20:18 2024 -0700 <> Philipp Samfass <[email protected]>

a19287fc1 Add modifications license comment for .upstream-tests/* that use "Part of libcu++ Project" header without NVIDIA copyright notice. <> Tue Apr 30 05:38:39 2024 -0700 <> Philipp Samfass <[email protected]>

3b05b08a7 add modification license to *cpp upstream tests that have NVIDIA FileCopyrightText notice (without files containing file type in first line) <> Tue Apr 30 05:02:35 2024 -0700 <> Philipp Samfass <[email protected]>

6d149768c upstream tests: add modifications license for C++ files that do not contain file type comment and that do not contain NVIDIA copyright, dual license <> Tue Apr 30 04:19:56 2024 -0700 <> Philipp Samfass <[email protected]>

3b8281746 fix: remove symlink from cuda->hip again, as it breaks the build of dependees such as hipDF which create a Python wheel. Instead, copy/duplicate the header files into <include_dir>/cuda directory during installation. <> Tue Apr 30 02:01:11 2024 -0700 <> Philipp Samfass <[email protected]>

075b2cde3 Add modification license/new license to several files <> Tue Apr 30 01:12:34 2024 -0700 <> Philipp Samfass <[email protected]>

a461daddf re-add example that shows how to use chrono_sysclock workaround (missing UNIX timestamp on the device for C++20) <> Tue Apr 30 01:10:51 2024 -0700 <> Philipp Samfass <[email protected]>

28e397ce7 tmpfix: revert change which causes re-definition conflicts <> Mon Apr 29 08:16:43 2024 -0700 <> Philipp Samfass <[email protected]>

42903a6c4 feat: add HIP example for concurrent_hash_table cleanup: remove CUDA examples <> Mon Apr 29 08:06:45 2024 -0700 <> Philipp Samfass <[email protected]>

ef1bd5d72 further cleanup <> Mon Apr 29 07:54:36 2024 -0700 <> Philipp Samfass <[email protected]>

063ea271a tmpfix: disable further unsupported tests with hipcc <> Mon Apr 29 06:14:01 2024 -0700 <> Philipp Samfass <[email protected]>

fb195de55 further cleanup of CUDA-/NVIDIA-specific files <> Mon Apr 29 05:57:21 2024 -0700 <> Philipp Samfass <[email protected]>

e33bc3853 cleanup further CUDA/NVIDIA-specific files <> Mon Apr 29 05:01:25 2024 -0700 <> Philipp Samfass <[email protected]>

4f006bb6d cleanup: docker files that are currently CUDA-specific and that have not been ported <> Mon Apr 29 05:00:18 2024 -0700 <> Philipp Samfass <[email protected]>

9bc46834a feat: add namespace alias cuda == hip to facilitate porting of applications/libraries that depend on libhipcxx <> Mon Apr 29 04:57:44 2024 -0700 <> Philipp Samfass <[email protected]>

4eaa06c35 revise README.md <> Mon Apr 29 04:36:35 2024 -0700 <> Philipp Samfass <[email protected]>

37cf303e4 CMakeLists.txt: Abort with error if CUDA language/backend is used,  as it is currently not supported in libhipcxx. <> Mon Apr 29 04:21:52 2024 -0700 <> Philipp Samfass <[email protected]>

9229a9530 Add symlink from cuda -> hip, so that includes with prefix "cuda" (e.g. #include <cuda/std/atomic>) work without source code changes on HIP/AMD. <> Mon Apr 29 04:17:49 2024 -0700 <> Philipp Samfass <[email protected]>

0e2436d78 delete NVIDIA-licensed source code files <> Mon Apr 29 02:05:21 2024 -0700 <> Philipp Samfass <[email protected]>

d4db570de LICENSE.txt: add MIT license, remove NVIDIA license <> Mon Apr 29 02:04:48 2024 -0700 <> Philipp Samfass <[email protected]>

04e0f1f56 remove HIP examples <> Thu Apr 4 05:40:22 2024 -0700 <> Philipp Samfass <[email protected]>

9c4736e61 restore original .gitignore <> Thu Apr 4 05:37:28 2024 -0700 <> Philipp Samfass <[email protected]>

34abe8e82 remove no longer supported CI actions <> Thu Apr 4 05:34:29 2024 -0700 <> Philipp Samfass <[email protected]>

18640814a remove HIP benchmarks <> Thu Apr 4 05:12:49 2024 -0700 <> Philipp Samfass <[email protected]>

17160dfef add license to README.md <> Thu Apr 4 05:03:04 2024 -0700 <> Philipp Samfass <[email protected]>

cb6e934b2 re-add original libcudacxx LICENSE.TXT <> Thu Apr 4 04:51:58 2024 -0700 <> Philipp Samfass <[email protected]>

b4c2202be Merge pull request #26 from AMD-AI/add_cdna3_support <> Mon Mar 25 12:05:09 2024 +0100 <> Philipp Samfass <[email protected]>
CDNA3 support for libhipcxx
1ee43d300 Update alloc_convert_copy.fail.cpp <> Mon Mar 25 12:03:56 2024 +0100 <> Philipp Samfass <[email protected]>

a7ebad618 war/tmpfix: disable currently unsupported test with hipcc <> Tue Mar 12 08:33:30 2024 -0500 <> Philipp Samfass <[email protected]>

45c7a3d5e fix: syntax warning <> Tue Mar 12 08:24:34 2024 -0500 <> Philipp Samfass <[email protected]>

3fe4e1e7e war/fix: -stdc++20 seems presently not supported for HIP as a device function can't use new at the moment, see https://<redacted>libhipcxx/issues/25 <> Tue Mar 12 07:41:15 2024 -0500 <> Philipp Samfass <[email protected]>

9967ce287 doc(README): add MI300 arch <> Tue Mar 12 04:23:42 2024 -0500 <> Philipp Samfass <[email protected]>

a41234b4c maint/feat: Add necessary TSC clockrate definitions for MI300 <> Tue Mar 12 04:22:54 2024 -0500 <> Philipp Samfass <[email protected]>

5dfe0344e feat(maintenance): add architectures gfx940 gfx941 gfx942 to build system <> Mon Mar 11 09:11:49 2024 -0700 <> Philipp Samfass <[email protected]>

0b6faa499 doc (README): make user aware that more recent lit versions are currently not supported (requires maintenance) <> Mon Mar 11 09:11:19 2024 -0700 <> Philipp Samfass <[email protected]>

e6b872e64 Merge pull request #24 from AMD-AI/rocm-6.0 <> Wed Jan 10 14:19:53 2024 +0100 <> Philipp Samfass <[email protected]>
fix/war for ROCm 6.0:  Resolve header guard conflict between libhipcxx and rocthrust
ccb4fb556 fix/war: ROCm 6.0 includes nv/target as part of rocthrust which causes a conflict with the libhipcxx nv/target and nv/detail/__target__macros header guards (same guard name). We therefore rename the header guards in libhipcxx. <> Tue Dec 19 06:20:24 2023 -0800 <> Philipp Samfass <[email protected]>

e834f36bb Merge pull request #23 from AMD-AI/war_missing_typedefs_hiprtc <> Sun Sep 17 00:33:48 2023 +0200 <> ADiL <[email protected]>
Fix: WAR for missing typedefs with HIPRTC
e3007618a Added a workaround for missing typedefs when libhipcxx headers are JIT-compiled  with HIPRTC. See SWDEV-421819 <> Wed Sep 13 10:35:11 2023 +0000 <> Philipp Samfass <[email protected]>

486b0e639 Merge pull request #22 from AMD-AI/fix_compiler_macros <> Mon Sep 11 19:48:40 2023 +0200 <> ADiL <[email protected]>
Fix: compiler macros
65c3b927c fix: fixed compiler macros for selecting compilation path w/o HIP_RTC; this fixes several compiler errors when building the headers <> Mon Sep 11 13:13:35 2023 +0000 <> Philipp Samfass <[email protected]>

dfe27e6df Merge pull request #20 from AMD-AI/hiprtc <> Wed Aug 30 10:15:08 2023 +0200 <> ADiL <[email protected]>
Hiprtc
b4b673db3 Add hiprtc compilation path <> Fri Aug 18 10:04:26 2023 +0000 <> mnorouzi <[email protected]>

e8a9c1b43 Merge pull request #19 from AMD-AI/fixes_for_rocm_5_6 <> Wed Jul 26 11:05:07 2023 +0200 <> ADiL <[email protected]>
Fixes for rocm 5 6
cde44cab3 Merge pull request #18 from AMD-AI/fixes_for_rocm_5_6 <> Tue Jul 25 16:43:42 2023 +0200 <> ADiL <[email protected]>
Fixes for ROCm 5.6
45d4f493e 1) deleted duplicate header files 2) Fixed failing test    std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp: Here, a fallback implementation for is_constructible is tested which is not needed for hip. Some change between ROCm 5.5 and 5.6 makes this fallback implementation fail. Since we do not need the fallback implementation, we will disable this test for now, just like it has been done for MVCC. <> Tue Jul 25 12:20:07 2023 +0000 <> Philipp Samfass <[email protected]>

6818dbacb Merge pull request #17 from AMD-AI/dev <> Tue Jul 11 16:32:06 2023 +0200 <> ADiL <[email protected]>
Merge dev and main for first beta release
afd724628 Merge pull request #16 from AMD-AI/refactoring <> Tue Jul 11 14:33:06 2023 +0200 <> ADiL <[email protected]>
Remove deprecated todos
656b3ff2c Merge pull request #15 from AMD-AI/readme <> Tue Jul 11 14:32:17 2023 +0200 <> ADiL <[email protected]>
Add README
671af6962 Update README.md <> Tue Jul 11 09:47:20 2023 +0200 <> Philipp Samfass <[email protected]>

0c6e5b866 Update README.md <> Tue Jul 11 09:37:11 2023 +0200 <> Philipp Samfass <[email protected]>
Minor edits + fix formatting
e14ca5502 Update readme to include limitations, tickets, atomics usage, etc. <> Mon Jul 10 16:44:10 2023 +0000 <> monoatamd <[email protected]>

2fb804a0b Merge branch 'dev' of github.com:AMD-AI/libhipcxx into readme <> Mon Jul 10 14:04:39 2023 +0000 <> monoatamd <[email protected]>

558b19e96 Remove deprecated todos <> Mon Jul 10 07:28:07 2023 +0000 <> monoatamd <[email protected]>

06457b390 Merge pull request #14 from AMD-AI/fixes_for_rocm_5_5 <> Thu Jun 22 12:29:25 2023 +0200 <> ADiL <[email protected]>
Fix build and tests for ROCm 5.5
98e080a4b Update README.md <> Thu Jun 22 10:08:41 2023 +0200 <> Philipp Samfass <[email protected]>

1785bfecf fix compiler errors with ROCm 5.5: The new clang compiler has additional features that would break the functionality of LIBCUDACXX, use LIBCUDACXX implementations instead. <> Thu Jun 15 13:18:53 2023 +0200 <> Philipp Samfass <[email protected]>

303ecbb0f fix: missing semicolon <> Thu Jun 15 13:16:16 2023 +0200 <> Philipp Samfass <[email protected]>

9c34e82d9 Merge pull request #13 from AMD-AI/revise_nanosleep <> Thu May 11 18:24:45 2023 +0200 <> ADiL <[email protected]>
Revise nanosleep
0908c79f5 fixed test that was failing for wrong reason <> Thu May 11 15:32:34 2023 +0200 <> Philipp Samfass <[email protected]>

de06114e5 Merge branch 'dev' into revise_nanosleep <> Wed May 10 18:16:40 2023 +0200 <> Philipp Samfass <[email protected]>

9fd6700b9 Merge pull request #12 from AMD-AI/refactoring <> Tue May 9 18:00:36 2023 +0200 <> ADiL <[email protected]>
Major Refactoring
886e0de02 fixed variable name <> Mon May 8 10:23:07 2023 +0200 <> Philipp Samfass <[email protected]>

5b673902a Update README.md <> Mon May 8 10:11:41 2023 +0200 <> Philipp Samfass <[email protected]>

44d80660c started to revise readme <> Mon May 8 09:29:50 2023 +0200 <> Philipp Samfass <[email protected]>

69c2898cb added an improved implementation of nanosleep for AMD GPUs, which is less fine-granular but uses S_SLEEP to block the waves for some cycles <> Mon May 8 08:30:24 2023 +0200 <> Philipp Samfass <[email protected]>

8b37e7f2f bug: replace cuda with hip in some tests <> Tue May 2 13:56:34 2023 +0000 <> monoatamd <[email protected]>

bad1b53f9 Merge branch 'dev' into refactoring <> Tue May 2 14:50:55 2023 +0200 <> Mohammad Norouzi <[email protected]>

39eaf972e change from LIBHIPCXX_CUDA_COMPILER to more generic name LIBHIPCXX_GPU_COMPILER <> Tue May 2 13:31:52 2023 +0200 <> Philipp Samfass <[email protected]>

8e5bfc8b2 Merge pull request #11 from AMD-AI/feature/tuple_implementation <> Tue May 2 11:28:28 2023 +0200 <> ADiL <[email protected]>
Feature/tuple implementation
56634fe28 Update alloc_convert_copy.fail.cpp <> Tue May 2 09:10:56 2023 +0200 <> Philipp Samfass <[email protected]>

ee7472b3f feat: Support more tests and comments for unsprtd <> Fri Apr 28 16:16:32 2023 +0000 <> monoatamd <[email protected]>

218ac54f9 refactored naming in lit testing helper script <> Fri Apr 28 12:16:19 2023 +0200 <> Philipp Samfass <[email protected]>

0e236b961 further refactoring of lit test configuration naming + renamed generated Makefile target from check-cudacxx to check-hipcxx <> Fri Apr 28 11:48:04 2023 +0200 <> Philipp Samfass <[email protected]>

f3fda6e63 renamed user facing CMake configuration options <> Thu Apr 27 16:52:45 2023 +0200 <> Philipp Samfass <[email protected]>

87be4ceba fix CMake issues and change from cuda to hip in examples <> Thu Apr 27 12:39:02 2023 +0200 <> Philipp Samfass <[email protected]>

65ff8b788 Merge branch 'dev' into refactoring <> Thu Apr 27 12:01:20 2023 +0200 <> Philipp Samfass <[email protected]>

be08ecf59 change namespace name from cuda to hip <> Thu Apr 27 11:58:00 2023 +0200 <> Philipp Samfass <[email protected]>

d85fdd2c0 bug: Rewind changes in alloc_convert_copy.fail.cpp <> Thu Apr 27 08:36:47 2023 +0000 <> monoatamd <[email protected]>

b2a1ec5a5 feat: Support more tests <> Thu Apr 27 08:29:28 2023 +0000 <> monoatamd <[email protected]>

74d9e9036 renamed include paths to "#include <hip/*>", adapted CMake header-only tests <> Thu Apr 27 09:52:00 2023 +0200 <> Philipp Samfass <[email protected]>

6d99161d5 Merge pull request #10 from AMD-AI/feature/hip_examples <> Thu Apr 27 04:02:46 2023 +0200 <> ADiL <[email protected]>
Feature/hip examples
d45f799cc renamed CMake target from libcudacxx to libhipcxx <> Wed Apr 26 10:40:14 2023 +0200 <> Philipp Samfass <[email protected]>

5ef4348f7 feat: Add benchmarking for more atomics <> Tue Apr 25 14:12:12 2023 +0000 <> monoatamd <[email protected]>

7ca72f0a7 added house age computation and filtering based on chrono to demonstrator scenario + some cosmetic adjustments <> Tue Apr 25 12:47:27 2023 +0200 <> Philipp Samfass <[email protected]>

461d3e2a7 feat: Add example for sprint 3 demo <> Mon Apr 24 16:28:06 2023 +0000 <> monoatamd <[email protected]>

42d46312a Merge branch 'dev' of github.com:AMD-AI/libhipcxx into feature/hip_examples <> Mon Apr 24 09:00:03 2023 +0000 <> monoatamd <[email protected]>

cbe54dd57 Merge pull request #8 from AMD-AI/feature/numerics <> Fri Apr 21 22:48:57 2023 +0200 <> ADiL <[email protected]>
Feature/numerics
02aea3005 Merge branch 'dev' into feature/numerics <> Fri Apr 21 14:50:06 2023 +0200 <> Mohammad Norouzi <[email protected]>

7d26b75d9 removed thread fence examples <> Fri Apr 21 14:16:12 2023 +0200 <> Philipp Samfass <[email protected]>

a0b777f17 added example app for demonstrating safe arithmetic operations to hip examples <> Fri Apr 21 14:14:45 2023 +0200 <> Philipp Samfass <[email protected]>

545b0db3f added demonstration example for system_clock workaround (C++20, HIP) to CMakeLists.txt <> Fri Apr 21 14:09:03 2023 +0200 <> Philipp Samfass <[email protected]>

c77ef647f fix: Restructure directories in benchmarks <> Fri Apr 21 09:07:28 2023 +0000 <> monoatamd <[email protected]>

4a8db373d Merge branch 'dev' of github.com:AMD-AI/libhipcxx into feature/hip_examples <> Fri Apr 21 08:45:36 2023 +0000 <> monoatamd <[email protected]>

4c485dfe2 Merge pull request #7 from AMD-AI/feature/chrono <> Fri Apr 21 09:34:19 2023 +0200 <> Philipp Samfass <[email protected]>
HIP support for chrono time library
147b3a4d4 Merge branch 'dev' into feature/chrono <> Fri Apr 21 09:16:12 2023 +0200 <> Philipp Samfass <[email protected]>

afed0f556 feat: Add benchmarks for performance on reals <> Thu Apr 20 17:03:05 2023 +0000 <> monoatamd <[email protected]>

545a25092 Merge pull request #9 from AMD-AI/feature/type_traits_implementation <> Thu Apr 20 15:17:31 2023 +0200 <> Philipp Samfass <[email protected]>
feat: Fix unsupported tests
3a4dde75d feat: Fix unsupported tests <> Thu Apr 20 12:12:03 2023 +0000 <> monoatamd <[email protected]>

5ba70169a enabled further passing tests <> Thu Apr 20 12:49:38 2023 +0200 <> Philipp Samfass <[email protected]>

02457d819 enabled an additional test that is now supported <> Thu Apr 20 12:19:49 2023 +0200 <> Philipp Samfass <[email protected]>

9a1a98669 Merge pull request #6 from AMD-AI/chrono_device_sysclock_unix_timestamp_cpp20 <> Wed Apr 19 21:06:42 2023 +0200 <> ADiL <[email protected]>
Add workaround for missing UNIX timestamp counter on device for chrono::system_clock
2d223f374 removed obsolete file <> Wed Apr 19 14:28:42 2023 +0200 <> Philipp Samfass <[email protected]>

becaea30a improved output of demonstrator for safe arithmetic operations using libhipcxx <> Wed Apr 19 12:30:22 2023 +0200 <> Philipp Samfass <[email protected]>

a96977485 re-added justification on unsupported test case that got lost previously <> Wed Apr 19 11:56:02 2023 +0200 <> Philipp Samfass <[email protected]>

f8001d65d Refactored code and initialized sysclock state in constant memory for HIP implementation <> Wed Apr 19 11:05:44 2023 +0200 <> Philipp Samfass <[email protected]>

a00bfdb34 Merge pull request #5 from AMD-AI/feature/atomic_implementation <> Tue Apr 18 18:28:44 2023 +0200 <> ADiL <[email protected]>
Feature/atomic implementation
808edf3ab fixed a macro that was causing a compiler error for one test <> Tue Apr 18 17:26:11 2023 +0200 <> Philipp Samfass <[email protected]>

609032058 Added HIP example to demonstrate the workaround for enabling a system_clock with UNIX time epoch on AMD devices. <> Tue Apr 18 13:26:38 2023 +0200 <> Philipp Samfass <[email protected]>

8780f76b4 fixed conversion of host time period to device time period <> Tue Apr 18 13:20:45 2023 +0200 <> Philipp Samfass <[email protected]>

5ce7458df Merge branch 'feature/chrono' into chrono_device_sysclock_unix_timestamp_cpp20 <> Tue Apr 18 12:51:42 2023 +0200 <> Philipp Samfass <[email protected]>

6986beded switch to more portable wall_clock64 from s_memrealtime <> Tue Apr 18 10:54:22 2023 +0200 <> Philipp Samfass <[email protected]>

ef92c4f92 Switch to wall_clock64 as s_memrealtime is not available on all devices. Added comment that HIP nanosleep implementation is only supported for gfx90a and gfx908 up to now. <> Tue Apr 18 10:02:53 2023 +0200 <> Philipp Samfass <[email protected]>

0aa12f13c added demonstration example for safe arithmetic operations that uses cuda::std::numeric_limits <> Mon Apr 17 15:13:17 2023 +0200 <> Philipp Samfass <[email protected]>

a8773b419 reenable test functor for double <> Mon Apr 17 14:54:45 2023 +0200 <> Philipp Samfass <[email protected]>

92a5b90e5 Comment regarding the review <> Mon Apr 17 14:25:53 2023 +0200 <> Mohammad Norouzi <[email protected]>

65890da6d feat: Add benchmarking for atomics on ints <> Fri Apr 14 16:10:25 2023 +0000 <> monoatamd <[email protected]>

8f2a16cf4 added justification on why a numerics-related test case is unsupported for HIP <> Fri Apr 14 14:55:08 2023 +0200 <> Philipp Samfass <[email protected]>

9234f0966 added another now supported test for atomics <> Fri Apr 14 14:10:59 2023 +0200 <> Philipp Samfass <[email protected]>

2b6c79e5d 1) renamed cuda_thread_count and hip_thread_count to gpu_thread_count 2) disabled two atomics tests which are not supported due to not having implemented cuda::std::chrono::system_clock for HIP <> Fri Apr 14 12:32:28 2023 +0200 <> Philipp Samfass <[email protected]>

7e917bd48 Merge branch 'dev' into feature/atomic_implementation <> Fri Apr 14 11:38:08 2023 +0200 <> Mohammad Norouzi <[email protected]>

d22f935fd made failing chrono-related test unsupported as it has not been implemented yet <> Fri Apr 14 10:36:41 2023 +0200 <> Philipp Samfass <[email protected]>

e2e1105c4 added JIRA ticket that documents missing support for __nanosleep <> Fri Apr 14 10:33:43 2023 +0200 <> Philipp Samfass <[email protected]>

836af5da4 added HIP example for chrono timestamp processing <> Thu Apr 13 16:15:12 2023 +0200 <> Philipp Samfass <[email protected]>

6bc873ca2 bug: Add comment for underaligned types <> Thu Apr 13 13:20:36 2023 +0000 <> monoatamd <[email protected]>

c588ef4c3 renamed atomics_thread_fence and included it as a target into CMakeLists.txt <> Wed Apr 12 15:35:10 2023 +0200 <> Philipp Samfass <[email protected]>

ebe1b0bef Merge branch 'feature/hip_examples' of github.com:AMD-AI/libhipcxx into feature/hip_examples <> Wed Apr 12 15:31:31 2023 +0200 <> Philipp Samfass <[email protected]>

977b11618 Added hipified concurrent_hash_table example + basic CMakeLists.txt <> Wed Apr 12 15:30:51 2023 +0200 <> Philipp Samfass <[email protected]>

2ad9bb9d8 feat: Import Dominic's atomics benchmarking <> Wed Apr 12 12:24:43 2023 +0000 <> monoatamd <[email protected]>

a6b1236ac feat: test thread_fence <> Wed Apr 12 11:29:57 2023 +0000 <> monoatamd <[email protected]>

8f300382d Created new directory for HIP examples, moved CUDA examples into separate folder and added HIP example for reductions of housing prices (libhipcxx atomics). <> Wed Apr 12 13:18:46 2023 +0200 <> Philipp Samfass <[email protected]>

a87c2c0da fixed documentation of system_clock workaround for C++20 and HIP <> Wed Apr 12 12:05:06 2023 +0200 <> Philipp Samfass <[email protected]>

22f6c7017 revised documentation for chrono system_clock workaround that provides UNIX timestamps on the device <> Tue Apr 11 15:23:07 2023 +0200 <> Philipp Samfass <[email protected]>

e16ee01b8 fixed failing chrono test by making the expected-error-re regular expression match the actual error message <> Tue Apr 11 13:28:24 2023 +0200 <> Philipp Samfass <[email protected]>

c6457ae3d Disabled static assert in one chrono-related test for ctime for HIP. It fails because of a mismatch in the signatures (return type) of the function definition of clock() in the amd_device_functions.h header file  and the declaration of that function in the time.h system header. <> Tue Apr 11 12:43:12 2023 +0200 <> Philipp Samfass <[email protected]>

39a8828f1 Made experimental workaround implementation of system_clock for HIP and C++20 non-default, added documentation and improved error handling. <> Thu Apr 6 16:31:09 2023 +0200 <> Philipp Samfass <[email protected]>

de8e7ad37 Merge pull request #4 from AMD-AI/feature/ci_for_c++20 <> Wed Apr 5 17:25:38 2023 +0200 <> ADiL <[email protected]>
Load more recent compiler for CI to enable support for c++20
190844e64 Load more recent compiler for CI to enable support for c++20 <> Wed Apr 5 14:37:03 2023 +0200 <> Philipp Samfass <[email protected]>

01a3f5ed5 minor fix of TSC-related macro name in __threading_support <> Wed Apr 5 14:32:05 2023 +0200 <> Philipp Samfass <[email protected]>

c9739fb19 First implementation of system_clock based on s_memrealtime clock (25 MHz on gfx908,gfx90a). This is WIP. It has the limitation that s_memrealtime does not return a UNIX timestamp. Therefore, the implementation is not conforming to the C++20 standard. <> Wed Apr 5 14:26:51 2023 +0200 <> Philipp Samfass <[email protected]>

d3014d714 activated chrono-related tests (chrono implementation is WIP) <> Wed Apr 5 14:24:54 2023 +0200 <> Philipp Samfass <[email protected]>

04fc09147 Starting with C++20, system_clock needs to return an UNIX timestamp. This POC implementation of chrono:system_clock relies on obtaining an initial  UNIX timestamp from the host to implement a system_clock that uses  UNIX timestamps on the device. It is a prototype that can be extended  in the future in case UNIX timestamps are needed on the device. <> Wed Apr 5 09:18:59 2023 +0200 <> Philipp Samfass <[email protected]>

9e4bacf3d Merge pull request #3 from AMD-AI/feature/pretty_test_output <> Tue Mar 28 14:58:08 2023 +0200 <> Mohammad Norouzi <[email protected]>
Pretty testing output
e009f1b6f removed no longer needed echo statement <> Tue Mar 28 12:03:11 2023 +0200 <> Philipp Samfass <[email protected]>

1f2dbcb27 This commit adds a --pretty option to the bash testing script for the libhipcxx tests. It is helpful for instance for demonstration purposes. <> Tue Mar 28 11:58:08 2023 +0200 <> Philipp Samfass <[email protected]>

5eb48b1a7 bug: Fix macro definition in atomic tests <> Tue Mar 28 08:54:38 2023 +0000 <> monoatamd <[email protected]>

a61419c01 Update macros to select local memory <> Mon Mar 27 13:10:24 2023 +0000 <> monoatamd <[email protected]>

924722c68 Merge branch 'feature/atomic_implementation' of github.com:AMD-AI/libhipcxx into feature/atomic_implementation <> Fri Mar 24 15:21:51 2023 +0100 <> Philipp Samfass <[email protected]>

0509684d8 feat: activated additional atomics-related tests <> Fri Mar 24 15:21:24 2023 +0100 <> Philipp Samfass <[email protected]>

4592f4d92 Update cuda_space_selector.h <> Fri Mar 24 13:33:21 2023 +0100 <> Philipp Samfass <[email protected]>
Added JIRA ticket number to comment on workaround for the issue of atomics not working in local memory for 8-byte datatypes.
ca2c79527 Select strong or weak CAS based on boolean argument passed to function. Note: this may be further optimized using templates. <> Fri Mar 24 12:47:11 2023 +0100 <> Philipp Samfass <[email protected]>

0cc9f9823 Added ticket ID for failing __hip_atomic_fetch_(min/max/or/xor/and) with hipMallocManaged. <> Fri Mar 24 11:04:28 2023 +0100 <> Philipp Samfass <[email protected]>

924457c60 Feat: added support for heterogeneous atomic tests. FIXME: The __hip_atomic_fetch_(max,min,or,xor,and) builtins are not returning the correct value if the atomic is allocated in managed memory with hipMallocManaged. The corresponding tests have been deactivated until a fix for this issue becomes available. <> Thu Mar 23 18:01:39 2023 +0100 <> Philipp Samfass <[email protected]>

fc16f9818 Added a workaround nanosleep implementation as a nanosleep PTX equivalent is missing on AMD CDNA: FIXME: In lack of a clock rate independent nanosleep ISA instruction on gfx90a and gfx908, we use s_memrealtime that runs at a fixed clock rate of 25 MHz to simulate a nanosleep. Each cycle of the 25 MHz clock has a duration of 40 ns, which is the granularity of this method. <> Tue Mar 21 17:22:53 2023 +0100 <> Philipp Samfass <[email protected]>

cafd647d8 fixed compilation macros in two atomics tests <> Tue Mar 21 16:25:40 2023 +0100 <> Philipp Samfass <[email protected]>

b8b2858ee Merge pull request #2 from AMD-AI/feature/tests_with_hip <> Tue Mar 21 14:41:06 2023 +0100 <> ADiL <[email protected]>
Feature/tests with hip
8e403ade6 bugfix: alloc device shared mem for 8-byte types <> Thu Mar 16 08:15:08 2023 +0000 <> monoatamd <[email protected]>

29b9a6187 disabled two unsupported tests <> Wed Mar 15 17:57:24 2023 +0100 <> Philipp Samfass <[email protected]>

0594e02a1 minor bug: made two failing chrono-related tests unsupported <> Wed Mar 15 16:12:31 2023 +0100 <> Philipp Samfass <[email protected]>

78a2642ec minor cleanup/cosmetics <> Wed Mar 15 15:14:28 2023 +0100 <> Philipp Samfass <[email protected]>

d87f3b7ae cosmetics: replace CUDA by HIP in force_include_hip.h header <> Wed Mar 15 14:49:32 2023 +0100 <> Philipp Samfass <[email protected]>

ef4569f12 revert accidental commit of commented tests <> Wed Mar 15 13:38:19 2023 +0100 <> Philipp Samfass <[email protected]>

55a279499 enabled more atomic tests <> Wed Mar 15 13:21:00 2023 +0100 <> Philipp Samfass <[email protected]>

a126bc5b9 bug: use shred mem for 8-byte types allctd locally <> Wed Mar 15 12:16:55 2023 +0000 <> monoatamd <[email protected]>

4be36ccd3 cmake: set CUDA compiler ID for hipcc <> Wed Mar 15 09:13:04 2023 +0100 <> Philipp Samfass <[email protected]>

a7c45d1b3 minor bug: fixed filename for CI <> Wed Mar 15 09:08:57 2023 +0100 <> Philipp Samfass <[email protected]>

f622752ca minor bug: fixed compiler warnings CI: enable atomic tests for CI <> Wed Mar 15 08:55:47 2023 +0100 <> Philipp Samfass <[email protected]>

97bb2cc1a minor bug: made chrono sysclock test unsupported <> Mon Mar 13 18:17:54 2023 +0100 <> Philipp Samfass <[email protected]>

7a978766d feat: add atomics, except local_memory_selector <> Mon Mar 13 17:14:56 2023 +0000 <> monoatamd <[email protected]>

513e09ab4 fixed missing cuda:: in error message <> Mon Mar 13 17:50:00 2023 +0100 <> Philipp Samfass <[email protected]>

2860e8e33 Merge branch 'feature/tests_with_hip' into feature/atomic_implementation <> Mon Mar 13 16:25:09 2023 +0000 <> monoatamd <[email protected]>

6489b7e5d remove nvcc-lit-note and fixed 5 more tests (low-hanging fruits), made two tests that require more investigation unsupported for now <> Mon Mar 13 17:10:20 2023 +0100 <> Philipp Samfass <[email protected]>

54c576637 fixed regex in iterator_traits test for clang-verify <> Mon Mar 13 12:50:12 2023 +0100 <> Philipp Samfass <[email protected]>

6af31c928 Change back to expected-error from nvcc-lit-error for clang-verify tests, but ignore additional unexpected errors emitted by hipcc for the clang-verify pass. This change fixes .fail.cpp tests that would just fail because of additional unexpected errors (although the expected errors are printed)  with HIP. Yet, some tests are still failing because they do *not* return the expected compiler errors. We need to fix them individually. <> Fri Mar 10 18:47:27 2023 +0100 <> Philipp Samfass <[email protected]>

96e41963b Disabled a deprecation test for hipcc which fails due to cuda::std::experimental not being declared. This test is not critical for functionality but may have to be revisited at a later point. <> Fri Mar 10 15:02:46 2023 +0100 <> Philipp Samfass <[email protected]>

e27675478 disabled further unsupported tests (latch & atomics) <> Fri Mar 10 14:23:52 2023 +0100 <> Philipp Samfass <[email protected]>

b3495e140 minor bug: fixed nullptr_t test <> Fri Mar 10 11:06:52 2023 +0000 <> monoatamd <[email protected]>

c76cb800a revert accidentally commited change on failing experimental test <> Fri Mar 10 12:00:24 2023 +0100 <> Philipp Samfass <[email protected]>

d563382de made atomics-related tests unsupported as support for atomics hasn't been implemented <> Fri Mar 10 11:55:57 2023 +0100 <> Philipp Samfass <[email protected]>

c25732bc9 feat: add cuda path for tuple, span, array <> Wed Mar 8 13:21:45 2023 +0000 <> monoatamd <[email protected]>

7a92b1e63 feat: add cuda path for pairs & heter. tests <> Mon Mar 6 15:42:57 2023 +0000 <> monoatamd <[email protected]>

123d8e634 made types.fail.cpp test unsupported as it tests for CUDA-specific compiler behavior <> Thu Mar 2 18:14:07 2023 +0100 <> Philipp Samfass <[email protected]>

19c2456e7 fixed warnings and fixed issues with two tests <> Thu Mar 2 16:46:56 2023 +0100 <> Philipp Samfass <[email protected]>

716ec7e0b feat: impl. fetch_add and load for int and float <> Thu Mar 2 09:47:07 2023 +0000 <> monoatamd <[email protected]>

4c317823a feat: fix host calls in host device [cmplx number] <> Thu Mar 2 09:19:21 2023 +0000 <> monoatamd <[email protected]>

2e370be3a CI: fix path <> Wed Mar 1 17:19:43 2023 +0100 <> Philipp Samfass <[email protected]>

1109f8a93 CI: attempt to fix path to test script <> Wed Mar 1 17:15:17 2023 +0100 <> Philipp Samfass <[email protected]>

1372ab12e CI: fix workflow yaml file <> Wed Mar 1 17:05:52 2023 +0100 <> Philipp Samfass <[email protected]>

922073dba added testing of supported tests to CI <> Wed Mar 1 17:02:43 2023 +0100 <> Philipp Samfass <[email protected]>

766c0c94c This commit renders several LIT tests unsupported which use APIs that are not yet ported to HIP. We will step-by-step enable those tests again as we add the HIP-support for different APIs to libhipcxx. <> Tue Feb 28 13:39:21 2023 +0100 <> Philipp Samfass <[email protected]>

e126d681b feat: complete adding cuda path to build system <> Mon Feb 27 17:39:21 2023 +0000 <> monoatamd <[email protected]>

e51c30e01 feat: include CUDA compilation path by default <> Fri Feb 24 14:31:35 2023 +0000 <> monoatamd <[email protected]>

51e112d79 added feature flags for gfx architecture, set feature flags with hipcc for  lit testing correctly <> Fri Feb 24 14:58:54 2023 +0100 <> Philipp Samfass <[email protected]>

60cc4630e added CDNA architecture detection to LIT building and testing <> Fri Feb 24 14:07:15 2023 +0100 <> Philipp Samfass <[email protected]>

c36e1f097 set default libstdc++ for stdlib_under_test when using hipcc (https://github.com/RadeonOpenCompute/ROCm_Documentation/blob/master/Programming_Guides/HIP-porting-guide.rst#libc-and-libstdc) <> Fri Feb 24 09:37:24 2023 +0100 <> Philipp Samfass <[email protected]>

7a26744d4 chore: add gitignore <> Thu Feb 23 15:03:46 2023 +0000 <> monoatamd <[email protected]>

d582c4b2e make CMake abort when trying to enable both CUDA and HIP support <> Thu Feb 23 15:13:28 2023 +0100 <> Philipp Samfass <[email protected]>

30ccecf79 apply workaround for HIPCC issue, so that all "fake main" functions are compiled for both host and device <> Thu Feb 23 14:53:11 2023 +0100 <> Philipp Samfass <[email protected]>

7ce7da0d6 merging CI functionality into this branch <> Thu Feb 23 13:14:09 2023 +0100 <> Philipp Samfass <[email protected]>
Merge branch 'dev' into feature/tests_with_hip

610c71515 Merge pull request #1 from AMD-AI/feature/github-ci <> Thu Feb 23 12:50:01 2023 +0100 <> ADiL <[email protected]>
Feature/GitHub CI
78109d1fe 1) found workaround for hipcc compilation error where __host__ __device__ declaration is ignored and main function is only compiled for host 2) added workaround to some test files 3) removed libc++ from linking command when compiling with hipcc <> Thu Feb 23 12:11:39 2023 +0100 <> Philipp Samfass <[email protected]>

04e861df7 changed name of workflow build run for github CI <> Wed Feb 22 16:56:43 2023 +0100 <> Philipp Samfass <[email protected]>

daa8df529 added build workflow (WIP) <> Wed Feb 22 16:54:41 2023 +0100 <> Philipp Samfass <[email protected]>

9dc7360c9 Initial modifications to CMake build and lit testing infrastructure (WIP) Lit tests are being built with hipcc, but there are yet compiler errors to fix. <> Wed Feb 22 14:03:37 2023 +0100 <> Philipp Samfass <[email protected]>

1c9d1da49 Update github-actions-demo.yml <> Tue Feb 21 16:50:49 2023 +0100 <> Philipp Samfass <[email protected]>
Test self-hosted runner
4ec875226 Added GitHub Actions example <> Tue Feb 21 09:07:33 2023 +0100 <> Philipp Samfass <[email protected]>

148c4fadc Delete LICENSE.TXT <> Fri Feb 17 19:31:26 2023 +0100 <> ADiL <[email protected]>

4953282ba Update README.md <> Tue Feb 14 17:30:34 2023 +0100 <> ADiL <[email protected]>

Co-authored-by: psamfass <[email protected]>
Co-authored-by: domcharrier <[email protected]>
Co-authored-by: monoatamd <[email protected]>
Co-authored-by: reger-men <[email protected]>
  • Loading branch information
4 people committed Dec 11, 2024
0 parents commit 273eed2
Show file tree
Hide file tree
Showing 9,311 changed files with 1,104,441 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
125 changes: 125 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
# Modifications Copyright (c) 2024 Advanced Micro Devices, Inc.
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.


name: Bug Report
description: Create a report to help us improve
title: '[BUG]: '
labels: ['bug']
body:
- type: checkboxes
id: check-duplicates
attributes:
label: Is this a duplicate?
description: Check for duplicate issues.
options:
- label: I confirmed there appear to be no [duplicate issues](https://github.com/ROCm/libhipcxx/issues) for this bug.
required: true

- type: dropdown
id: bug-type
attributes:
label: Type of Bug
description: What kind of bug are you running into?
multiple: false
options:
- Silent Failure
- Runtime Error
- Compile-time Error
- Performance
- Something else
validations:
required: true

- type: textarea
id: description
attributes:
label: Describe the bug
description: A clear and concise description of what problem you are running into.
placeholder: "Attempting to use structured bindings with `hip::std::tuple` fails to compile."
validations:
required: true

- type: textarea
id: reproduction
attributes:
label: How to Reproduce
description: Steps used to reproduce the bug.
placeholder: |
0. See godbolt link below for exact reproducer
1. Construct a `hip::std::tuple`
2. Use structured bindings to destructure the elements of the tuple.
3. Compilation fails with the error message:
```
<source>(5): error: cannot bind to non-public member "hip::std::__4::tuple<_Tp...>::__base_ [with _Tp=<int, int>]"
auto [a,b] = t;
```
validations:
required: true

- type: textarea
id: expected-behavior
attributes:
label: Expected behavior
description: A clear and concise description of what you expected to happen.
placeholder: "Using structured bindings with `hip::std::tuple` should successfully compile and destructure the elements of the tuple."
validations:
required: true

- type: markdown
attributes:
value: '# System information'

- type: input
id: operating-system
attributes:
label: Operating System
description:
If applicable, the OS version where this bug occurs.
placeholder: Ubuntu Linux 20.04
validations:
required: false

- type: textarea
id: rocm-smi-output
attributes:
label: rocm-smi output
description: If applicable, the output from running the `rocm-smi --showhw` command.
placeholder: |
======================= ROCm System Management Interface =======================
============================ Concise Hardware Info =============================
GPU DID GFX RAS SDMA RAS UMC RAS VBIOS BUS
0 740f ENABLED ENABLED ENABLED 113-D67301V-073 0000:4A:00.0
================================================================================
============================= End of ROCm SMI Log ==============================
validations:
required: false

- type: textarea
id: hipcc-version
attributes:
label: hipcc version
description: If applicable, the version of hipcc you're using.
placeholder: |
HIP version: 6.2.41133-dd7f95766
AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.2.0 24292 26466ce804ac523b398608f17388eb6d605a3f09)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/rocm-6.2.0/lib/llvm/bin
Configuration file: /opt/rocm-6.2.0/lib/llvm/bin/clang++.cfg
validations:
required: false
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Modifications Copyright (c) 2024 Advanced Micro Devices, Inc.
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

blank_issues_enabled: true
58 changes: 58 additions & 0 deletions .github/ISSUE_TEMPLATE/doc_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
"""
Modifications Copyright (c) 2024 Advanced Micro Devices, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
"""
name: Documentation Request
description: Suggest an idea to improve libhipcxx
title: '[DOC]: '
labels: ['doc']
body:
- type: checkboxes
id: check-duplicates
attributes:
label: Is this a duplicate?
description: Check for duplicate issues.
options:
- label: I confirmed there appear to be no [duplicate issues](https://github.com/ROCm/libhipcxx/issues) for this bug.
required: true
- type: dropdown
id: new_or_correction
attributes:
label: Is this for new documentation, or an update to existing docs?
options:
- New
- Update
validations:
required: true
- type: textarea
id: problem
attributes:
label: Describe the incorrect/future/missing documentation
placeholder: "Example: A code snippet mentions function foo(args) but I cannot find any documentation on it."
validations:
required: true

- type: textarea
id: search_locs
attributes:
label: If this is a correction, please provide a link to the incorrect documentation. If this is a new documentation request, please link to where you have looked.
placeholder: |
https://rocm.docs.amd.com/projects/libhipcxx/en/latest/
68 changes: 68 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Modifications Copyright (c) 2024 Advanced Micro Devices, Inc.
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

name: Feature Request
description: Suggest an idea to improve libhipcxx
title: '[FEA]: '
labels: ['feature request']
body:
- type: checkboxes
id: check-duplicates
attributes:
label: Is this a duplicate?
description: Check for duplicate issues.
options:
- label: I confirmed there appear to be no [duplicate issues](https://github.com/ROCm/libhipcxx/issues) for this request.

- type: textarea
id: description
attributes:
label: Is your feature request related to a problem? Please describe.
description: A clear and concise description of what the problem is, e.g., "I would like to be able to..."
placeholder: I would like to be able to use the equivalent of `std::variant` in both host and device code.
validations:
required: true

- type: textarea
id: proposed-solution
attributes:
label: Describe the solution you'd like
description: A clear and concise description of what you want to happen.
placeholder: |
Provide the header `<hip/std/variant>` that implements a heterogeneous `hip::std::variant` type.
validations:
required: true

- type: textarea
id: alternatives
attributes:
label: Describe alternatives you've considered
description:
If applicable, please add a clear and concise description of any alternative solutions or features you've
considered.
placeholder: The alternatives to a `variant` are unappealing. They usually involve using a raw `union` which is not type safe and has none of the convenient machinery like `std::visit`.
validations:
required: false

- type: textarea
id: additional-context
attributes:
label: Additional context
description: Add any other context about the request here.
placeholder: This would be a helpful vocabulary type that could replace a lot of custom and error prone code.
validations:
required: false
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
build/
4 changes: 4 additions & 0 deletions .upstream-tests/.arcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"repository.callsign" : "CXX",
"conduit_uri" : "https://reviews.llvm.org/"
}
13 changes: 13 additions & 0 deletions .upstream-tests/.clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
BasedOnStyle: LLVM

---
Language: Cpp
Standard: Cpp03

AlwaysBreakTemplateDeclarations: true
PointerAlignment: Left

# Disable formatting options which may break tests.
SortIncludes: false
ReflowComments: false
---
68 changes: 68 additions & 0 deletions .upstream-tests/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
#lib/ # We actually have things checked in to lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
!*.spec/

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.cache
nosetests.xml
coverage.xml

# Translations
*.mo
*.pot

# Django stuff:
*.log

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# MSVC libraries test harness
env.lst
keep.lst

# Editor by-products
.vscode/

# Random things
build-*

# Perforce files
.p4config
Loading

0 comments on commit 273eed2

Please sign in to comment.