Vladislav Sytchenko
7b635ae18c
Revert "Revert "Merge branch 'amd-master-next' into amd-npi-next""
...
This reverts commit 0627e8783b .
Reason for revert: <INSERT REASONING HERE>
Change-Id: I92ceb171e31026ed1864704cef2fc1497b883ef9
[ROCm/clr commit: d5aa0f607d ]
2020-10-05 13:20:58 -04:00
Vladislav Sytchenko
0627e8783b
Revert "Merge branch 'amd-master-next' into amd-npi-next"
...
This reverts commit 6c6299acb2 .
Reason for revert: <INSERT REASONING HERE>
Change-Id: I53322718dadde2c98f96140b8e260ec7ee9ef721
[ROCm/clr commit: 9142674ef0 ]
2020-10-05 13:02:39 -04:00
Satyanvesh Dittakavi
8afda95282
Amend hipBusBandwidth sample
...
Change-Id: I9230b553275146e984c6e7d9f11b76e520e14809
[ROCm/clr commit: a6b6881c86 ]
2020-09-18 13:45:19 -04:00
Tao Sang
92e898abff
Make samples support cmake
...
Only cmake can support static lib of hip rt.
Thus samples will support static lib of hip
rt when this is done.
Change-Id: I70e8d06e85084369a035b42c5d1d56287c874ac9
[ROCm/clr commit: 449848cb5a ]
2020-09-18 07:37:02 -04:00
Rahul Garg
608fded501
Fix hipDispatchEnqueueRateMT sample
...
Change-Id: I7ade0dcf8b32ac90a311022d12339740b2b3df44
[ROCm/clr commit: ee3dbfac49 ]
2020-08-14 18:56:39 -04:00
Jason Tang
ab081f39cc
Add asicRevision
...
Change-Id: I59f3ad20b9bdadf77bd1e0725f7a401d7ad423a3
[ROCm/clr commit: 8933c078f6 ]
2020-06-16 17:54:20 -04:00
Jason Tang
7735b228ec
SWDEV-227909 - Add gcnArchName
...
Change-Id: Iea6d16b5d693dd0d900fa424d7a321c39315430e
[ROCm/clr commit: 14c699e9de ]
2020-06-05 15:33:55 -04:00
Alex Xie
c9e54b7f60
SWDEV-221166 - Detect support for large bar access through HIP runtime API
...
Change-Id: Iaa9756c1b5e40c1ab5afb38e44a6699fa5f6c13f
[ROCm/clr commit: 044a7e55ad ]
2020-05-01 20:39:52 -04:00
Maneesh Gupta
e5ee180568
Merge branch 'amd-master' into amd-master-next
...
Change-Id: I3094c15008093f2072bcd38aca4ea90aeae2d97b
[ROCm/clr commit: 0ea6697192 ]
2020-04-09 06:31:00 -04:00
Lad, Aditya
eca6c4f001
Merge branch 'master' into amd-master-next
...
Conflicts:
CMakeLists.txt
tests/src/texture/simpleTexture2DLayered.cpp
tests/src/texture/simpleTexture3D.cpp
Change-Id: I4aa4754d391b5f37ddf15fa0bcfc84d9da020119
[ROCm/clr commit: e7fdb3d796 ]
2020-03-06 14:10:44 -05:00
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
50395502b6
[sample] Add hipDispatchEnqueueRateMT ( #1869 )
...
* [sample] Add hipDispatchEnqueueRateMT
[ROCm/clr commit: 893ccc4ddf ]
2020-02-13 23:21:40 -08: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
Sarbojit2019
0cf9a5b532
Added missing device prop fields into hipInfo sample ( #1357 )
...
* Added prop.integrated into hipInfo sample
* Added missing deviceProp fileds in hipInfo
[ROCm/clr commit: 919bb6c74d ]
2019-08-23 09:21:47 +00:00
chrispaquot
4b13efac04
Set device before processing each one ( #1358 )
...
[ROCm/clr commit: d0b11deb7f ]
2019-08-23 09:19:50 +00:00
Rahul Garg
b7447d21c3
Remove -g from hipBusBandwidth makefile ( #1351 )
...
[ROCm/clr commit: 900590967d ]
2019-08-21 10:01:31 +00:00
ansurya
aa8224417e
HIPCommander code cleanup ( #1207 )
...
* HIPCommander code cleanup
* Removed non-used headerfiles
* Removed empty ifdef
[ROCm/clr commit: 12bf6dbcda ]
2019-07-18 03:18:15 +00:00
Evgeny Mankov
fef3e849eb
[HIP][tests] Copyright notice update
...
[ROCm/clr commit: 7664560f14 ]
2019-05-20 18:46:23 +03:00
Maneesh Gupta
b2a859754d
Merge pull request #938 from gargrahul/fix_hipBusBW_p2p_bidir
...
Fix hipBusBW sample for P2P bidirectional test
[ROCm/clr commit: 4eff6bd09a ]
2019-02-28 07:14:38 +05:30
Rahul Garg
1985d70605
Fix hipBusBW sample for P2P bidirectional test
...
[ROCm/clr commit: 828e62fe4f ]
2019-02-28 00:56:07 +05:30
Rahul Garg
a835072903
Fix hipBusBW overflow with setting beats/iterations
...
[ROCm/clr commit: 4fef69afdc ]
2019-02-27 00:18:52 +05:30
Maneesh Gupta
50e89b0a30
Replace hipLaunchKernel -> hipLaunchKernelGGL
...
Change-Id: I4d99009e1199811d417becf1e1b934ec4d4e30be
[ROCm/clr commit: e1fe095471 ]
2018-10-17 14:32:25 +05:30
Rahul Garg
bc0129d05a
Fix hipCommander Makefile
...
[ROCm/clr commit: 9707e9f563 ]
2018-05-16 15:01:32 +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
Rahul Garg
dc6c43772c
Use 2X for bidir p2p memory bandwidth calc
...
[ROCm/clr commit: 4090c82936 ]
2017-10-23 21:57:20 +05:30
Ben Sander
eee60317fa
Use 2X for bidir memory bandwidth calc
...
[ROCm/clr commit: 21689e8710 ]
2017-10-21 07:47:32 -05:00
Ben Sander
3901200dca
Refactor dispatch latency test and fix several bugs.
...
[ROCm/clr commit: 9da4352142 ]
2017-08-17 08:46:58 -05:00
Aditya Atluri
bd427d5b47
automate gcnarch detection
...
Change-Id: Ibbad22db136f7f5e2be84c82e9169298a144cc77
[ROCm/clr commit: 0fe0381608 ]
2017-06-29 12:01:40 -05:00
Sandeep Kumar
b237b83101
Add peer2peer bandwidth and latency test
...
Change-Id: I6d88e4aa9f6e64096af16579eebef4740734203e
[ROCm/clr commit: 01842faa1c ]
2017-06-14 09:44:56 +05:30
Maneesh Gupta
cf6ccf67df
Fix build issues in hipCommander sample
...
- Remove -stdlib=libstdc++ from Makefile
- Removed deleted HIP header file fom includes
Change-Id: Ia189396bee19fc52b679259df56c6c6e2bafb6fe
[ROCm/clr commit: 6877554f5e ]
2017-04-07 14:54:03 +05:30
Ben Sander
49d7ea94f5
Refactor registered memory calls.
...
[ROCm/clr commit: b7acb85fa8 ]
2017-03-11 09:18:27 -06:00
Ben Sander
e1c95b083d
Add first step to a "registerd" mode in hipBusBandwidth.
...
[ROCm/clr commit: f23b5a1f90 ]
2017-03-11 09:18:27 -06:00
Rahul Garg
1b11b60e9d
Command scripts for latency measurements
...
Change-Id: I8c28765a09fb0358447367939de524b12699a317
[ROCm/clr commit: 73b56e690f ]
2017-02-07 15:03:46 +05:30
Rahul Garg
707c31913d
Fixed hipcommander default execution for HCSWAP-106
...
Change-Id: I9fbd10dfaeeb4928b2ec23ceed131b5200a658f9
[ROCm/clr commit: aa3f278475 ]
2017-01-19 15:04:32 +05:30
Ben Sander
1a58ccc3b4
Print limits on CUDA devices
...
[ROCm/clr commit: ab07d9b4a7 ]
2016-12-16 08:55:11 -06:00
Ben Sander
8353b8ed72
remove TODO file
...
[ROCm/clr commit: a30b36afdc ]
2016-12-15 14:42:52 -06:00
Ben Sander
68f1a627e0
Add more debug info
...
[ROCm/clr commit: a504df955e ]
2016-11-26 08:56:02 -06:00
Ben Sander
43723d77cc
Print non-peers too
...
Change-Id: I2a6905edcdf144aa732ae3120c17780477f232ac
[ROCm/clr commit: 44aee4b61c ]
2016-11-04 06:34:07 -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
d10d1425f3
Small tool, doc, sample enhancements.
...
- Expand message when HIP version mismatch detected.
- Doc touchup.
- change sorting of hipBusBandwidth so byte results shown at top.
-
Change-Id: Ifb4e44a5fdfb65d59c4994b11e5f13385705f7e0
[ROCm/clr commit: 061bcc6a5c ]
2016-09-26 16:36:01 -05:00
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
Maneesh Gupta
0445c95661
Fix makefiles in samples
...
[ROCm/clr commit: 273f4b4cbe ]
2016-04-18 10:15:35 +05:30
Ben Sander
39cccf94ef
fix peer query order
...
[ROCm/clr commit: a894ca3abb ]
2016-04-11 07:58:59 -05:00
Ben Sander
025938b1de
P2p checkpoint.
...
- set USE_PEER_TO_PEER=3 (requires HCC "am_memtracker_update_peers")
- when enabling peer, turn it on for previously allocated memory.
- hipDeviceCanAccessPeer is no longer self-ware (self does not qualify
as a peer)
- device peerlist always includes self, so when we call allow_access
we never remove self access.
- hipDeviceReset() removes old peer mappings.
[ROCm/clr commit: 9e7efd7c65 ]
2016-04-11 07:58:59 -05:00
Ben Sander
20d06df651
Remove stray debug msgs, hipInfo don't print self as peer.
...
[ROCm/clr commit: a4d97c3172 ]
2016-04-11 07:58:58 -05:00
Ben Sander
eb7b1fa1db
Use HIP_PATH if set else use relative ../...
...
[ROCm/clr commit: 034bf3d31c ]
2016-04-11 07:58:58 -05:00
Ben Sander
df576efeb4
Print peers in hipConfig.
...
Also include peer APIs in vim hilighting.
[ROCm/clr commit: 23dbffb207 ]
2016-04-11 07:58:58 -05:00
streamhsa
73e7a4a166
change makefile for samples
...
[ROCm/clr commit: a629d4975f ]
2016-03-29 16:02:09 +08:00