Commit Graph

20 Commits

Author SHA1 Message Date
Julia Jiang e3c8349e2e SWDEV-286322 - clean up trailing space (#2361)
Change-Id: I03c07e67a8d1fa1a874718ffba43eb396c2aa05c

[ROCm/hip commit: 44581b4d3c]
2021-09-24 16:27:51 +05:30
agunashe a4ff63a29b SWDEV-293742 - Update copyright end year
Change-Id: I2cb7bbd9a6d9da28116ba9dd9cec4e60525444e2


[ROCm/hip commit: d529637fbc]
2021-07-07 12:57:23 -04:00
Rahul Garg d92a69c10a SWDEV-269604 - Revert "Update dispatch latency with wall time measurements"
This reverts commit 4ca1d84a26.

Hold wall time related updates till direct dispatch is ready.

Change-Id: I53b232f6f51bc2fc71b6b639fe0081e2907e9707


[ROCm/hip commit: 0130a166db]
2021-02-25 04:50:44 +00:00
Rahul Garg 4ca1d84a26 Update dispatch latency with wall time measurements
Change-Id: I73bfed129171d6909b4638f714b694111b31ef56


[ROCm/hip commit: 89491c6015]
2021-01-12 22:52:33 +00:00
Tao Sang 2820f91c90 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 commit: b34dd95124]
2021-01-08 10:53:34 -05:00
Tao Sang c618b6aeff 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 commit: c2adc70d4d]
2021-01-05 10:39:31 -05:00
Tao Sang eb5fed63c1 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 commit: b3f445c0f5]
2020-02-16 22:26:47 -05:00
Rahul Garg 467dcc416d 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 commit: 2eb7ae4f0c]
2020-01-22 14:37:47 -08:00
Evgeny Mankov a6e82d8254 [HIP][tests] Copyright notice update
[ROCm/hip commit: c9af61e9d1]
2019-05-20 18:46:23 +03:00
Maneesh Gupta c4a93adb74 Replace hipLaunchKernel -> hipLaunchKernelGGL
Change-Id: I4d99009e1199811d417becf1e1b934ec4d4e30be


[ROCm/hip commit: 52e320f396]
2018-10-17 14:32:25 +05:30
Maneesh Gupta 4f42ee762d Apply .clangformat to all repo source files
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344


[ROCm/hip commit: 1ba06f63c4]
2018-03-12 11:29:03 +05:30
Ben Sander b3b134d65a Refactor dispatch latency test and fix several bugs.
[ROCm/hip commit: e87f7a4d00]
2017-08-17 08:46:58 -05:00
Maneesh Gupta 92498c947b samples: Updated copyright header
Change-Id: I821f514ced5e34d492cb167b65d7273e26ed7b84


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


[ROCm/hip commit: 3a247efb2f]
2016-10-04 22:21:10 +05:30
Ben Sander 13a12f65d5 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 commit: 1160cefc6d]
2016-09-22 13:05:47 -05:00
Maneesh Gupta a4a8d105db hipDispatchLatency: reduce iterations to 5120
Change-Id: I94ae4993ff5058cf15f9487a5a528fc24c1ad5fa


[ROCm/hip commit: 506d4086a9]
2016-06-13 14:23:51 +05:30
Aditya Atluri ad91545586 Logging dispatch latency through database util
[ROCm/hip commit: 78407ea40a]
2016-03-23 11:39:57 -05:00
Aditya Atluri 637fca1cb6 corrected first and second kernel dispatch
[ROCm/hip commit: e23bd0a23e]
2016-03-15 14:22:00 -05:00
Aditya Atluri 2223b41232 Added single kernel launch to sample
[ROCm/hip commit: 862817626b]
2016-03-15 21:05:15 -05:00
Aditya Atluri b202017891 added performance metrics for kernel dispatch
[ROCm/hip commit: 31d8f60e56]
2016-03-15 12:37:24 -05:00