22 Коммитов

Автор SHA1 Сообщение Дата
Danylo Lytovchenko f7338717ae SWDEV-470698 - fix formatting, add format check workflow (#657) 2025-08-20 19:58:06 +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
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
agunashe 516c38bcfd SWDEV-293742 - Update copyright end year
Change-Id: I2cb7bbd9a6d9da28116ba9dd9cec4e60525444e2


[ROCm/hip-tests commit: e2c6bb5b4e]
2021-07-07 12:57:23 -04:00
Rahul Garg 034cb582d8 SWDEV-269604 - Revert "Update dispatch latency with wall time measurements"
This reverts commit 416d2371e6.

Hold wall time related updates till direct dispatch is ready.

Change-Id: I53b232f6f51bc2fc71b6b639fe0081e2907e9707


[ROCm/hip-tests commit: eff5d6cf6c]
2021-02-25 04:50:44 +00:00
Rahul Garg 416d2371e6 Update dispatch latency with wall time measurements
Change-Id: I73bfed129171d6909b4638f714b694111b31ef56


[ROCm/hip-tests commit: 024e78b865]
2021-01-12 22:52:33 +00:00
Tao Sang 93295552bc 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


[ROCm/hip-tests commit: 22094572e1]
2021-01-08 10:53:34 -05:00
Tao Sang f47afbd3bf 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


[ROCm/hip-tests commit: 693b89b3dd]
2021-01-05 10:39:31 -05:00
Tao Sang 686aac3878 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


[ROCm/hip-tests commit: 6eabd2e7dd]
2020-02-16 22:26:47 -05:00
Rahul Garg 5a83813c43 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


[ROCm/hip-tests commit: c7280bec4d]
2020-01-22 14:37:47 -08:00
Evgeny Mankov eaef7e9024 [HIP][tests] Copyright notice update
[ROCm/hip-tests commit: f5f240744a]
2019-05-20 18:46:23 +03:00
Maneesh Gupta 1bc2b62f98 Replace hipLaunchKernel -> hipLaunchKernelGGL
Change-Id: I4d99009e1199811d417becf1e1b934ec4d4e30be


[ROCm/hip-tests commit: bfceb14751]
2018-10-17 14:32:25 +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
Ben Sander a1d0dda301 Refactor dispatch latency test and fix several bugs.
[ROCm/hip-tests commit: 6ac55d2b34]
2017-08-17 08:46:58 -05:00
Maneesh Gupta 444284037a samples: Updated copyright header
Change-Id: I821f514ced5e34d492cb167b65d7273e26ed7b84


[ROCm/hip-tests commit: a46e251daf]
2016-10-15 23:05:04 +05:30
Maneesh Gupta c0b972508a samples: Updated to use new hip include path
Change-Id: I53a1385a17f13a997ea21d14315f15a3ad851dab


[ROCm/hip-tests commit: 937c0389cb]
2016-10-04 22:21:10 +05:30
Ben Sander 9d97bed817 Sample improvements.
- Enable -O3 for hipDispatchLatency.
- Use nearly-null kernel to prevent it from being optimized away.
- Formatting for hipDispatchLatency.
- Formatting for hipInfo.


[ROCm/hip-tests commit: fdb4ed3c5e]
2016-09-22 13:05:47 -05:00
Maneesh Gupta ce24bbe845 hipDispatchLatency: reduce iterations to 5120
Change-Id: I94ae4993ff5058cf15f9487a5a528fc24c1ad5fa


[ROCm/hip-tests commit: a685f7dc79]
2016-06-13 14:23:51 +05:30
Aditya Atluri 62f12b2eeb Logging dispatch latency through database util
[ROCm/hip-tests commit: 4992ccfea6]
2016-03-23 11:39:57 -05:00
Aditya Atluri d3509b4b0f corrected first and second kernel dispatch
[ROCm/hip-tests commit: 9800567a53]
2016-03-15 14:22:00 -05:00
Aditya Atluri 9874d352bf Added single kernel launch to sample
[ROCm/hip-tests commit: f10d879285]
2016-03-15 21:05:15 -05:00
Aditya Atluri 6009d12697 added performance metrics for kernel dispatch
[ROCm/hip-tests commit: 93c30afe2f]
2016-03-15 12:37:24 -05:00