Godavarthy Surya, Anusha
814b1c81cf
SWDEV-530015 - Override ROCM_PATH with env if it is set ( #171 )
2025-06-05 15:30:33 +05:30
Deshpande, Chinmay Diwakar
65158bc9f1
SWDEV-532676 - Pass hip-path instead of rocm-path ( #182 )
...
* SWDEV-532676 - Pass hip-path instead of rocm-path
Commit 7b7537c1703db0cc53ee1f36089406b555ae9a9e in llvm-project enforces that no hip-device-lib-path is forwarded by hipcc. To ensure that runtime is found, pass hip-path instead.
* SWDEV-532676 - Fix comment
Co-authored-by: Lambert, Jacob <Jacob.Lambert@amd.com >
---------
Co-authored-by: Lambert, Jacob <Jacob.Lambert@amd.com >
2025-05-19 13:26:03 -07:00
kjayapra-amd
c22b4fdea1
SWDEV-504749 - Call hipStreamSynchronize before exiting the program to avoid memleaks.
...
Change-Id: Icd5d4c8f27b04caaeb315eb93673234f274b5c5b
2025-01-07 15:36:13 -05:00
Rahul Manocha
76dd8ea569
SWDEV-436821 Update hip samples Readme files
...
Change-Id: I6bf3a72eac4a4242cb2dbf4e6eee73e0e1bef2ef
2023-12-21 14:20:44 -05:00
Rahul Manocha
7481de706f
[SWDEV-431345][SWDEV-432633] toplevel cmake for hip samples
...
Change-Id: If22e7e96604f184458cc6ab6bb9945152f9359e0
2023-12-05 11:36:15 -05:00
Rakesh Roy
4dfa7ca7e6
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
2023-11-27 12:56:29 -05:00
taosang2
a115fcc189
SWDEV-431104 - Add pcie atomic in hipinfo
...
Add hostNativeAtomicSupported property into
hipinfo.
Change-Id: I606226705cd440c1742e0eac4840f7b189d69148
2023-11-17 12:31:37 -05:00
Ioannis Assiouras
a5c353f8f5
SWDEV-425471 - Link hipDispatchLatency sample with pthread library
...
Change-Id: I379823460ab5759de6019ce48b194d8844b65724
2023-10-06 05:44:05 -04:00
ROCm CI Service Account
34976df246
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
2023-08-14 12:06:14 +05:30
ROCm CI Service Account
7cc53f992f
SWDEV-402381 - Add hipCheckErrors for HIP API calls in samples ( #375 )
...
Change-Id: I335d7e780362fc59fd2d90939b4c8b8a7231ffc7
2023-07-20 10:22:17 +05:30
ROCm CI Service Account
b795171649
SWDEV-392758 - Link with thread lib. ( #267 )
...
Change-Id: I2442f5f0e62238826560717e6719184a6a25dbc5
2023-06-21 15:59:04 +05:30
ROCm CI Service Account
fc9d6d2df5
SWDEV-389703 - Remove hipBusBandwidth and hipCommander samples ( #277 )
...
Change-Id: Id65eab4d0cc524d7cacac4fbf1d3b2c3a640eb77
2023-05-23 16:22:07 -07:00
ROCm CI Service Account
5e42fbedfd
SWDEV-334508 - Testing & fix for HIP samples on Linux and Windows. ( #2711 )
...
Change-Id: I6edc0d6dc7ce8f2223381baddacbc5063b6d4983
2022-06-02 17:00:05 +05:30
Satyanvesh Dittakavi
833e962ddd
SWDEV-306940 - Fix hip errors/warnings by CppCheck ( #2486 )
...
Change-Id: I91f5e97b0c7ca80b6d21fa66d24e3cf9fde716a9
2022-02-24 20:57:04 +05:30
agunashe
835bde481b
SWDEV-1 - hip change for Windows applications hipInfo ( #2471 )
...
BLDSPPT-3818
Change-Id: I624786a0d79678fbd850f0b8bedc7314731a77f4
2022-02-10 08:27:05 -08:00
Sarbojit2019
d287ee0b43
SWDEV-306176 - Fix hipInfo sample for arch name showing junk values on some platform ( #2404 )
2021-11-25 15:13:22 +05:30
ansurya
dc06edf44d
SWDEV-287830 - Remove hardcoding of /opt/rocm path from hip samples ( #2391 )
...
Change-Id: I4ffcb4d5afe329377aca63ae0a962c1dc567bfd8
2021-11-25 15:10:15 +05:30
Julia Jiang
43a2f75882
SWDEV-286322 - clean up trailing space ( #2361 )
...
Change-Id: I03c07e67a8d1fa1a874718ffba43eb396c2aa05c
2021-09-24 16:27:51 +05:30
agunashe
e2c6bb5b4e
SWDEV-293742 - Update copyright end year
...
Change-Id: I2cb7bbd9a6d9da28116ba9dd9cec4e60525444e2
2021-07-07 12:57:23 -04:00
Tao Sang
562282039e
SWDEV-270973 - Add missing copyright headers
...
Change-Id: I6bb27650f74372dae6e29c79fd6bb2022cc062fe
2021-03-01 19:46:24 -05:00
Rahul Garg
eff5d6cf6c
SWDEV-269604 - Revert "Update dispatch latency with wall time measurements"
...
This reverts commit 024e78b865 .
Hold wall time related updates till direct dispatch is ready.
Change-Id: I53b232f6f51bc2fc71b6b639fe0081e2907e9707
2021-02-25 04:50:44 +00:00
agodavar
1d1fd4d9f6
SWDEV-268552 - HIP sample segfaults during hipModuleLoad, fix mmap bug
...
Change-Id: I51c6061e7ac6b2524586d96fdd69b9f084b1906a
2021-01-27 23:39:50 -05:00
agodavar
3e11da745d
SWDEV-268552 - HIP sample hipDispatchEnqueueRateMT segfaults, updated to use hipModuleLoadData
...
Change-Id: Ibf34c780d5bd4278adcedba1d6e057637c258485
2021-01-19 09:32:14 -05:00
Rahul Garg
024e78b865
Update dispatch latency with wall time measurements
...
Change-Id: I73bfed129171d6909b4638f714b694111b31ef56
2021-01-12 22:52:33 +00:00
Tao Sang
22094572e1
Remove hip-hcc codes: Part four
...
Remove __HCC__, __HCC_ONLY__, __HCC_CPP__, __HCC_C__,
__HCC_OR_HIP_CLANG__, __HIP_ROCclr__ and their guarded codes.
Remove Hcc codes from directed_tests and samples.
Remove __HIP_PLATFORM_HCC__ and __HIP_PLATFORM_NVCC__ from
some files where they are not necessary.
Add deprecation notice.
Change-Id: I1ae467eafd749d6c25bca204c1724b026be21fce
2021-01-08 10:53:34 -05:00
Tao Sang
693b89b3dd
Remove hip-hcc codes: Part three
...
1.Rename include/hip/hcc_detail/ as include/hip/amd_detail/
2.Rename include/hip/nvcc_detail/ as include/hip/nvidia_detail/
3.Create __HIP_PLATFORM_AMD__ to replace __HIP_PLATFORM_HCC__
4.Create __HIP_PLATFORM_NVIDIA__ to replace __HIP_PLATFORM_NVCC__
After hcc_detail, nvcc_detail, __HIP_PLATFORM_HCC__ and __HIP_PLATFORM_NVCC__
have been removed from upstream, they will be removed from hip runtime.
Change-Id: I1ae457effd739d6c25bca203c1724b026be21fce
2021-01-05 10:39:31 -05:00
Vladislav Sytchenko
08c35854c0
Revert "Revert "Merge branch 'amd-master-next' into amd-npi-next""
...
This reverts commit 051c84bba3 .
Reason for revert: <INSERT REASONING HERE>
Change-Id: I92ceb171e31026ed1864704cef2fc1497b883ef9
2020-10-05 13:20:58 -04:00
Vladislav Sytchenko
051c84bba3
Revert "Merge branch 'amd-master-next' into amd-npi-next"
...
This reverts commit 607ac99389 .
Reason for revert: <INSERT REASONING HERE>
Change-Id: I53322718dadde2c98f96140b8e260ec7ee9ef721
2020-10-05 13:02:39 -04:00
Satyanvesh Dittakavi
cc28186c90
Amend hipBusBandwidth sample
...
Change-Id: I9230b553275146e984c6e7d9f11b76e520e14809
2020-09-18 13:45:19 -04:00
Tao Sang
5b8651c825
Make samples support cmake
...
Only cmake can support static lib of hip rt.
Thus samples will support static lib of hip
rt when this is done.
Change-Id: I70e8d06e85084369a035b42c5d1d56287c874ac9
2020-09-18 07:37:02 -04:00
Rahul Garg
aea45f4b58
Fix hipDispatchEnqueueRateMT sample
...
Change-Id: I7ade0dcf8b32ac90a311022d12339740b2b3df44
2020-08-14 18:56:39 -04:00
Jason Tang
c7212506c9
Add asicRevision
...
Change-Id: I59f3ad20b9bdadf77bd1e0725f7a401d7ad423a3
2020-06-16 17:54:20 -04:00
Jason Tang
593b8a093f
SWDEV-227909 - Add gcnArchName
...
Change-Id: Iea6d16b5d693dd0d900fa424d7a321c39315430e
2020-06-05 15:33:55 -04:00
Alex Xie
9136212b51
SWDEV-221166 - Detect support for large bar access through HIP runtime API
...
Change-Id: Iaa9756c1b5e40c1ab5afb38e44a6699fa5f6c13f
2020-05-01 20:39:52 -04:00
Maneesh Gupta
22e9bcf424
Merge branch 'amd-master' into amd-master-next
...
Change-Id: I3094c15008093f2072bcd38aca4ea90aeae2d97b
2020-04-09 06:31:00 -04:00
Lad, Aditya
5ddccf0af7
Merge branch 'master' into amd-master-next
...
Conflicts:
CMakeLists.txt
tests/src/texture/simpleTexture2DLayered.cpp
tests/src/texture/simpleTexture3D.cpp
Change-Id: I4aa4754d391b5f37ddf15fa0bcfc84d9da020119
2020-03-06 14:10:44 -05:00
Tao Sang
6eabd2e7dd
Temporarily comment out Hcc-specific APIs for CLang compiler
...
Temporarily comment out Hcc-specific template functions
hipExtLaunchKernelGGL and hipOccupancyMaxPotentialBlockSize for CLang
compiler so that all test cases under hip/samples can be built
successfully for Clang + Hip/Hcc runtime.
Change-Id: Iafc761257be4a7b34eafa6759a01f369570cd6ce
2020-02-16 22:26:47 -05:00
Rahul Garg
f9d99f3f8e
[sample] Add hipDispatchEnqueueRateMT ( #1869 )
...
* [sample] Add hipDispatchEnqueueRateMT
2020-02-13 23:21:40 -08:00
Rahul Garg
c7280bec4d
Simplify hipDispatchLatency sample ( #1793 )
...
* Use hipExtLaunchKernelGGL in dispatchlatency sample
* Let it run on NVCC path too
* Refactoring
* Add test_kernel source
* Remove ResultDB
* Remove error checks
2020-01-22 14:37:47 -08:00
Sarbojit2019
bd535ca14b
Added missing device prop fields into hipInfo sample ( #1357 )
...
* Added prop.integrated into hipInfo sample
* Added missing deviceProp fileds in hipInfo
2019-08-23 09:21:47 +00:00
chrispaquot
cb0a3ca5bc
Set device before processing each one ( #1358 )
2019-08-23 09:19:50 +00:00
Rahul Garg
0f47934640
Remove -g from hipBusBandwidth makefile ( #1351 )
2019-08-21 10:01:31 +00:00
ansurya
53aeee42f9
HIPCommander code cleanup ( #1207 )
...
* HIPCommander code cleanup
* Removed non-used headerfiles
* Removed empty ifdef
2019-07-18 03:18:15 +00:00
Evgeny Mankov
f5f240744a
[HIP][tests] Copyright notice update
2019-05-20 18:46:23 +03:00
Maneesh Gupta
8244ad03d0
Merge pull request #938 from gargrahul/fix_hipBusBW_p2p_bidir
...
Fix hipBusBW sample for P2P bidirectional test
2019-02-28 07:14:38 +05:30
Rahul Garg
5f54c5cb59
Fix hipBusBW sample for P2P bidirectional test
2019-02-28 00:56:07 +05:30
Rahul Garg
dfc0ce51d0
Fix hipBusBW overflow with setting beats/iterations
2019-02-27 00:18:52 +05:30
Maneesh Gupta
bfceb14751
Replace hipLaunchKernel -> hipLaunchKernelGGL
...
Change-Id: I4d99009e1199811d417becf1e1b934ec4d4e30be
2018-10-17 14:32:25 +05:30
Rahul Garg
30c587d2b1
Fix hipCommander Makefile
2018-05-16 15:01:32 +05:30
Maneesh Gupta
6b09bde675
Apply .clangformat to all repo source files
...
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344
2018-03-12 11:29:03 +05:30