Ben Sander
271e2357e0
Fix bugs for different CopyModes
...
Change-Id: Ie59fb3b36a9ff2de178307a6d5756b5c71e0306b
2016-09-22 14:21:18 -05:00
Ben Sander
17d7fc586e
Move isLargeBar to UnpinnedCopyEngine constructor.
...
Change-Id: I7a7d3a40b1d4e0c6ec856658a6a70e5e70d287ce
2016-09-22 14:21:18 -05:00
Ben Sander
77c86934c1
Refactor Staging Buffer CopyDeviceToHost
...
Use copyMode. Embed algorithm selection inside the unpinned class.
Change-Id: Ic75fd5931717a3160904402794bbed3ccd445112
2016-09-22 14:21:18 -05:00
Ben Sander
e77d75c1c1
Refactor staging buffer CopyHostToDevice.
...
- Move algorithm selection inside Unpinned class.
- Refactor function names.
- Use size_t for size threshholds.
Change-Id: Iac4de652ac9d49acbf527aa0849e388b8ecd8486
2016-09-22 14:21:18 -05:00
Ben Sander
e8beacbfb1
Sample improvements.
...
- Enable -O3 for hipDispatchLatency.
- Use nearly-null kernel to prevent it from being optimized away.
- Formatting for hipDispatchLatency.
- Formatting for hipInfo.
2016-09-22 13:05:47 -05:00
Ben Sander
6126d73778
Doc update for faq.
2016-09-22 13:05:47 -05:00
Ben Sander
7ec4b65786
Doc update: release reminder, compare hip against other porting tools.
2016-09-22 13:05:47 -05:00
Ben Sander
b4bc101c96
Updates docs for hipHcc* functions, move to header
2016-09-22 13:05:47 -05:00
Aditya Atluri
470a1583d1
added ipc runtime api for nvcc backend
...
Change-Id: I3297c4c9db34e7bc3267fec64a6757f9ebf91905
2016-09-22 12:55:41 -05:00
Aditya Atluri
c0babe6b0a
Fixed typo in function return
...
Change-Id: I8905bfdbc162815ac10c926e77a9bab432932c9c
2016-09-22 09:30:05 -05:00
Maneesh Gupta
e51e268f24
Fix bug in defining HIP_VERSION_*
...
Change-Id: I52fcd78386ee4b5035aba4c9bced3372b7894650
2016-09-22 16:32:05 +05:30
Rahul Garg
86e441c769
Added hipRuntimeGetVersion function
...
Change-Id: I59ec2beacb5a94439deed0dcc8eb37d6de1cc900
2016-09-22 15:21:23 +05:30
Maneesh Gupta
ba9d9708f7
Expose HIP_VERSION_* to HIP source and HIP applications
...
Change-Id: I6fb0d6711642c4fad2cd89b98707ee4b548b7243
2016-09-22 12:27:07 +05:30
pensun
d64bbacdd9
doc fix for hipStream
...
Change-Id: I618464c8b9ffa0a566434e72d2bc87a152884ca1
2016-09-21 12:03:01 -05:00
Maneesh Gupta
6b9d8e85a7
FindHIP: Fix bug in parsing source files and options
...
Change-Id: Ib1c793dd19d61b387da3f5894c4e37c66f02b753
2016-09-20 20:46:49 +05:30
Maneesh Gupta
3e18b5fdf3
FindHIP: Fix bug in handling HIP_SOURCE_PROPERTY_FORMAT
...
Change-Id: I6f19c487b222039e2653a8de1930c02da64318ed
2016-09-20 14:03:51 +05:30
Maneesh Gupta
f9a9936c49
FindHIP: Fix formatting issues
...
Change-Id: I169266fe34fec1d0619b299733e9997eddc16d90
2016-09-20 12:53:55 +05:30
Rahul Garg
8842a0d5b8
Added return error code hipErrorInvalidValue in hipMemGetInfo
...
Change-Id: If01b012136b655ff8eb4878eb703dfe3e6a36530
2016-09-17 23:54:20 +05:30
pensun
e11b6144e4
Revert "resolve merge conflict"
...
This reverts commit 213fd6c961 .
2016-09-16 16:04:48 -05:00
pensun
213fd6c961
resolve merge conflict
...
Change-Id: I041730d4208ae1865820f5df73a67ba60fd4bc3c
2016-09-16 11:13:43 -05:00
Maneesh Gupta
70a1a498f6
Some more event API documentation fixes
...
Change-Id: I159706e6771bec5270dda81800c1c6fd5f13d254
2016-09-16 15:26:58 +05:30
Maneesh Gupta
1dc1c056d4
Fix typo in comment
...
Change-Id: I217012e10d8e5322aa0dc7dd5915be10df35fb53
2016-09-16 15:18:17 +05:30
Maneesh Gupta
b14d2c8c8e
Updates to doxygen documentation for HIP Event APIs
...
Change-Id: Ic2e4a5725aebca14ac824da43436aacd0fe0a45c
2016-09-16 15:06:54 +05:30
Maneesh Gupta
f51b5dda0c
Fix fence functions doxygen group
...
Change-Id: I222eecb0eb0174b9f19e15b16c1ee06b7ba1e67e
2016-09-16 15:06:54 +05:30
Rahul Garg
5b0a4eeaba
Updated error codes in Memory APIs
...
Change-Id: I328090db929867fd3500fc471b69f86c6f595912
2016-09-16 14:59:08 +05:30
Rahul Garg
58a828ede5
Corrected wrong error code name in memory APIs
...
Change-Id: I16a8ebf6d530f2e7d266a1a63a76ba7b9710c8c1
2016-09-16 14:14:45 +05:30
Rahul Garg
cb3bff0a0d
Partial updates of error codes for Memory APIs
...
Change-Id: If924867cc62f56dc9eaf81f5499ba66f417c393a
2016-09-16 12:59:41 +05:30
Maneesh Gupta
4ceb73baa1
Ignore .* files again
...
Change-Id: Idf430bea898537df2cdef11796b12e52fa4cd9c6
2016-09-16 12:39:33 +05:30
Rahul Garg
6139d5f587
Added further properties in hipChooseDevice
...
Change-Id: I8f7f5800e8a95873318a534f09e75e037ad31b06
2016-09-16 11:18:34 +05:30
Rahul Garg
2c1bd4bd10
HIP/NVCC path for hipChooseDevice
...
Change-Id: I64690d7df1f5493e067c7ff5e3b39a10fcf323bb
2016-09-16 11:15:03 +05:30
Maneesh Gupta
730268e087
FindHIP: Initial support for HIP_ADD_LIBRARY
...
Change-Id: Ic8b93c2a9daff2dddb3a94b62981d3a1f03afd5c
2016-09-16 10:17:27 +05:30
Maneesh Gupta
2c3ce272e6
FindHIP: determine HIP_PLATFORM at build time instead of compile time
...
Change-Id: Icb99d23f2874c4c15771641d7e3e91bb5c918f27
2016-09-16 10:16:34 +05:30
Aditya Atluri
8faf2ed7e3
added vimrc for current project
...
1. Added vimrc config file for HIP
2. Corrected square sample indent
Change-Id: I3e1d92403571148fe6825db6ad63ad925ae69519
2016-09-15 11:40:17 -05:00
Aditya Atluri
6cb5a13a2b
added more error codes to hipErrorGetString
...
Change-Id: I80c675905d94813502040fd0caa07985fa8c7dcc
2016-09-15 11:28:18 -05:00
Aditya Atluri
2c12394d52
added new error reporting case
...
Change-Id: I5f0a37dbe396412f5602d04df19d538e451c2696
2016-09-15 10:50:26 -05:00
Maneesh Gupta
4b1c7eed8a
Fixed broken HIP build on NVCC path
...
Change-Id: Iae9d7ba0c789475681b382c8af18bb9bd6156a52
2016-09-15 17:02:37 +05:30
Rahul Garg
d3aff68f37
Partial update of memory APIs for doxygen documentation
...
Change-Id: I7865f4591c7f64b2a21702c35f6233b845e7c403
2016-09-14 12:53:08 +05:30
Maneesh Gupta
33fe29ae9f
Directed tests: Remove support for HIP_BUILD_LOCAL=0
...
Change-Id: Ib73845ac8ea0507ca8e476995aa8c237b11d0ccf
2016-09-13 20:40:19 +05:30
Maneesh Gupta
d85012df42
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
2016-09-13 20:11:33 +05:30
Evgeny Mankov
50786a4b70
[HIPIFY] CUDA Driver API porting to HIP : Init and Memory functions support.
2016-09-13 15:11:21 +03:00
Rahul Garg
9155e1f2fd
Partial- Doxygen related changes for Memory APIs
...
Change-Id: I7ccc143571e0b26c16c70262565d6e69d6e7b6b5
2016-09-13 17:33:11 +05:30
Rahul Garg
c6808ddc0e
Updated Doxygen related documentation for Error APIs
...
Change-Id: I16873503d8e96df91831e2a0503835a1ff0220e3
2016-09-13 16:54:46 +05:30
Aditya Atluri
e1d00da7d2
Cleaned doxygen comments for device management runtime apis
...
Change-Id: I8fbba7d997589a67218cfaa132c598ff750ac544
2016-09-12 21:06:54 -05:00
Aditya Atluri
bbead42cb0
Added async memcpy driver api for nvcc backend
...
Change-Id: If401fc949b834c883cff9de74adb0d532a0fd942
2016-09-09 10:25:57 -05:00
Aditya Atluri
c3ab5a8df8
Added async memcpy driver api
...
Change-Id: I90e8a078d668a408e79f9e1142e7534771467a4f
2016-09-09 10:21:52 -05:00
Evgeny Mankov
8abdb1dd54
[HIPIFY] CUDA Driver API porting to HIP : Stream functions support.
2016-09-09 11:46:35 +03:00
Evgeny Mankov
3f575ad2b7
[HIPIFY] CUDA Driver API porting to HIP : Module functions support.
2016-09-09 11:31:50 +03:00
Evgeny Mankov
1567733097
[HIPIFY] CUDA Driver API porting to HIP : Event functions support.
2016-09-09 11:15:11 +03:00
Evgeny Mankov
04fccd6189
[HIPIFY] CUDA Driver API porting to HIP : Conversion type Driver and driver functions are added.
2016-09-09 11:10:19 +03:00
Maneesh Gupta
4ce3ac5b85
Directed tests: Guard unsupported host math functions on NVCC
...
Change-Id: I1145c0e45a913167c82ddc593d8a9027f237c7ba
2016-09-09 12:07:15 +05:30