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
Ben Sander
77014b3165
disable DB_SHOW_TID
...
Change-Id: Ia415437e8ba9903de149997380f61f1272488642
[ROCm/clr commit: 0bcb54be35 ]
2016-10-02 05:56:38 -05:00
Aditya Atluri
91627f9bae
added vector types for C path
...
Change-Id: I4ccd4082f1b2ce4f0f4fd9fb498506234783a803
[ROCm/clr commit: c31ee6b25d ]
2016-09-29 19:44:00 -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
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
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
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
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
Ben Sander
976238ad10
Add kind translation for hipMemcpyDeviceToDevice
...
[ROCm/clr commit: a397e60ba9 ]
2016-09-22 14:21:19 -05:00
Ben Sander
03866f0ee5
Remove unpinned_copy code. Other cleanup.
...
Change-Id: Ie3f71439cf1ba729ef223d078917c403d3de879a
[ROCm/clr commit: 926aefa930 ]
2016-09-22 14:21:19 -05:00
Ben Sander
8e55e13469
Cleanup. Remove cfs, ihipSignal_t, staging buffer calls.
...
Change-Id: I8bb67c484e3a65be06a03665f059217930da2bed
[ROCm/clr commit: 5bc18c8603 ]
2016-09-22 14:21:19 -05:00
Ben Sander
8340e57194
Cleanup: Remove HIP signal pool.
...
Change-Id: Icebfd0509d12396cc5933d5556d68b53e1be36e0
[ROCm/clr commit: 17e21309f1 ]
2016-09-22 14:21:19 -05:00
Ben Sander
dbbd5ce037
Remove HIP command dependency tracking.
...
Change-Id: I991c13bc5108193959ba70f9f6f9c692c9ad3a5b
[ROCm/clr commit: c365785c5c ]
2016-09-22 14:21:19 -05:00
Ben Sander
bafa586cf5
Cleanup, remove preCopyCommand.
...
Change-Id: I3768d3789a99be8136b43179d4152fa1875665cb
[ROCm/clr commit: b0509c5a58 ]
2016-09-22 14:21:19 -05:00
Ben Sander
2f4c30ff79
Remove USE_AV_COPY, USE_PEER_TO_PEER fallback paths.
...
Change-Id: I9c20173e62029c4caebabc98784c6d7697758e4f
[ROCm/clr commit: 60f797cc5a ]
2016-09-22 14:21:19 -05:00
Ben Sander
16f818b60f
Remove HIP_STAGING_BUFFER
...
Code simplification/cleanup:
Remove stale fallback paths that uses something besides the unpinned engine.
Remove HIP_STAGING_BUFFER env var - now is const 2, 0 no longer has
special meaning.
Change-Id: I7d24cdd1067dd0c244e87b6a83897cb135d307e7
[ROCm/clr commit: 39750da9a5 ]
2016-09-22 14:21:18 -05:00
Ben Sander
872c63b03a
Move isLargeBar to UnpinnedCopyEngine constructor.
...
Change-Id: I7a7d3a40b1d4e0c6ec856658a6a70e5e70d287ce
[ROCm/clr commit: 17d7fc586e ]
2016-09-22 14:21:18 -05:00
Ben Sander
435c528fd4
Refactor Staging Buffer CopyDeviceToHost
...
Use copyMode. Embed algorithm selection inside the unpinned class.
Change-Id: Ic75fd5931717a3160904402794bbed3ccd445112
[ROCm/clr commit: 77c86934c1 ]
2016-09-22 14:21:18 -05:00
Ben Sander
91b43c493b
Refactor staging buffer CopyHostToDevice.
...
- Move algorithm selection inside Unpinned class.
- Refactor function names.
- Use size_t for size threshholds.
Change-Id: Iac4de652ac9d49acbf527aa0849e388b8ecd8486
[ROCm/clr commit: e77d75c1c1 ]
2016-09-22 14:21:18 -05:00
Ben Sander
6b6b0d6b58
Updates docs for hipHcc* functions, move to header
...
[ROCm/clr commit: b4bc101c96 ]
2016-09-22 13:05:47 -05:00
Aditya Atluri
b8726d4e17
added ipc runtime api for nvcc backend
...
Change-Id: I3297c4c9db34e7bc3267fec64a6757f9ebf91905
[ROCm/clr commit: 470a1583d1 ]
2016-09-22 12:55:41 -05:00
Rahul Garg
c121b8b535
Added hipRuntimeGetVersion function
...
Change-Id: I59ec2beacb5a94439deed0dcc8eb37d6de1cc900
[ROCm/clr commit: 86e441c769 ]
2016-09-22 15:21:23 +05:30
pensun
536fbebbe6
doc fix for hipStream
...
Change-Id: I618464c8b9ffa0a566434e72d2bc87a152884ca1
[ROCm/clr commit: d64bbacdd9 ]
2016-09-21 12:03:01 -05:00
Rahul Garg
6d1d6b9cfb
Added return error code hipErrorInvalidValue in hipMemGetInfo
...
Change-Id: If01b012136b655ff8eb4878eb703dfe3e6a36530
[ROCm/clr commit: 8842a0d5b8 ]
2016-09-17 23:54:20 +05:30
pensun
bc4632f143
Revert "resolve merge conflict"
...
This reverts commit 6c680d648b .
[ROCm/clr commit: e11b6144e4 ]
2016-09-16 16:04:48 -05:00
pensun
6c680d648b
resolve merge conflict
...
Change-Id: I041730d4208ae1865820f5df73a67ba60fd4bc3c
[ROCm/clr commit: 213fd6c961 ]
2016-09-16 11:13:43 -05:00
Maneesh Gupta
7e0da99eed
Some more event API documentation fixes
...
Change-Id: I159706e6771bec5270dda81800c1c6fd5f13d254
[ROCm/clr commit: 70a1a498f6 ]
2016-09-16 15:26:58 +05:30
Maneesh Gupta
dace68aea3
Fix typo in comment
...
Change-Id: I217012e10d8e5322aa0dc7dd5915be10df35fb53
[ROCm/clr commit: 1dc1c056d4 ]
2016-09-16 15:18:17 +05:30
Maneesh Gupta
d9488e163f
Updates to doxygen documentation for HIP Event APIs
...
Change-Id: Ic2e4a5725aebca14ac824da43436aacd0fe0a45c
[ROCm/clr commit: b14d2c8c8e ]
2016-09-16 15:06:54 +05:30
Maneesh Gupta
7d23b1c707
Fix fence functions doxygen group
...
Change-Id: I222eecb0eb0174b9f19e15b16c1ee06b7ba1e67e
[ROCm/clr commit: f51b5dda0c ]
2016-09-16 15:06:54 +05:30
Rahul Garg
e3f80daeef
Updated error codes in Memory APIs
...
Change-Id: I328090db929867fd3500fc471b69f86c6f595912
[ROCm/clr commit: 5b0a4eeaba ]
2016-09-16 14:59:08 +05:30
Rahul Garg
fb1c7029c4
Corrected wrong error code name in memory APIs
...
Change-Id: I16a8ebf6d530f2e7d266a1a63a76ba7b9710c8c1
[ROCm/clr commit: 58a828ede5 ]
2016-09-16 14:14:45 +05:30
Rahul Garg
de2c138bd7
Partial updates of error codes for Memory APIs
...
Change-Id: If924867cc62f56dc9eaf81f5499ba66f417c393a
[ROCm/clr commit: cb3bff0a0d ]
2016-09-16 12:59:41 +05:30
Rahul Garg
2594f0d017
HIP/NVCC path for hipChooseDevice
...
Change-Id: I64690d7df1f5493e067c7ff5e3b39a10fcf323bb
[ROCm/clr commit: 2c1bd4bd10 ]
2016-09-16 11:15:03 +05:30
Aditya Atluri
29a9549a47
added more error codes to hipErrorGetString
...
Change-Id: I80c675905d94813502040fd0caa07985fa8c7dcc
[ROCm/clr commit: 6cb5a13a2b ]
2016-09-15 11:28:18 -05:00
Maneesh Gupta
3ea180e0fc
Fixed broken HIP build on NVCC path
...
Change-Id: Iae9d7ba0c789475681b382c8af18bb9bd6156a52
[ROCm/clr commit: 4b1c7eed8a ]
2016-09-15 17:02:37 +05:30
Rahul Garg
e30f24ee85
Partial update of memory APIs for doxygen documentation
...
Change-Id: I7865f4591c7f64b2a21702c35f6233b845e7c403
[ROCm/clr commit: d3aff68f37 ]
2016-09-14 12:53:08 +05:30
Rahul Garg
a3481aab45
Partial- Doxygen related changes for Memory APIs
...
Change-Id: I7ccc143571e0b26c16c70262565d6e69d6e7b6b5
[ROCm/clr commit: 9155e1f2fd ]
2016-09-13 17:33:11 +05:30
Rahul Garg
75014fb837
Updated Doxygen related documentation for Error APIs
...
Change-Id: I16873503d8e96df91831e2a0503835a1ff0220e3
[ROCm/clr commit: c6808ddc0e ]
2016-09-13 16:54:46 +05:30
Aditya Atluri
0b12997ca2
Cleaned doxygen comments for device management runtime apis
...
Change-Id: I8fbba7d997589a67218cfaa132c598ff750ac544
[ROCm/clr commit: e1d00da7d2 ]
2016-09-12 21:06:54 -05:00
Aditya Atluri
0becc80ce6
Added async memcpy driver api for nvcc backend
...
Change-Id: If401fc949b834c883cff9de74adb0d532a0fd942
[ROCm/clr commit: bbead42cb0 ]
2016-09-09 10:25:57 -05:00