Commit Graph

14 Commits

Author SHA1 Message Date
Tao Sang 0292fd9991 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/clr commit: 15b91e9f1e]
2020-02-16 22:26:47 -05:00
Rahul Garg b78b5fa7d4 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/clr commit: 8b8e4a66b4]
2020-01-22 14:37:47 -08:00
Evgeny Mankov fef3e849eb [HIP][tests] Copyright notice update
[ROCm/clr commit: 7664560f14]
2019-05-20 18:46:23 +03:00
Maneesh Gupta 50e89b0a30 Replace hipLaunchKernel -> hipLaunchKernelGGL
Change-Id: I4d99009e1199811d417becf1e1b934ec4d4e30be


[ROCm/clr commit: e1fe095471]
2018-10-17 14:32:25 +05:30
Maneesh Gupta 46ddefedee Apply .clangformat to all repo source files
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344


[ROCm/clr commit: 9e47fccc89]
2018-03-12 11:29:03 +05:30
Ben Sander 3901200dca Refactor dispatch latency test and fix several bugs.
[ROCm/clr commit: 9da4352142]
2017-08-17 08:46:58 -05:00
Maneesh Gupta dbfd285aae samples: Updated copyright header
Change-Id: I821f514ced5e34d492cb167b65d7273e26ed7b84


[ROCm/clr commit: 945a09c241]
2016-10-15 23:05:04 +05:30
Maneesh Gupta 19b9ab32b2 samples: Updated to use new hip include path
Change-Id: I53a1385a17f13a997ea21d14315f15a3ad851dab


[ROCm/clr commit: ead394ec09]
2016-10-04 22:21:10 +05:30
Ben Sander 681f560fe1 Sample improvements.
- Enable -O3 for hipDispatchLatency.
- Use nearly-null kernel to prevent it from being optimized away.
- Formatting for hipDispatchLatency.
- Formatting for hipInfo.


[ROCm/clr commit: e8beacbfb1]
2016-09-22 13:05:47 -05:00
Maneesh Gupta c59f486109 hipDispatchLatency: reduce iterations to 5120
Change-Id: I94ae4993ff5058cf15f9487a5a528fc24c1ad5fa


[ROCm/clr commit: 3d4bbc4224]
2016-06-13 14:23:51 +05:30
Aditya Atluri 3becf113bd Logging dispatch latency through database util
[ROCm/clr commit: 867554c423]
2016-03-23 11:39:57 -05:00
Aditya Atluri 7493d6074a corrected first and second kernel dispatch
[ROCm/clr commit: 369d01086f]
2016-03-15 14:22:00 -05:00
Aditya Atluri 343cf7e864 Added single kernel launch to sample
[ROCm/clr commit: a6441c3334]
2016-03-15 21:05:15 -05:00
Aditya Atluri 649c943833 added performance metrics for kernel dispatch
[ROCm/clr commit: b7bf5830c1]
2016-03-15 12:37:24 -05:00