26 Commits

Autor SHA1 Nachricht Datum
Jaydeep 190d9a8e27 SWDEV-561273 - hip samples on TheRock build using HIP LANGUAGE and hip-lang package. (#1794) 2026-01-29 09:15:58 +01:00
Danylo Lytovchenko f7338717ae SWDEV-470698 - fix formatting, add format check workflow (#657) 2025-08-20 19:58:06 +05:30
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 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
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 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
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
agunashe 516c38bcfd SWDEV-293742 - Update copyright end year
Change-Id: I2cb7bbd9a6d9da28116ba9dd9cec4e60525444e2


[ROCm/hip-tests commit: e2c6bb5b4e]
2021-07-07 12:57:23 -04:00
Michael LIAO b38734a50b [vdi] Fix texture reference sample.
- The driver code should not re-define `tex` again as it's already
  defined in the kernel code. Eventually, the driver code should be as
  regular C++ code instad of HIP code.

Change-Id: I8c7cab204b98990619d6e7109b990d7089ea9261


[ROCm/hip-tests commit: 2ab06b307d]
2020-04-23 23:41:56 -04:00
Rahul Garg 26924f665e Rename hip/hip_hcc.h to hip/hip_ext.h (#1341)
* Rename hip/hip_hcc.h to hip/hip_ext.h

* Deprecate hip_hcc.h


[ROCm/hip-tests commit: 67e27b3603]
2019-11-07 13:17:10 +05:30
Anusha Godavarthy Surya ce48fed42e merge from master
[ROCm/hip-tests commit: 7cfd70847d]
2019-10-25 15:52:09 +05:30
Rahul Garg ea46097623 Add HIP checks in texture driver sample (#1581)
[ROCm/hip-tests commit: bee4958708]
2019-10-24 17:45:51 +05:30
kjayapra-amd 1f143189f8 Use the correct return type in runTest in 11_texture_driver sample. (#1546)
Fixes SWDEV-203394.
Currently in runTest() returns true, even if the texture reference copy does not happen. Using the existing testResult Flag to return from runTest().

[ROCm/hip-tests commit: 26c3b4f985]
2019-10-16 10:52:15 +05:30
Anusha Godavarthy Surya 1f1da0afa7 Added unbind texture to samples and tests
[ROCm/hip-tests commit: fc776424a0]
2019-10-15 11:34:15 +05:30
Evgeny Mankov e9282e6782 [HIP][HIPIFY] Split HIP_ARRAY_DESCRIPTOR struct to HIP_ARRAY_DESCRIPTOR and HIP_ARRAY3D_DESCRIPTOR
[Reason] To be compatible with CUDA [#1133]

Update HIP code, hipify-clang, tests and docs

[TODO] Add support of the corresponding functions on nvcc fallback path


[ROCm/hip-tests commit: 7a0e0cb50e]
2019-07-11 14:58:16 +03:00
Evgeny Mankov 84e4fdcef2 [HIP][HIPIFY] Make hipMemcpyParam2D coherent with cuMemcpy2D
+ Makes hip_Memcpy2D struct compatible with CUDA_MEMCPY2D struct
+ Add hipMemcpyParam2D support in nvcc fallback path
+ Update hipify-clang, tests and docs accordingly


[ROCm/hip-tests commit: 66c182946e]
2019-05-22 18:31:39 +03:00
Evgeny Mankov eaef7e9024 [HIP][tests] Copyright notice update
[ROCm/hip-tests commit: f5f240744a]
2019-05-20 18:46:23 +03:00
Rahul Garg e80e6d9f68 Clean up module api samples
[ROCm/hip-tests commit: dbf1737658]
2018-08-08 22:28:13 +05:30
Rahul Garg eb77a001da Removed hidden args and hipLaunchParm from HIP/HCC path
[ROCm/hip-tests commit: bd985285df]
2018-03-16 22:50:25 +05:30
Rahul Garg d96395e02b Change co file name
[ROCm/hip-tests commit: 65b2fc4b9b]
2018-03-16 12:54:44 +05:30
Maneesh Gupta 3277453ea5 Apply .clangformat to all repo source files
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344


[ROCm/hip-tests commit: 6b09bde675]
2018-03-12 11:29:03 +05:30
Rahul Garg 1b359db390 Changed function hipMemcpy_2D to hipMemcpyParam2D
[ROCm/hip-tests commit: 3d2e40a5df]
2017-11-21 12:36:24 +05:30
Rahul Garg c971b263c1 Update hipModuleGetTexRef API
[ROCm/hip-tests commit: 741702888f]
2017-11-19 22:10:46 +05:30
Rahul Garg 3997a72bf2 -Fixed texture driver API sample
-Added hipTexRefSetAddress and hipTexRefSetAddress2D APIs


[ROCm/hip-tests commit: 657aa51d5d]
2017-11-15 18:23:28 +05:30
Rahul Garg 25f519713a Added texture 2D driver API usage example
[ROCm/hip-tests commit: 0fffdeba92]
2017-11-09 22:35:29 +05:30