Maneesh Gupta
ca0322ab2c
clang-hipify -> hipify-clang. Also attempt to build it by default
...
Change-Id: I694e6c772f5347c820d9bd6c9aa61d6d9696911e
[ROCm/clr commit: 11fd56ed5d ]
2016-10-05 13:06:22 +05:30
Maneesh Gupta
a61eb557ac
hipcc: Updated to use new include path
...
Change-Id: I4de6bb6978f2908dbb4d4cfd6e394d21fed90dd5
[ROCm/clr commit: 948d94def8 ]
2016-10-05 10:54:42 +05:30
Maneesh Gupta
71468f6a32
doxy.cfg: Fixed to use updated include path
...
Change-Id: I21149d3dd3111eaf8c23ff8550a1303d339f5c5d
[ROCm/clr commit: e388f775a3 ]
2016-10-04 22:29:40 +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
Maneesh Gupta
43d07079e9
directed tests: Updated to use new hip include path
...
Change-Id: Iab1aee638b7158eb9674a19625dedf6471947e51
[ROCm/clr commit: 5947878247 ]
2016-10-04 22:20:50 +05:30
Maneesh Gupta
9811be4722
hip_base package: Updated to handle updated hip include path
...
Change-Id: I936516874cef4ab551d613303fde32ffe2c6c805
[ROCm/clr commit: 57715b967f ]
2016-10-04 22:19:52 +05:30
Maneesh Gupta
ae252a59ef
Update hipify-clang to generate updated hip_runtime header path
...
Change-Id: I64ceb037f2aa68e4e8d254be7d0bebff83061990
[ROCm/clr commit: 75b2ff1c3f ]
2016-10-04 22:18:55 +05:30
Maneesh Gupta
46feb7dcf2
Move include/* to include/hip/*
...
Change-Id: I7a7b2839b4df59c7a4c503550f99fdc9e45c0f54
[ROCm/clr commit: bbfc08f419 ]
2016-10-04 22:17:18 +05:30
Ben Sander
c47374f479
Fix hipMemSetAsync compilation, bounds check on name copy
...
[ROCm/clr commit: 48849feba3 ]
2016-10-03 19:05:19 -05:00
Aditya Atluri
21ef342e65
Stream fix on nvcc hipMemsetAsync
...
Change-Id: Ia0eb81dff0f422af55d93b4635d42e9aa6921377
[ROCm/clr commit: 3edff7dd3b ]
2016-10-03 12:38:41 -05:00
Maneesh Gupta
f64e21459e
cmake: Fix identations
...
Change-Id: Iecc79f030968a2b67bfa41218d0a4edbd2594f63
[ROCm/clr commit: 4cc035b894 ]
2016-10-03 22:52:23 +05:30
Ben Sander
2606f22c7f
small typo fix
...
Change-Id: I01906b330be8e6ec149bcdfe82def73e15931c89
[ROCm/clr commit: e413869271 ]
2016-10-02 05:57:02 -05:00
Ben Sander
77014b3165
disable DB_SHOW_TID
...
Change-Id: Ia415437e8ba9903de149997380f61f1272488642
[ROCm/clr commit: 0bcb54be35 ]
2016-10-02 05:56:38 -05:00
Ben Sander
f8856acbd1
fix test args
...
Change-Id: If18eb2a5e504accb72a25716aafb6867002fefb2
[ROCm/clr commit: bf3ce40fb1 ]
2016-10-01 14:39:22 -05:00
Aditya Atluri
62747f5b91
updated symbol usage in docs
...
Change-Id: I522c793f9cfa6a912dcb4a3d0044e94de3d3cd0e
[ROCm/clr commit: 64a1366198 ]
2016-10-01 13:41:09 -05:00
sandeep kumar
ae352f60d8
Add 2_Cookbook
...
Change-Id: I10bbbd4bcb80a5900fe6af466c8f4c94ea5efe9a
[ROCm/clr commit: 67c7f0ab5a ]
2016-09-30 12:52:06 +05:30
Maneesh Gupta
0873b87190
HIT: maintain source hierarchy for generated test executables
...
Change-Id: I997650d10cf38f35edb6b88b130a62c3541a850c
[ROCm/clr commit: 6874e33c77 ]
2016-09-30 12:49:11 +05:30
Aditya Atluri
91627f9bae
added vector types for C path
...
Change-Id: I4ccd4082f1b2ce4f0f4fd9fb498506234783a803
[ROCm/clr commit: c31ee6b25d ]
2016-09-29 19:44:00 -05:00
pensun
ff4b8932c9
update hipcc to search for lib using CUDA_PATH on NV path
...
Change-Id: I7e19d1f82237a8a13f3d8284b313ac049be3f920
[ROCm/clr commit: fea7dc684a ]
2016-09-29 15:11:57 -05:00
Aditya Atluri
b474890896
Added C guard for math headers
...
Change-Id: I0e71819c6436b3e6c99b2deddb2ee2d2a16acedd
[ROCm/clr commit: 2d5bf72b27 ]
2016-09-29 13:54:34 -05:00
Aditya Atluri
92429ae17d
Fixed issue on git #39
...
Change-Id: I5b507fc2b544df0cd3a900a2763c7a3ad6295c13
[ROCm/clr commit: ca033e19cf ]
2016-09-29 10:06:26 -05:00
pensun
3b2e733b19
add hipEvent* macros on NV path
...
Change-Id: I28ff0fa24f69560e13366e7cd8d3a485665c67e1
[ROCm/clr commit: 4570877142 ]
2016-09-29 01:22:19 -05:00
Maneesh Gupta
b6abc6b0fb
Rebuild hip_hcc if hcc version changes
...
And also force rebuild of .buildInfo & .version everytime
Change-Id: I97e0d3c24fd693366a293803088014d13ca640cc
[ROCm/clr commit: 1df4c1288a ]
2016-09-29 10:29:35 +05:30
pensun
eb5bb292ae
change hipEnvVarDriver to reduce communications to hipEnvVar
...
Change-Id: I65a5f67dd51d53594fa51f88505e32321643d189
[ROCm/clr commit: e6d7ecc0f5 ]
2016-09-27 23:00:11 -05:00
Ben Sander
d5d764a4d4
Refactor asyncCopy and syncCopy to fix deadlock case.
...
- Minimize time that locks are held.
- Eliminate copy code that locked stream and ctx at same time.
- Stream was locked to ensure thread-safe enqueue to the queue.
- Devices were locked to query peer-lists.
Change-Id: Ibe8880bb7fb995a3da8f90ff911f212d81525018
[ROCm/clr commit: 806e58ca63 ]
2016-09-27 15:45:40 -05:00
Ben Sander
a0ec18c516
Add debug option to print ThreadID with each message.
...
Also print messages with single fprintf to prevents threads from
interleaving.
Change-Id: Ib3999fe6b1e67b4a16cd7dcde82f3dfc99dd48ff
[ROCm/clr commit: 4fd4168796 ]
2016-09-27 15:45:40 -05:00
Ben Sander
89dd26a07a
Add iterations option to MT test.
...
Change-Id: I945706a75601006ee55a408f965483dd263190ef
[ROCm/clr commit: c53349a371 ]
2016-09-27 15:45:40 -05:00
Aditya Atluri
ef4ed33772
Fixed hipDeviceGetAttribute
...
1. Added negative test for hipDeviceGetAttribute
2. Fixed hipDeviceGetAttribute if int ptr input is null
Change-Id: I0e31f50fa407701fddf96e4eb64a87a371ff5d95
[ROCm/clr commit: 04b68a515d ]
2016-09-27 13:33:42 -05:00
Aditya Atluri
99095ec70e
added more device negative testing
...
1. Added fallback for nullptr to hipGetDeviceProperties and hipGetDeviceCount
2. Added negative tests for hipGetDeviceProperties and hipGetDeviceCount
Change-Id: Iac93fd53d7d4794fb10546ddadf6ca802b047c87
[ROCm/clr commit: 4299316039 ]
2016-09-27 13:04:35 -05:00
Aditya Atluri
0f1df51a33
fallthrough if deviceId pointer is null
...
Change-Id: I924996d60d0286a7be1d18881ee733459de2981c
[ROCm/clr commit: 57872d2a88 ]
2016-09-27 11:47:58 -05:00
Aditya Atluri
d8e4eb476e
added negative testing for device APIs
...
Change-Id: I7bfcdd777f240d36b29eca987f7bc9da7614d704
[ROCm/clr commit: 977918badf ]
2016-09-27 11:38:31 -05:00
Maneesh Gupta
bac30c4561
directed tests: Enable remaining tests in HIT infrastructure
...
Change-Id: I800ee00d6f7d339bb5d2ed898a16362a8541ed3a
[ROCm/clr commit: 1e8282327b ]
2016-09-27 17:24:33 +05:30
Maneesh Gupta
4535f548a8
HIT: Support make_named_test
...
Change-Id: I7472c14595f10c4f2e2cf8d0228cc0373458a0b7
[ROCm/clr commit: 887525ac32 ]
2016-09-27 17:22:23 +05:30
Maneesh Gupta
fe90277cf3
make test: Build tests in parallel
...
Change-Id: If7b9d0519554226d09d8e6264eb248cd2dd53a2e
[ROCm/clr commit: 356aa8a983 ]
2016-09-27 17:21:18 +05:30
Ben Sander
46a4854bae
Fix signal resource issue.
...
Remove memory leak with new hc::completion_future.
Implement HIP_LAUNCH_BLOCKING with queue-level wait.
Change-Id: I45975f81c4d239fdeed7776970988d28449865dc
[ROCm/clr commit: f6717e326e ]
2016-09-26 16:47:32 -05:00
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
pensun
62ecc57afd
fix of HIPCC on libc++ option on HCC path
...
Change-Id: Ie0d3213a165fa13f033b777b490eb60b980d02da
[ROCm/clr commit: 5bdb9e349c ]
2016-09-26 14:39:57 -05:00
Rahul Garg
e77925d911
Doxygen documentation changes for hipCtxXXX APIs
...
Change-Id: I1e5e3a621b732bd8bdeef1c607c004d6adfdab32
[ROCm/clr commit: 3d1a61f1d9 ]
2016-09-26 23:11:07 +05:30
Rahul Garg
1b6c36d22b
Doxygen related document updates for texture/ array related functions
...
Change-Id: Iedc5b6512b5ddecb98c0e51a353957f08b955fde
[ROCm/clr commit: 25e9308831 ]
2016-09-26 16:18:53 +05:30
Rahul Garg
0206224b5e
Removed deprecated hipHostAlloc
...
Change-Id: Ia592a3545c5d72f37e049ce29f910e404323c01c
[ROCm/clr commit: c313836013 ]
2016-09-26 10:58:46 +05:30
Rahul Garg
71d0254bd4
Removed deprecated hipMallocHost
...
Change-Id: I3141fe05a34b6a306297a30721509965f49ccb97
[ROCm/clr commit: f5b463702e ]
2016-09-26 05:52:21 +05:30
Rahul Garg
eedc7f410e
Removed deprecated hipFreeHost
...
Change-Id: I9747ea3993090e0da6a2e1f5e9ce318762bc03e1
[ROCm/clr commit: 3a6acd044b ]
2016-09-26 05:35:14 +05:30
Maneesh Gupta
47ca41b59b
hip_tests: Scan for tests recursively in tests/src
...
Change-Id: I0297e6c94de3ea446ce99cce0aa641e74dad0d13
[ROCm/clr commit: da6183a194 ]
2016-09-23 22:42:52 +05:30
Maneesh Gupta
e743b311d3
directed tests: Enabled top-level uncategorized tests in HIT
...
Change-Id: If37cbd00244ebfa0e5bff8362820aa68aaa163f1
[ROCm/clr commit: 9216464861 ]
2016-09-23 16:15:31 +05:30
Maneesh Gupta
aabb3be07e
HIT: Fix logic in HIT_ADD_DIRECTORY_RECURSIVE
...
Change-Id: I066787aaeec2a1562aa36527e60291594da31f83
[ROCm/clr commit: a8a8ebed10 ]
2016-09-23 15:13:12 +05:30
Maneesh Gupta
866e1d783f
Add target test that uses HIT to the top-level HIP cmake
...
Change-Id: Idae1c0b39e6c4deb9f8fdb192bab17b0904941d7
[ROCm/clr commit: 121edb35d9 ]
2016-09-23 14:46:48 +05:30
Maneesh Gupta
f0f8da57c6
Initial implementation of HIT infrastructure
...
Change-Id: Icaef40cca67715fe3ec4ce3479d0f80f391f3917
[ROCm/clr commit: f82e26bbe2 ]
2016-09-23 14:44:51 +05:30
Maneesh Gupta
441ebfd39e
CMakeLists.txt: No need to define HIP_HCC
...
Change-Id: I0aa149bf3ffd4ee665bf3b822e178b3d74efe2af
[ROCm/clr commit: 6254131dfd ]
2016-09-23 10:44:39 +05:30
Maneesh Gupta
a95dd949e9
hipcc: Don't try to linking unpinned_copy_engine
...
Change-Id: Iaa4d8b4f6dbb7940bba553f82c157a2ee9468c9e
[ROCm/clr commit: b088ca2a53 ]
2016-09-23 10:43:09 +05:30
Ben Sander
4cf9803703
Peer-to-Peer improvements.
...
- Bug fix for peer visibility. Now contexts correctly detect when they can use SDMA for P2P vs staging buffers.
- Interface to new HCC copy_ext function.
- Improve context and peer print /debug options.
- Add comments and usage to hipPeerToPeer_simple test.
[ROCm/clr commit: 944d4eaa18 ]
2016-09-22 14:21:19 -05:00