Rahul Garg
f80ea5aa78
Doxygen documentation changes for hipCtxXXX APIs
...
Change-Id: I1e5e3a621b732bd8bdeef1c607c004d6adfdab32
[ROCm/hip commit: 280249918f ]
2016-09-26 23:11:07 +05:30
Rahul Garg
ccf9b08949
Removed deprecated hipHostAlloc
...
Change-Id: Ia592a3545c5d72f37e049ce29f910e404323c01c
[ROCm/hip commit: daef1d2906 ]
2016-09-26 10:58:46 +05:30
Rahul Garg
d304ad4e1f
Removed deprecated hipMallocHost
...
Change-Id: I3141fe05a34b6a306297a30721509965f49ccb97
[ROCm/hip commit: 6790ff6b11 ]
2016-09-26 05:52:21 +05:30
Rahul Garg
8f68e34442
Removed deprecated hipFreeHost
...
Change-Id: I9747ea3993090e0da6a2e1f5e9ce318762bc03e1
[ROCm/hip commit: 7b87a972cb ]
2016-09-26 05:35:14 +05:30
Rahul Garg
e729fa1dee
Added hipRuntimeGetVersion function
...
Change-Id: I59ec2beacb5a94439deed0dcc8eb37d6de1cc900
[ROCm/hip commit: bfc033cc3e ]
2016-09-22 15:21:23 +05:30
pensun
85a63c778f
doc fix for hipStream
...
Change-Id: I618464c8b9ffa0a566434e72d2bc87a152884ca1
[ROCm/hip commit: 751a2cfce5 ]
2016-09-21 12:03:01 -05:00
Rahul Garg
fbad743243
Added return error code hipErrorInvalidValue in hipMemGetInfo
...
Change-Id: If01b012136b655ff8eb4878eb703dfe3e6a36530
[ROCm/hip commit: ffd49cfa37 ]
2016-09-17 23:54:20 +05:30
pensun
068e744783
Revert "resolve merge conflict"
...
This reverts commit 64f6a4f1b0 .
[ROCm/hip commit: d69e56fdc9 ]
2016-09-16 16:04:48 -05:00
pensun
64f6a4f1b0
resolve merge conflict
...
Change-Id: I041730d4208ae1865820f5df73a67ba60fd4bc3c
[ROCm/hip commit: 575e1f5024 ]
2016-09-16 11:13:43 -05:00
Maneesh Gupta
25a2b8ad2a
Some more event API documentation fixes
...
Change-Id: I159706e6771bec5270dda81800c1c6fd5f13d254
[ROCm/hip commit: 22a78410d7 ]
2016-09-16 15:26:58 +05:30
Maneesh Gupta
53a5f6debe
Updates to doxygen documentation for HIP Event APIs
...
Change-Id: Ic2e4a5725aebca14ac824da43436aacd0fe0a45c
[ROCm/hip commit: 3d85cd0ce5 ]
2016-09-16 15:06:54 +05:30
Rahul Garg
52f28c3b39
Updated error codes in Memory APIs
...
Change-Id: I328090db929867fd3500fc471b69f86c6f595912
[ROCm/hip commit: 126b2e0eca ]
2016-09-16 14:59:08 +05:30
Rahul Garg
76d31ec4ca
Corrected wrong error code name in memory APIs
...
Change-Id: I16a8ebf6d530f2e7d266a1a63a76ba7b9710c8c1
[ROCm/hip commit: 347aaf7680 ]
2016-09-16 14:14:45 +05:30
Rahul Garg
736e4e13bd
Partial updates of error codes for Memory APIs
...
Change-Id: If924867cc62f56dc9eaf81f5499ba66f417c393a
[ROCm/hip commit: 76949b6374 ]
2016-09-16 12:59:41 +05:30
Rahul Garg
3931c2cf7e
Partial update of memory APIs for doxygen documentation
...
Change-Id: I7865f4591c7f64b2a21702c35f6233b845e7c403
[ROCm/hip commit: 9e15b59dc4 ]
2016-09-14 12:53:08 +05:30
Rahul Garg
bfba68f716
Partial- Doxygen related changes for Memory APIs
...
Change-Id: I7ccc143571e0b26c16c70262565d6e69d6e7b6b5
[ROCm/hip commit: f33a0dd4a2 ]
2016-09-13 17:33:11 +05:30
Rahul Garg
c1e86e5d73
Updated Doxygen related documentation for Error APIs
...
Change-Id: I16873503d8e96df91831e2a0503835a1ff0220e3
[ROCm/hip commit: 1b2361ff22 ]
2016-09-13 16:54:46 +05:30
Aditya Atluri
a42972e089
Cleaned doxygen comments for device management runtime apis
...
Change-Id: I8fbba7d997589a67218cfaa132c598ff750ac544
[ROCm/hip commit: 2cc9873c6b ]
2016-09-12 21:06:54 -05:00
Aditya Atluri
0700892c0c
Added async memcpy driver api
...
Change-Id: I90e8a078d668a408e79f9e1142e7534771467a4f
[ROCm/hip commit: 2d5140cb27 ]
2016-09-09 10:21:52 -05:00
Maneesh Gupta
d50a280d72
Remove redundant API hipDeviceGetFromId from HCC path
...
Change-Id: Id6b4f1374b12cb3949d725f0859425cd8de6d868
[ROCm/hip commit: 51f25f9271 ]
2016-09-09 12:06:19 +05:30
Rahul Garg
2c3bd0598e
Removed return code related doxygen from hip_device src file
...
Change-Id: Iffe51b69dd6be064b7898d06e537a505e27edb0b
[ROCm/hip commit: a52cb887c2 ]
2016-09-08 23:12:12 +05:30
Rahul Garg
7e78ed7190
Initial support for hipChooseDevice function
...
Change-Id: Iedbf5f98c96673ab701dd7539d80a77b994d296f
[ROCm/hip commit: 9e05375acf ]
2016-09-08 22:37:24 +05:30
Ben Sander
6445921e03
Add hipStreamQuery
...
Change-Id: Ib0813b1065feba4fe9ae861d24cfc6f9c5f580be
[ROCm/hip commit: 4e994a3025 ]
2016-09-07 15:18:34 -05:00
Ben Sander
bb0afa4e38
Refactor for stream->_av.
...
- move _av into stream critical section. ( HCC accelerator_view is not
thread-safe but HIP steram is. )
- Refactored many places in code that need to acquire critical section.
some were previously thread races, ie enqueueing marker.
-remove support for GRID_LAUNCH_VERSION < 20
-Enable USE_AV_COPY based on HCC work-week.
- Review hipModule docs, some calrity/editing.
Change-Id: I3ce7c25ece048c3504f55ecd4683e506bb1fc8b6
[ROCm/hip commit: e76a272d48 ]
2016-09-02 09:46:59 -05:00
Ben Sander
3f22169885
Documentation review and update
...
Change-Id: If40d096646014d70a198db3532758028abe6a93f
[ROCm/hip commit: b1b099941d ]
2016-09-02 09:15:49 -05:00
Rahul Garg
af9fcb7c87
Added hipDeviceTotalMem
...
Change-Id: I877fbc9e4767bbd70ecd0184f5123c9bc6cbd06f
[ROCm/hip commit: 2f8d9e20b2 ]
2016-09-02 15:12:50 +05:30
Rahul Garg
bb215fe616
Added hipDeviceComputeCapability, hipDeviceGetPCIBusId and hipDeviceGetName
...
Change-Id: Ibe2d975df796712633900ddc7b0734ec2b8ab4ec
[ROCm/hip commit: 3f5a2f8397 ]
2016-09-02 14:45:53 +05:30
Rahul Garg
5703cef9de
Added hipDeviceGet function
...
Change-Id: I7c25bc24680589682af1b199072807523fc37f50
[ROCm/hip commit: d21e586462 ]
2016-09-02 12:25:50 +05:30
Rahul Garg
00b92e6e35
Added doxygen documentation for hipCtxXXX APIs
...
Change-Id: Id9cf3491e9a8c78cb7bfeb9976c36d6fe565628f
[ROCm/hip commit: 94f035d80d ]
2016-09-01 12:22:37 +05:30
Aditya Atluri
5dea55df88
added doxygen comments for hipModuleLaunchKernel
...
Change-Id: I8a52d2e62f4b7eea8e05d779b9fda49f0ac45130
[ROCm/hip commit: 69fb9ee3aa ]
2016-08-31 10:18:46 -05:00
Aditya Atluri
06af9cf427
Added doxygen comments for module apis
...
Change-Id: I1825249bf91efe7d058f9026a82ec47855759c98
[ROCm/hip commit: f6f92a6528 ]
2016-08-29 21:24:19 -05:00
Aditya Atluri
dd8f451428
Changed module api to work with nvcc and hipcc path
...
- Added cuda and cudart linking for nvcc path in hipcc
- Added hipMemcpyHtoD and hipMemcpyDtoH for nvcc path
- Changed hipDeviceptr to hipDeviceptr_t
- Fixed hipMemcpy*to* API signatues
Change-Id: I6ef076b507f92502efda475c83dcdcdd462afc37
[ROCm/hip commit: 4b377f63d0 ]
2016-08-29 15:05:12 -05:00
Aditya Atluri
874d04291b
Cleaned up module api
...
- Moved HIP_INIT_API from internal to all public apis
- renamed hipLaunchModuleKernel to hipModuleLaunchKernel
- Changed tests according to the changed api
Change-Id: I822ff63c7c5b7dad340ece49456baf9d89428e9f
[ROCm/hip commit: 3d1bf4dbaf ]
2016-08-28 16:48:57 -05:00
Ben Sander
627a6d2f8f
Remove deprecated message from hipLaunchModuleKernel
...
Change-Id: I87675453ae4363e3340a9d1491bb00543fa8c6e0
[ROCm/hip commit: 685601f27c ]
2016-08-28 16:34:34 -05:00
Aditya Atluri
2efa60a37e
Added explicit memory copy direction apis
...
- Fixed stale printf in context api
- Added 4 sync memcpy apis
1. hipMemcpyHtoD
2. hipMemcpyDtoH
3. hipMemcpyDtoD
4. hipMemcpyHtoH
- Added test for added apis
Change-Id: I4a9c382445b62631f8d0bcbb9a670322288b72b1
[ROCm/hip commit: 4152746e26 ]
2016-08-26 13:11:01 -05:00
Aditya Atluri
34257c06e6
Added NVCC support and name changes
...
- Added NVCC support for module APIs
- Changed hipFunction and hipModule data types to hipFunction_t and hipModule_t
- Created new intenal ihipModuleGetFunction as it is used twice
- Changed test to match with the new data types
Change-Id: I300a1c7fd40ed7065b1b8b9de97e3a06b96ed729
[ROCm/hip commit: 8b918b065a ]
2016-08-26 10:32:01 -05:00
Rahul Garg
376cc78852
Addition of hipCtxEnablePeerAccess and hipCtxDisablePeerAccess functions
...
Change-Id: I381c8cbbde17eae7d9bb5d4cb1596cebf4bda039
[ROCm/hip commit: 524eb687d3 ]
2016-08-26 13:51:33 +05:30
Aditya Atluri
69d6645be6
Changed how hipEvent_t is typedefed internall
...
- Mapped hipEvent_t directly to ihipEvent_t* instead of a handle
Change-Id: I5a8bcca0ef962932e0738c03eb1fc914d23022ae
[ROCm/hip commit: 842553a6e1 ]
2016-08-25 14:34:41 -05:00
Aditya Atluri
ad9e04acf8
Added hipModuleGetGlobal and hipModuleLoadData
...
Change-Id: Iaec873f7d86b72911b6ad32e067a4dfe3d552fe6
[ROCm/hip commit: 79e88a6af6 ]
2016-08-25 14:16:53 -05:00
Aditya Atluri
c40593fa5f
changed internal structure of hipFunction and hipModule
...
Change-Id: Ifa343782e29d7e056efc47e56253311013005093
[ROCm/hip commit: cb996c7b7a ]
2016-08-24 09:47:11 -05:00
Aditya Atluri
6842171207
Module test correction and hipModuleUnload API
...
- Corrected the hipModule.cpp test to minimal code
- Added hipModuleUnload API
- Added hipModuleUnload API test
Change-Id: I9c40337043d7972a570b795e1bfc104bd2c4d8aa
[ROCm/hip commit: 2287af23a1 ]
2016-08-23 14:19:15 -05:00
Rahul Garg
5a1cf6ccfd
Added support for hipCtxSynchronize and hipCtxGetFlags,modified hipDeviceSynchronize
...
Change-Id: If7bac667a262fa8c0cb3dc93e97f2534855acd07
[ROCm/hip commit: a498753041 ]
2016-08-22 16:15:27 +05:30
Aditya Atluri
719e91aacf
Added support for executable and symbols for data structures
...
- symbol handle is added to hipFunction
- executable handle is added to hipModule
- This way, the APIs doesn't need to track the values
Change-Id: I7cf05329cf79fe946319d7746bd9f5503268fda4
[ROCm/hip commit: 921736782e ]
2016-08-19 08:49:34 -05:00
Aditya Atluri
784e9c6691
Added hipLaunchModuleKernel and new error codes
...
- hipLaunchModuleKernel maps to cuLaunchKernel
- Whole lot of new error codes added for the use of driver api
- KernelParams arguments is not yet supported
- hipLaunchModuleKernel is a synchronous api (will change eventually)
- All the commands in a stream will wait on host when hipLaunchModuleKernel is called on it
Change-Id: Ib4a4fae1db06fbb3a81d5a5575b026aa821264ed
[ROCm/hip commit: e51ce8fc09 ]
2016-08-18 11:26:55 -05:00
Rahul Garg
962276c45a
Added further hipCtxXXX Apis
...
Change-Id: I286d962a06cee656c1c652b3f6b45078587fbc41
[ROCm/hip commit: 0962ca43d9 ]
2016-08-17 16:28:22 +05:30
Aditya Atluri
e582b27f7f
Added kernel compilation driver apis
...
1. Added 2 new driver apis, hipModuleLoad, hipModuleGetFunction
Change-Id: If464a7fad178121e3da791c7ac9e17ebc01a9cd0
Issues: When a sample written with them shows Aborted (core dumped) when exiting
[ROCm/hip commit: 3d27bbd3db ]
2016-08-16 14:36:25 -05:00
Rahul Garg
e33c5c07e3
Implementation of hipCtxGetDevice
...
Change-Id: I067572e486323c3aad6f744a2c0c4997c8696af6
[ROCm/hip commit: eec9edef80 ]
2016-08-13 01:17:46 +05:30
Rahul Garg
5e91fe9af3
First implementation of hipCtxXXX functions
...
Change-Id: I4609cbe6bd90a1fff8655bff4fdd773864397aba
[ROCm/hip commit: 62d390da58 ]
2016-08-13 00:09:08 +05:30
Ben Sander
0221323977
Context update.
...
- Remove tls_deviceID.
- Add first passing test.
Change-Id: If3e2f254abf589028cfe4f9e6369745f04160de0
[ROCm/hip commit: 89164259ab ]
2016-08-10 08:59:47 -05:00
Ben Sander
db8c7e97bd
Add initial context implementation.
...
APIs: hipInit, hipCtxCreate.
Track TLS default ctx. Set deviceID now changes the ctx.
Add first context test.
Change-Id: If1cb9989b5a04a36147e25e84904336c7b6f3d88
[ROCm/hip commit: 8f402132ba ]
2016-08-08 17:49:02 -05:00