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
25c24e1694
Fix bugs for different CopyModes
...
Change-Id: Ie59fb3b36a9ff2de178307a6d5756b5c71e0306b
[ROCm/clr commit: 271e2357e0 ]
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
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
Ben Sander
ceae6168b1
Doc update for faq.
...
[ROCm/clr commit: 6126d73778 ]
2016-09-22 13:05:47 -05:00
Ben Sander
f156d5bb51
Doc update: release reminder, compare hip against other porting tools.
...
[ROCm/clr commit: 7ec4b65786 ]
2016-09-22 13:05:47 -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
Aditya Atluri
0862286458
Fixed typo in function return
...
Change-Id: I8905bfdbc162815ac10c926e77a9bab432932c9c
[ROCm/clr commit: c0babe6b0a ]
2016-09-22 09:30:05 -05:00
Maneesh Gupta
8fdc6e2317
Fix bug in defining HIP_VERSION_*
...
Change-Id: I52fcd78386ee4b5035aba4c9bced3372b7894650
[ROCm/clr commit: e51e268f24 ]
2016-09-22 16:32:05 +05:30
Rahul Garg
c121b8b535
Added hipRuntimeGetVersion function
...
Change-Id: I59ec2beacb5a94439deed0dcc8eb37d6de1cc900
[ROCm/clr commit: 86e441c769 ]
2016-09-22 15:21:23 +05:30
Maneesh Gupta
d2cf70716b
Expose HIP_VERSION_* to HIP source and HIP applications
...
Change-Id: I6fb0d6711642c4fad2cd89b98707ee4b548b7243
[ROCm/clr commit: ba9d9708f7 ]
2016-09-22 12:27:07 +05:30
pensun
536fbebbe6
doc fix for hipStream
...
Change-Id: I618464c8b9ffa0a566434e72d2bc87a152884ca1
[ROCm/clr commit: d64bbacdd9 ]
2016-09-21 12:03:01 -05:00
Maneesh Gupta
a11bf35903
FindHIP: Fix bug in parsing source files and options
...
Change-Id: Ib1c793dd19d61b387da3f5894c4e37c66f02b753
[ROCm/clr commit: 6b9d8e85a7 ]
2016-09-20 20:46:49 +05:30
Maneesh Gupta
9cdba6fcdf
FindHIP: Fix bug in handling HIP_SOURCE_PROPERTY_FORMAT
...
Change-Id: I6f19c487b222039e2653a8de1930c02da64318ed
[ROCm/clr commit: 3e18b5fdf3 ]
2016-09-20 14:03:51 +05:30
Maneesh Gupta
585ed80005
FindHIP: Fix formatting issues
...
Change-Id: I169266fe34fec1d0619b299733e9997eddc16d90
[ROCm/clr commit: f9a9936c49 ]
2016-09-20 12:53:55 +05:30
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
Maneesh Gupta
8a90abd86f
Ignore .* files again
...
Change-Id: Idf430bea898537df2cdef11796b12e52fa4cd9c6
[ROCm/clr commit: 4ceb73baa1 ]
2016-09-16 12:39:33 +05:30
Rahul Garg
b16b1fdda8
Added further properties in hipChooseDevice
...
Change-Id: I8f7f5800e8a95873318a534f09e75e037ad31b06
[ROCm/clr commit: 6139d5f587 ]
2016-09-16 11:18:34 +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
Maneesh Gupta
ae7c3ac338
FindHIP: Initial support for HIP_ADD_LIBRARY
...
Change-Id: Ic8b93c2a9daff2dddb3a94b62981d3a1f03afd5c
[ROCm/clr commit: 730268e087 ]
2016-09-16 10:17:27 +05:30
Maneesh Gupta
99dfaeec96
FindHIP: determine HIP_PLATFORM at build time instead of compile time
...
Change-Id: Icb99d23f2874c4c15771641d7e3e91bb5c918f27
[ROCm/clr commit: 2c3ce272e6 ]
2016-09-16 10:16:34 +05:30
Aditya Atluri
891d5efd18
added vimrc for current project
...
1. Added vimrc config file for HIP
2. Corrected square sample indent
Change-Id: I3e1d92403571148fe6825db6ad63ad925ae69519
[ROCm/clr commit: 8faf2ed7e3 ]
2016-09-15 11:40:17 -05:00
Aditya Atluri
29a9549a47
added more error codes to hipErrorGetString
...
Change-Id: I80c675905d94813502040fd0caa07985fa8c7dcc
[ROCm/clr commit: 6cb5a13a2b ]
2016-09-15 11:28:18 -05:00
Aditya Atluri
18756a8e91
added new error reporting case
...
Change-Id: I5f0a37dbe396412f5602d04df19d538e451c2696
[ROCm/clr commit: 2c12394d52 ]
2016-09-15 10:50:26 -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
Maneesh Gupta
c9c4ce4c96
Directed tests: Remove support for HIP_BUILD_LOCAL=0
...
Change-Id: Ib73845ac8ea0507ca8e476995aa8c237b11d0ccf
[ROCm/clr commit: 33fe29ae9f ]
2016-09-13 20:40:19 +05:30
Maneesh Gupta
60e1b0d8a9
Directed tests: Refactor phase 2
...
- Restore HIP_BUILD_LOCAL flag. Defaults to 1.
- HIP_PATH is used only when HIP_BUILD_LOCAL is 0.
- HIP_PLATFORM, HCC_HOME, HIP_LIB_TYPE are passed on to HIP build.
- Specifying HCC_HOME automatically sets HIP_DEVELOPER=1 for HIP build.
- Always show HIP configure step output. Output is colored magenta.
- Fix code indentation.
Change-Id: I74f2d9c1cb04bf865313b2db6b55fda567c8e071
[ROCm/clr commit: d85012df42 ]
2016-09-13 20:11:33 +05:30
Evgeny Mankov
f751b59d8b
[HIPIFY] CUDA Driver API porting to HIP : Init and Memory functions support.
...
[ROCm/clr commit: 50786a4b70 ]
2016-09-13 15:11:21 +03:00
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
Aditya Atluri
7373e61507
Added async memcpy driver api
...
Change-Id: I90e8a078d668a408e79f9e1142e7534771467a4f
[ROCm/clr commit: c3ab5a8df8 ]
2016-09-09 10:21:52 -05:00
Evgeny Mankov
a49f1dded6
[HIPIFY] CUDA Driver API porting to HIP : Stream functions support.
...
[ROCm/clr commit: 8abdb1dd54 ]
2016-09-09 11:46:35 +03:00
Evgeny Mankov
9eecef593b
[HIPIFY] CUDA Driver API porting to HIP : Module functions support.
...
[ROCm/clr commit: 3f575ad2b7 ]
2016-09-09 11:31:50 +03:00
Evgeny Mankov
8fd800dce2
[HIPIFY] CUDA Driver API porting to HIP : Event functions support.
...
[ROCm/clr commit: 1567733097 ]
2016-09-09 11:15:11 +03:00