Commit Graph

128 Commits

Author SHA1 Message Date
Vikram 4681ffc8f6 SWDEV-448422 - Fix tests according to latest compiler changes
Recent compiler patch https://github.com/llvm/llvm-project/pull/81700/
introduced changes to certain hip external symbols clang emits. This patch
makes the tests "16_assembly_to_executable" and "17_llvm_ir_to_executable"
follow these changes. I expect comments on whether this is an unintended
compiler behaviour that needs fix in compiler or this is the proper fix.

Change-Id: I3943f5365600f683a65c98c6d17c14a5e4192351


[ROCm/hip-tests commit: fba826fc3c]
2024-03-13 10:41:08 -04:00
Rakesh Roy 96db0dbd8d SWDEV-1 - Delete sample 20_hip_vulkan
- Delete sample 20_hip_vulkan as it contains NVIDIA Copyright

Change-Id: If9638a121bdfcf08813d3ea9eb4a14f78170c2a6


[ROCm/hip-tests commit: 6ce6b54085]
2024-03-08 07:18:38 -05:00
jujiang 855a59c16c SWDEV-444835 - Merge hip-tests changes made in 6.1- to staging
Change-Id: Ib0e926467dce61d3b8ca3bd9e8f0b682b666b0c7


[ROCm/hip-tests commit: 4a2fbe2e1f]
2024-02-29 11:38:04 -05:00
jujiang c9991341dc SWDEV-444390 - Update link in Github for hip-tests
Change-Id: I8e49f88f8f6d9f6d430774bd72f8fdcc522553f6


[ROCm/hip-tests commit: 4c0bf68dd9]
2024-02-21 11:40:09 -05:00
Jaydeep Patel 95eb873d90 SWDEV-442606 - Add gfx90a and gfx942 in GPU arch list.
Change-Id: I0890bd865f22292465614423b94da8c1d1fc56ce


[ROCm/hip-tests commit: cf461b2f8c]
2024-01-24 23:50:29 -05:00
Rahul Manocha 9689afcac7 SWDEV-431345 Cmake for hip sample 22
Change-Id: I9b1149b2e83b2f639882011d75b4fb9e2419ff8d


[ROCm/hip-tests commit: c6d3505d63]
2024-01-18 12:10:03 -05:00
Rahul Manocha b299b79a77 SWDEV-436821 Update hip samples Readme files
Change-Id: I6bf3a72eac4a4242cb2dbf4e6eee73e0e1bef2ef


[ROCm/hip-tests commit: 76dd8ea569]
2023-12-21 14:20:44 -05:00
Rahul Manocha 2d432c1ca6 SWDEV-431345 - CMake build flow for hip samples 16,17
Change-Id: I7bfc8600511c78d8c73aa526f9846cd268651279


[ROCm/hip-tests commit: f0b5b20466]
2023-12-15 09:02:23 -05:00
Rahul Manocha 6ed9ba879b SWDEV-437139 hip sample 22 fix
Change-Id: Icb7a9d759e62dab95399c81e2b68ff2cd8c24c0b


[ROCm/hip-tests commit: 1a2f1eb11c]
2023-12-12 17:34:07 +00:00
Rahul Manocha b821fdbfba [SWDEV-431345][SWDEV-432633] toplevel cmake for hip samples
Change-Id: If22e7e96604f184458cc6ab6bb9945152f9359e0


[ROCm/hip-tests commit: 7481de706f]
2023-12-05 11:36:15 -05:00
Rakesh Roy 16691f6e85 SWDEV-425678 - Fix build failure in HIP samples
- Due to file reorg path changes cmake fails at find_package(hip) unless CMAKE_PREFIX_PATH is set explicitly
- Update CMakeLists.txt to set CMAKE_PREFIX_PATH
- Update Readme

Change-Id: Ibdb4419efcdd6583b059a728e48dfdb8f927a48b


[ROCm/hip-tests commit: 4dfa7ca7e6]
2023-11-27 12:56:29 -05:00
taosang2 b57dd4dd78 SWDEV-408843 - Fix vulkan_interop failure
Fix vulkan_interop build issue on CMake so that
it can be integrated into catch2 batch build.
Fix some test failures.
Update some code format.

Change-Id: I32c9bed861ddf4fe0d7bba21dce9bd720168c397


[ROCm/hip-tests commit: 8cc7ed5a03]
2023-11-06 08:54:56 -05:00
Jaydeep Patel c28e388ab2 SWDEV-418116 - FindHIP.cmake is moved to /opt/rocm/lib/cmake/hip/ from /opt/rocm/hip/cmake/
Refer hipify-perl from /opt/rocm/bin/.

Change-Id: I95af838136b124d776323442253e8c74278d69e5


[ROCm/hip-tests commit: 560ef9b945]
2023-10-27 03:08:45 -04:00
Julia Jiang d1028926ef SWDEV-393746 - Fix for HIP-sample tests failure
Change-Id: Ifb2dc03cfa82bb96f5f0d21b3848a5cda0baf9bc


[ROCm/hip-tests commit: 547de9c274]
2023-09-27 11:55:17 -04:00
ROCm CI Service Account 1363f92ea0 SWDEV-397570 - Adding PASSED string on cases where tests are skipped. (#385)
Change-Id: I2bbe5cfb9eff75b817f3e77aaeeecc5d0c411dbf

[ROCm/hip-tests commit: 49d3ea9945]
2023-08-14 21:30:34 +05:30
ROCm CI Service Account aed6fb404c SWDEV-402093 - Updated README to use AMDGPU_TARGETS=native to enable compiler autodetection (#378)
Change-Id: I33a71d12b5b883eacac706725322bc13e0d57852

[ROCm/hip-tests commit: 30fcf2f17c]
2023-08-14 21:26:49 +05:30
ROCm CI Service Account d3b771c91d SWDEV-385161 - Deprecate usage of env vars in HIP samples and tests (#363)
* SWDEV-385161 - Deprecate usage of env vars in HIP samples and tests env vars such as HIP_PATH, ROCM_PATH, HIP_COMPILER, HIP_RUNTIME, HSA_PATH etc are removed.

Change-Id: I280e20b291cfb14675846aae72d97fa5b3ad567d

[ROCm/hip-tests commit: 34976df246]
2023-08-14 12:06:14 +05:30
Ioannis Assiouras 609d5d5c37 Include hip_helper.h in 14_gpu_arch sample (#387)
[ROCm/hip-tests commit: 11e8609b90]
2023-08-11 20:00:35 +05:30
ROCm CI Service Account f8e1cba1ad SWDEV-402381 - Add hipCheckErrors for HIP API calls in samples (#375)
Change-Id: I335d7e780362fc59fd2d90939b4c8b8a7231ffc7

[ROCm/hip-tests commit: 7cc53f992f]
2023-07-20 10:22:17 +05:30
Jatin Chaudhary 8f7d58e3b9 SWDEV-397031 - fix device functions as well (#352)
Change-Id: I9081a5497c89b563c3761e533bb9ee03d61f5867

[ROCm/hip-tests commit: 3e1169eb51]
2023-07-08 20:55:55 +05:30
ROCm CI Service Account dac192e64b SWDEV-405157 - Rewrite sample 11_texture_driver to use texture objects (#348)
Change-Id: I107bfc06fabd62f43e6665b8b038226fe2154fc5

[ROCm/hip-tests commit: c60a07656f]
2023-07-08 20:55:09 +05:30
ROCm CI Service Account 535c95c484 SWDEV-393746 - Fix HIP sample failures-21, 22, 23 (#331)
Change-Id: Id839cf24ba5f16897428b19c0299ea781a5a6d09

[ROCm/hip-tests commit: 90de01adb9]
2023-06-28 21:59:03 +05:30
ROCm CI Service Account a120fa7394 SWDEV-393746 - Fix for HIP-Sample tests failure 16, 17, 18,19 (#332)
Change-Id: I088c1035f1f25e7a5cc65077ff0b8cd281fdaf55

[ROCm/hip-tests commit: 529d245738]
2023-06-28 21:48:13 +05:30
ROCm CI Service Account b2576cbd8e SWDEV-397031 - Fix issue in Release mode where hipMalloc was never called (#308)
Change-Id: Id99a5f39035f14ea9a63f9b339e4fb6525e1d3c1

[ROCm/hip-tests commit: 62b2218368]
2023-06-19 22:10:49 -07:00
ROCm CI Service Account d3f421cc5b SWDEV-397570 - Move tex2d call under IMAGE_SUPPORT guards. (#294)
Change-Id: Id7239f026dfb463c8c6d82b9656ac5b6716956fc

[ROCm/hip-tests commit: 3d29c352b9]
2023-06-19 09:40:06 -07:00
ROCm CI Service Account 3296306318 SWDEV-394336 - Pass CMAKE_PREFIX_PATH. (#265)
Change-Id: I0d3f7c140559559283e362b728b0f8082d8716b8


[ROCm/hip-tests commit: 7d7b4ab075]
2023-05-30 12:26:15 -07:00
ROCm CI Service Account 44bf014934 SWDEV-378392 - Fixed warnings when build with cmake (#171)
Change-Id: If4dbd4b844fd34c2ab6a8165782a4a42d2a18402

[ROCm/hip-tests commit: dadd195aeb]
2023-02-28 11:38:47 +05:30
ROCm CI Service Account c54451e622 SWDEV-371483 - Fixed the build of some tests in HIP-Samples (#120)
Change-Id: Iab0c79eafb9c919b65e7cb42ac865ce830a9e48d

[ROCm/hip-tests commit: 7e331b2479]
2023-02-03 20:39:44 +05:30
ROCm CI Service Account 89c85347d5 SWDEV-344342 - Add sample using hiprtc target (#2946)
Change-Id: Ie2a0b308862ac8db2e72a0170499139c7b46605b

[ROCm/hip-tests commit: de14b1ce6d]
2022-09-23 12:36:57 +05:30
ROCm CI Service Account 9d7601de4c SWDEV-334508 - CMake create static lib & linker commands for windows. (#2841)
Change-Id: I544837a65e47d425a946c666d0b2348aa7a33b15

[ROCm/hip-tests commit: 908988924a]
2022-08-05 15:13:19 +05:30
ROCm CI Service Account a68dc23295 SWDEV-326631 - Adds sample which tests HIP language support with upstream CMake (#2743)
Change-Id: I6b666cc0c5b1a53819515c5e343e517a2712d2ef

[ROCm/hip-tests commit: e0ca1589b1]
2022-06-17 10:40:48 +05:30
ROCm CI Service Account aceaceea4a SWDEV-336007 - Add sample which verifies CXX language support with amdclang++ (#2733)
Change-Id: Ib4dbe1ce66a7dbd4f60f0a2134d62bdf366aeac5


[ROCm/hip-tests commit: dcf336b09d]
2022-06-15 13:27:42 -07:00
ROCm CI Service Account 47af0feeb0 SWDEV-339113 - update coordinate in HIP sample kernels (#2736)
Change-Id: I8ea179b4ba8f1c0ebec830a5aa5947e843f06e42

[ROCm/hip-tests commit: dea8404361]
2022-06-15 11:22:27 +05:30
ROCm CI Service Account 3913b8282b SWDEV-336378 - cmake support for vulkan example (#2725)
Change-Id: I5ac28d2f57c1732e243674aa904cabe23be34797

[ROCm/hip-tests commit: e9202ded5b]
2022-06-13 15:35:33 +05:30
ROCm CI Service Account eddb025028 SWDEV-339113 - Update sampl codes with correct kernel coordinate (#2704)
Change-Id: Ibfc0fd285441cd3d79b312d2b739729a039a6f84

[ROCm/hip-tests commit: 5da168300f]
2022-06-02 17:07:52 +05:30
ROCm CI Service Account b48478288b SWDEV-331248 - Add more image tests in sample (#2709)
In samples/2_Cookbook/11_texture_driver, add
Vector data types(char4, short4, int4, float4);
More arithmetic data types(char, short, int);

Change-Id: I54aa482213d340d32cf912601adead0812c2323a

[ROCm/hip-tests commit: 1a422d9798]
2022-06-02 17:01:14 +05:30
ROCm CI Service Account c91bfdb8c6 SWDEV-334508 - Testing & fix for HIP samples on Linux and Windows. (#2711)
Change-Id: I6edc0d6dc7ce8f2223381baddacbc5063b6d4983

[ROCm/hip-tests commit: 5e42fbedfd]
2022-06-02 17:00:05 +05:30
Maneesh Gupta abf7cb6321 Fix typo in 11_texture_driver sample
[ROCm/hip-tests commit: e274037cfb]
2022-05-13 14:05:35 +05:30
ROCm CI Service Account e17423a24e SWDEV-305992 - Improve texture tests (#2646)
Enable more texture supports for hip-rocclr.
Skip texture tests on device that doesn't support images.
SWDEV-322257 - Fix issues of image tests skipped on
NVidia devices.

Change-Id: Ia99d06b1e97fc945f1b740e47710f4dcd70f38ca


[ROCm/hip-tests commit: 70ccfa39ad]
2022-05-09 08:46:20 -07:00
Satyanvesh Dittakavi 4e9ddeee7d SWDEV-306940 - Fix hip errors/warnings by CppCheck (#2486)
Change-Id: I91f5e97b0c7ca80b6d21fa66d24e3cf9fde716a9

[ROCm/hip-tests commit: 833e962ddd]
2022-02-24 20:57:04 +05:30
Sarbojit2019 f34431d776 SWDEV-3161551 - Fix for P2P sample failure (#2456)
[ROCm/hip-tests commit: 33ac9de928]
2022-01-11 13:52:13 +05:30
ansurya 24acf4ab9e SWDEV-287830 - Remove hardcoding of /opt/rocm path from hip samples (#2391)
Change-Id: I4ffcb4d5afe329377aca63ae0a962c1dc567bfd8

[ROCm/hip-tests commit: dc06edf44d]
2021-11-25 15:10:15 +05:30
pghafari 5dfc8b40c0 SWDEV-245532 - HIP - Vulkan interop example (#2375)
Change-Id: I713ff8fd9da49aa521aee278d1476fd8b4739fc5

[ROCm/hip-tests commit: fa8e4f1f8b]
2021-10-06 17:27:22 +05:30
Julia Jiang d501bb3a9e SWDEV-286322 - clean up trailing space (#2361)
Change-Id: I03c07e67a8d1fa1a874718ffba43eb396c2aa05c

[ROCm/hip-tests commit: 43a2f75882]
2021-09-24 16:27:51 +05:30
Tao Sang a1a7809c20 SWDEV-294588 - Enable NV printf DTests
Enable NV printf DTests as many as possible.
Fix the bugs due to behavour difference between
Hip-Rocclr and Cuda.
Add hipLimitPrintfFifoSize.

Change-Id: I3fe6dbc35a7a140a9919df197b7885df83d28049


[ROCm/hip-tests commit: 395f11c64c]
2021-07-20 21:22:11 -04:00
Satyanvesh Dittakavi 7fbb0f1f55 SWDEV-284207 - Modify HIP samples to run on Navi and MI100 Asics
Change-Id: I5b8d4f8df36a5be2ea4c381b88454832c59253e6


[ROCm/hip-tests commit: 7f2e5437cb]
2021-07-20 02:56:19 -04:00
Tao Sang 21ccb0cf1e SWDEV-292273 - Add cmake tests
Add test on CXX and Fortran build in cmake.
Add test on hip::device interface linking in cmake.

Change-Id: I3fe6dba05a7a140a9a19df107b7885df83d28042


[ROCm/hip-tests commit: d5142afe58]
2021-07-08 12:51:46 -04:00
agunashe 516c38bcfd SWDEV-293742 - Update copyright end year
Change-Id: I2cb7bbd9a6d9da28116ba9dd9cec4e60525444e2


[ROCm/hip-tests commit: e2c6bb5b4e]
2021-07-07 12:57:23 -04:00
agodavar 91e7231469 SWDEV-288510 - Add hip shared library path to run-time search for linker
Change-Id: I7eaf712c01556933b881b983a8994f4e06333116


[ROCm/hip-tests commit: 56b3cb554a]
2021-06-02 12:57:12 -04:00
Aaron En Ye Shi 11b349cfe5 SWDEV-222423 - Add HIP Sample 2_Cookbook/15_static_library
HIP supports emitting two types of static libraries. One type
will export host functions and is compatible with host linkers.
The second type exports device functions, but is generated with
ar manually. Also, add a README with steps on how to run these
samples with Makefile or CMake.

Change-Id: I1be15c2884583b370092bc8e4bf04f726f8f5a27


[ROCm/hip-tests commit: 458a09f151]
2021-04-27 16:05:15 -04:00