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
Ben Sander
a6f28e1708
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/hip commit: c769abcbeb ]
2016-09-22 14:21:19 -05:00
Ben Sander
9a067341a7
Fix HIP_INIT_API and ihipLogStatus calls
...
[ROCm/hip commit: ff28ff1509 ]
2016-09-22 14:21:19 -05:00
Ben Sander
21d1c29312
Remove unpinned_copy code. Other cleanup.
...
Change-Id: Ie3f71439cf1ba729ef223d078917c403d3de879a
[ROCm/hip commit: c645e53fdd ]
2016-09-22 14:21:19 -05:00
Ben Sander
b9a0abe32e
Cleanup. Remove cfs, ihipSignal_t, staging buffer calls.
...
Change-Id: I8bb67c484e3a65be06a03665f059217930da2bed
[ROCm/hip commit: e0ce1d3954 ]
2016-09-22 14:21:19 -05:00
Ben Sander
41c4ea49ba
Cleanup: Remove HIP signal pool.
...
Change-Id: Icebfd0509d12396cc5933d5556d68b53e1be36e0
[ROCm/hip commit: 12cb1d88aa ]
2016-09-22 14:21:19 -05:00
Ben Sander
a9e3786e0c
Remove HIP command dependency tracking.
...
Change-Id: I991c13bc5108193959ba70f9f6f9c692c9ad3a5b
[ROCm/hip commit: 7530fa6dbe ]
2016-09-22 14:21:19 -05:00
Ben Sander
f145954a9d
Cleanup, remove preCopyCommand.
...
Change-Id: I3768d3789a99be8136b43179d4152fa1875665cb
[ROCm/hip commit: 8c4cecf367 ]
2016-09-22 14:21:19 -05:00
Ben Sander
7be84ac76d
Change HIP async copy to call av::copy_async.
...
Change-Id: I4274b63ced3940d5249c32bd9d156296529c70e8
[ROCm/hip commit: 9c9b0ab555 ]
2016-09-22 14:21:19 -05:00
Ben Sander
d2461ff674
Use HCC's synchronous accelerator_view::copy
...
Replace large block of HIP code with a call to HCC av::copy().
Change-Id: Ic32e1801cf8d4cd116ac02b72c41b1a1e4b6065c
[ROCm/hip commit: da44f3f907 ]
2016-09-22 14:21:19 -05:00
Ben Sander
d71686d4f5
Remove USE_AV_COPY, USE_PEER_TO_PEER fallback paths.
...
Change-Id: I9c20173e62029c4caebabc98784c6d7697758e4f
[ROCm/hip commit: e843d8cb51 ]
2016-09-22 14:21:19 -05:00
Ben Sander
b7dda7be0d
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/hip commit: ccc1bbe6b1 ]
2016-09-22 14:21:18 -05:00
Ben Sander
b2330accaf
Fix bugs for different CopyModes
...
Change-Id: Ie59fb3b36a9ff2de178307a6d5756b5c71e0306b
[ROCm/hip commit: a352ee923e ]
2016-09-22 14:21:18 -05:00
Ben Sander
f7987aaa33
Move isLargeBar to UnpinnedCopyEngine constructor.
...
Change-Id: I7a7d3a40b1d4e0c6ec856658a6a70e5e70d287ce
[ROCm/hip commit: 442d74f027 ]
2016-09-22 14:21:18 -05:00
Ben Sander
7935c8b929
Refactor Staging Buffer CopyDeviceToHost
...
Use copyMode. Embed algorithm selection inside the unpinned class.
Change-Id: Ic75fd5931717a3160904402794bbed3ccd445112
[ROCm/hip commit: e300cb4405 ]
2016-09-22 14:21:18 -05:00
Ben Sander
fd5d85ee6b
Refactor staging buffer CopyHostToDevice.
...
- Move algorithm selection inside Unpinned class.
- Refactor function names.
- Use size_t for size threshholds.
Change-Id: Iac4de652ac9d49acbf527aa0849e388b8ecd8486
[ROCm/hip commit: c532de9f5a ]
2016-09-22 14:21:18 -05:00
Ben Sander
f028a2e833
Updates docs for hipHcc* functions, move to header
...
[ROCm/hip commit: 83140f8423 ]
2016-09-22 13:05:47 -05:00
Aditya Atluri
031e406c5a
Fixed typo in function return
...
Change-Id: I8905bfdbc162815ac10c926e77a9bab432932c9c
[ROCm/hip commit: fb03e1c943 ]
2016-09-22 09:30:05 -05:00
Rahul Garg
e729fa1dee
Added hipRuntimeGetVersion function
...
Change-Id: I59ec2beacb5a94439deed0dcc8eb37d6de1cc900
[ROCm/hip commit: bfc033cc3e ]
2016-09-22 15:21:23 +05:30
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
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
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
b4518a750f
Added further properties in hipChooseDevice
...
Change-Id: I8f7f5800e8a95873318a534f09e75e037ad31b06
[ROCm/hip commit: 13e88c54d7 ]
2016-09-16 11:18:34 +05:30
Aditya Atluri
ba1c02dd50
added more error codes to hipErrorGetString
...
Change-Id: I80c675905d94813502040fd0caa07985fa8c7dcc
[ROCm/hip commit: 7407cb2600 ]
2016-09-15 11:28:18 -05:00
Aditya Atluri
fd1437a95c
added new error reporting case
...
Change-Id: I5f0a37dbe396412f5602d04df19d538e451c2696
[ROCm/hip commit: 8110f562ab ]
2016-09-15 10:50:26 -05:00
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
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
Aditya Atluri
702225d58f
Added signal management which passes stress tests
...
Change-Id: I7e1660a8ca2c5ee580a91f76eae9a58ca49f0457
[ROCm/hip commit: f03570d8cc ]
2016-09-08 14:52:51 -05:00
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
5de16a5c45
Adapt to _kernelSymbol
...
Change-Id: Idebb7d7e895286ce5423afdcf391e00fa8b2b94f
[ROCm/hip commit: 0693b1693f ]
2016-09-07 15:48:40 -05:00
Ben Sander
6445921e03
Add hipStreamQuery
...
Change-Id: Ib0813b1065feba4fe9ae861d24cfc6f9c5f580be
[ROCm/hip commit: 4e994a3025 ]
2016-09-07 15:18:34 -05:00
Ben Sander
4746d3002d
refactor ihipPreLaunchKernel phase#1
...
- Fix calls to HIP_INIT_API to pass all function arguments.
- Change ihipFunction to follow coding convention:
- leading underscore for member fields,
- camelCase for member fields.
- move kernel print function inside ihipPreLaunchKernel.
- add HIP_TRACE_API_COLOR, control color of messages.
- add ihipLogStatus wrapper to hipDeviceSynchronize()
Change-Id: I20bbb644da213f821404648945197254e3648fc9
[ROCm/hip commit: 48b1f7a6ea ]
2016-09-07 15:18:34 -05:00
Aditya Atluri
8a50f6465e
Fixed group and private memory size to AQL
...
Change-Id: I6e721f63fe5697b7b90a7d25add9aa024d9dc429
[ROCm/hip commit: 2c2f6ab078 ]
2016-09-07 12:57:18 -05:00
Ben Sander
c394892227
remove printf
...
Change-Id: I36510a7ff0425f05a6d0b9c65cda4397c9cc2d95
[ROCm/hip commit: 64bc513df9 ]
2016-09-02 17:50:31 -05:00
Ben Sander
5820670910
Fix double-lock of stream on hipModuleLaunchKernel
...
Change-Id: I4ca164971c25f4eb8fbcca11d6258367bb3d2ab4
[ROCm/hip commit: cdba60a566 ]
2016-09-02 12:47:49 -05:00
Ben Sander
1edcb06701
hipStreamWaitEvent update.
...
Add passed to hipStreamWaitEvent test.
Fix pointerAttrib test to work with new and old HCC versions.
Minor code touchup.
Change-Id: I139ba6ce9f6bf2b4bee89aebdec5981b4346ffc0
[ROCm/hip commit: 0923c2d261 ]
2016-09-02 09:46:59 -05:00
Ben Sander
d3fb92374d
Only use ihipLogStatus from top-level HIP functions.
...
Change-Id: I07e9c088d5c16a79ed52cb008a798889a656016c
[ROCm/hip commit: db9fe9f494 ]
2016-09-02 09:46:59 -05:00
Ben Sander
71f898d534
Use create_blocking_marker for WaitEvent implementation
...
Change-Id: Ib3113f69a14e48b9fe0558d7b455148e478d8eed
[ROCm/hip commit: aa823871db ]
2016-09-02 09:46:59 -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
24917dd6e8
enable dynamic shared always
...
Change-Id: Idc246546f583a82489ef34d1fe22d0e118b1e0ed
[ROCm/hip commit: bbbcb4efad ]
2016-09-02 09:46:59 -05:00
Aditya Atluri
3e26dd5b5d
added logger for return status
...
Change-Id: Ib93012a15b1cfa90714a6ebd5153cc40e28e6566
[ROCm/hip commit: 04f97aa956 ]
2016-09-02 09:44:00 -05:00
Aditya Atluri
d92b14aa21
fixed code according to convention
...
Change-Id: Ib90c84a30ea6da3531e8b7c3e281dd4b31915198
[ROCm/hip commit: 7a807d54df ]
2016-09-02 09:31:37 -05:00
Rahul Garg
2d6f4cfb81
Removed Doxygen return codes from source file
...
Change-Id: Iaf9f13df73a9c17c494c9ff67203b836ee90648d
[ROCm/hip commit: eada9b4444 ]
2016-09-02 18:37:26 +05:30
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
pensun
6824b3af6d
Modify hipMalloc to take size of 0 and return NULL pointer for it.
...
Modify hipMemoryAllocate test for this change.
Change-Id: I884aee0cd5fe0c60aebb4cb37cdbb4833c5bd0c7
[ROCm/hip commit: b726f0e949 ]
2016-09-01 13:08:30 -05:00