Ioannis Assiouras
958d0e4d73
SWDEV-441237 - Move hipMemcpyHtoD out of the initialization loop in module_api_global
...
Change-Id: If68b2aadb16fece429fcab2da0a92ce995c437f6
2024-10-18 04:38:05 -04:00
AravindanC
64eed879df
SWDEV-461080 - Remove Hard Coded Install Permission
...
Change-Id: Idf14ddbd83b304d7a4830467b1f9d14db38dda58
2024-10-03 06:47:55 -07:00
Aravindan Cheruvally
c2671515df
Revert "SWDEV-342167, SWDEV-461080 - Remove Hard Coded Install Permission"
...
This reverts commit 38eedf86cf .
Reason for revert: Observing issue SWDEV-488249 due to catch test permission settings.
Change-Id: Ifdc55e4eb3938c9bc0b9af0a4e9dc9ba366614b3
2024-10-02 10:33:03 -04:00
Ioannis Assiouras
8e62770f50
SWDEV-478295 - Set CXX as the project language in 23_cmake_hiprtc
...
Change-Id: I40c01191e9de1790bbdd42896bdf70c046a70e34
2024-10-01 10:57:16 -04:00
Ranjith Ramakrishnan
173abcfba0
SWDEV-437189 - Provide option to enable/disable CPACK_SET_DESTDIR
...
The variable is set as cache, so that user can override.
But the hard coded setting is preventing override. Removed the same
Change-Id: Ica5f9074a6532f465705a8dd1a8f21c6643ef49e
2024-09-23 15:46:24 -04:00
AravindanC
38eedf86cf
SWDEV-342167, SWDEV-461080 - Remove Hard Coded Install Permission
...
Change-Id: Ie42cf83cc9a665715e76966378237d479202e0a7
2024-09-18 11:48:03 -04:00
Ioannis Assiouras
90b441a804
SWDEV-477039 - Disabled samples that directly invoke hipcc for static builds
...
This commit disables samples that directly call hipcc when
building in a static environment. In its current state, hipcc
requires all static libraries to be explicitly provided
in order to succesfully link the sample binary.
Change-Id: I74c94a57867bc1fe0e6134ddd633b465bd6c0f83
2024-09-05 05:42:27 -04:00
Jaydeep Patel
b89a7c6201
SWDEV-481860 - Match malloc/hipMalloc calls with free/hipFree calls in all samples.
...
Change-Id: Ib44551b3f60cd90fa7158e4ed016ef5549a34ef7
2024-09-04 10:32:58 -04:00
Jaydeep Patel
dac779c834
SWDEV-481861 - Add hipEventDestory for every hipEventCreate in all samples.
...
Change-Id: Ib1b860b02ef2640f321d54902b34ecf0e495ed65
2024-08-29 13:22:19 -04:00
Jaydeep Patel
f54ce39eb5
SWDEV-481391 - No need to set GPU_ARCH as it is been set from amdgpu-arch utility for sample 16 & 17.
...
Change-Id: Icbcc8c2058ecc4b382db51ef9705aab36aa64db0
2024-08-29 11:45:57 -04:00
kjayapra-amd
2d2e90a405
SWDEV-478923 - Add targets for code object compilation.
...
Change-Id: Icef7917cfb1ba53eb3ccbbf9220dd96dcbe8714d
2024-08-22 14:17:31 -04:00
Rahul Manocha
b8a0b33f67
SWDEV-479073 - Use amdgpu-arch for sample 16 and 17
...
Change-Id: Ia6a2d7171d0ed296166f3bbf5f40c56305518de3
2024-08-22 14:15:52 -04:00
Ioannis Assiouras
e45cbdfaa1
SWDEV-478295 - Link with hiprtc-builtins for sample 23_cmake_hiprtc in static build
...
Change-Id: I9ccc1310ea2f38d8624103e198b6fc1077712345
2024-08-15 16:37:38 -04:00
Julia Jiang
5d042c80fa
SWDEV-472723 - Correct file format and remove trailing spaces
...
Change-Id: Ie40c763e9391fa36d6c890cd0a171659a1502a83
2024-08-01 15:17:39 -04:00
Jaydeep Patel
ba83484a8d
SWDEV-462616 - Sample 19 is disabled temporarily due to ASAN failure.
...
Change-Id: I6528095909da1f91dbe7383752deca780a38a231
2024-07-04 05:41:15 +00:00
Ranjith Ramakrishnan
0b28ca3f04
SWDEV-383837 - Update hip-samples package dependencies
...
hip-samples package should depends on hip-dev/devel and hipcc rather than hip-runtime-amd
Updated the same for static package as well
DependsOn: Iacab7993dffaa00efd1344d3eafb55f6317d1509
Change-Id: I1470475ddbaf9201ba0e39977aeb48b0382f59c9
2024-06-17 19:34:13 -04:00
Ranjith Ramakrishnan
c7e0c65779
SWDEV-467162 - Temporarily disable hip-lang test for static builds
...
Hip-lang test is failing in static build environment. Disabling it for time being
TODO: Need to renable the test once its fixed
Change-Id: Ie15f02a157a13b3f105596ad673a8a1da6e78b67
2024-06-12 14:36:04 -07:00
Ioannis Assiouras
8a24059131
SWDEV-445669 - Made required changes to test static libs
...
Change-Id: I0fbcdaa9f0b9633d861300c221ac12df1772c6e9
2024-06-12 05:14:36 -04:00
Ioannis Assiouras
38f67d4a0b
SWDEV-464648 - code and comment cleanups
...
Change-Id: I10b462078fa9eed73372d81dff92d7278731f736
2024-06-12 00:34:10 -04:00
Sebastian Luzynski
65512f5872
Adjust cmake target to work with different build tools
...
This change allows to build smaples repo with different build tools like ninja
Signed-off-by: Sebastian Luzynski <Sebastian.Luzynski@amd.com >
Change-Id: I232efc3f19895e84b9de0d410ea43ec55b913ab4
2024-05-29 10:26:20 -04:00
Julia Jiang
c8c4faefa2
SWDEV-458672 - Fix dead links in hip-tests repos
...
Change-Id: Iea5b47d2db3b6e33fc18f1ed5bb79be688cce600
2024-05-10 11:31:00 -04:00
Konstantin Zhuravlyov
80722e5505
hipcc hacks and workarounds
...
- force hipcc.bin on windows
- avoids perl, which randomly can't spawn processes
- force hipconfig.bat on windows
- hipconfig.bin does not print hip version for some reason
- i will file a ticket for this
Change-Id: Ib9fb981844213b038f6d1cc3288148116295b58c
2024-05-07 10:21:17 -04:00
Jaydeep Patel
ae66ad5d95
SWDEV-452646 - Enabled sample 16 & 17 as compiler change is landed in mainline.
...
Change-Id: I865c3ab3cb99f32d057fb9f662f358adc9977481
2024-05-03 10:11:04 -04:00
Jaydeep Patel
7c12d95667
SWDEV-452646 - Disable sample 16 & 17 temporarily due to compiler dependency.
...
Change-Id: I010f019066fa277536270feaef38a2cd5edc63d0
2024-04-12 01:10:54 -04:00
Jatin Chaudhary
9261110d65
SWDEV-429802 - Add sanitizer option to hip-samples
...
Change-Id: I30cb170d466645ea2dfd940b9c6c6748cc010de1
2024-04-08 05:36:26 -04:00
Vikram
fba826fc3c
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
2024-03-13 10:41:08 -04:00
Rakesh Roy
6ce6b54085
SWDEV-1 - Delete sample 20_hip_vulkan
...
- Delete sample 20_hip_vulkan as it contains NVIDIA Copyright
Change-Id: If9638a121bdfcf08813d3ea9eb4a14f78170c2a6
2024-03-08 07:18:38 -05:00
jujiang
4a2fbe2e1f
SWDEV-444835 - Merge hip-tests changes made in 6.1- to staging
...
Change-Id: Ib0e926467dce61d3b8ca3bd9e8f0b682b666b0c7
2024-02-29 11:38:04 -05:00
jujiang
4c0bf68dd9
SWDEV-444390 - Update link in Github for hip-tests
...
Change-Id: I8e49f88f8f6d9f6d430774bd72f8fdcc522553f6
2024-02-21 11:40:09 -05:00
Jaydeep Patel
cf461b2f8c
SWDEV-442606 - Add gfx90a and gfx942 in GPU arch list.
...
Change-Id: I0890bd865f22292465614423b94da8c1d1fc56ce
2024-01-24 23:50:29 -05:00
Rahul Manocha
c6d3505d63
SWDEV-431345 Cmake for hip sample 22
...
Change-Id: I9b1149b2e83b2f639882011d75b4fb9e2419ff8d
2024-01-18 12:10:03 -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
f0b5b20466
SWDEV-431345 - CMake build flow for hip samples 16,17
...
Change-Id: I7bfc8600511c78d8c73aa526f9846cd268651279
2023-12-15 09:02:23 -05:00
Rahul Manocha
1a2f1eb11c
SWDEV-437139 hip sample 22 fix
...
Change-Id: Icb7a9d759e62dab95399c81e2b68ff2cd8c24c0b
2023-12-12 17:34:07 +00: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
taosang2
8cc7ed5a03
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
2023-11-06 08:54:56 -05:00
Jaydeep Patel
560ef9b945
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
2023-10-27 03:08:45 -04:00
Ioannis Assiouras
a5c353f8f5
SWDEV-425471 - Link hipDispatchLatency sample with pthread library
...
Change-Id: I379823460ab5759de6019ce48b194d8844b65724
2023-10-06 05:44:05 -04:00
Ioannis Assiouras
fb1aaad0b7
SWDEV-425129 - Revert "SWDEV-422089,SWDEV-420822 - [ABI Break] Update sample to use hipFuncAttribute fields"
...
This reverts commit e11a002615 .
Change-Id: I45b50c2e7052495ac71057aab2f1becb1423fe5e
2023-10-03 11:37:34 +01:00
Ioannis Assiouras
e11a002615
SWDEV-422089,SWDEV-420822 - [ABI Break] Update sample to use hipFuncAttribute fields
...
Change-Id: I6f432d50b6883664ce303b6d3bd90051f9a33cac
2023-09-30 12:25:51 -04:00
Julia Jiang
547de9c274
SWDEV-393746 - Fix for HIP-sample tests failure
...
Change-Id: Ifb2dc03cfa82bb96f5f0d21b3848a5cda0baf9bc
2023-09-27 11:55:17 -04:00
ROCm CI Service Account
49d3ea9945
SWDEV-397570 - Adding PASSED string on cases where tests are skipped. ( #385 )
...
Change-Id: I2bbe5cfb9eff75b817f3e77aaeeecc5d0c411dbf
2023-08-14 21:30:34 +05:30
ROCm CI Service Account
30fcf2f17c
SWDEV-402093 - Updated README to use AMDGPU_TARGETS=native to enable compiler autodetection ( #378 )
...
Change-Id: I33a71d12b5b883eacac706725322bc13e0d57852
2023-08-14 21:26:49 +05:30
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
Ioannis Assiouras
11e8609b90
Include hip_helper.h in 14_gpu_arch sample ( #387 )
2023-08-11 20:00:35 +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
Jatin Chaudhary
3e1169eb51
SWDEV-397031 - fix device functions as well ( #352 )
...
Change-Id: I9081a5497c89b563c3761e533bb9ee03d61f5867
2023-07-08 20:55:55 +05:30
ROCm CI Service Account
c60a07656f
SWDEV-405157 - Rewrite sample 11_texture_driver to use texture objects ( #348 )
...
Change-Id: I107bfc06fabd62f43e6665b8b038226fe2154fc5
2023-07-08 20:55:09 +05:30