Aditya Avinash Atluri
a845dccfef
H2H Async memcpy fix
...
In this change, the cpu memcpy will wait until all the commands in the current stream are done.
Note that, it only waits on current stream. But not on other streams.
2016-02-29 12:49:50 -06:00
pensun
1c60874378
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
2016-02-28 13:09:46 -06:00
Ben Sander
4909faf8e3
Copy dependency bug fixes and test modes.
...
Add dependency for host-to-host copy.
Add debug mode for HIP_DISABLE_HW_COPY_DEP and
HIP_DISABLE_HW_KERNEL_DEP - setting these to -1 now ignores
all dependencies.
2016-02-28 21:19:49 -06:00
Ben Sander
73013ef358
add check for hip platform configuration
2016-02-28 21:08:53 -06:00
Ben Sander
be0d3510f5
touchup
2016-02-28 21:08:53 -06:00
Ben Sander
25a94601be
Describe using HIP with native-gcn compiler
2016-02-28 21:08:53 -06:00
pensun
d185ed5f3d
Merge branch 'doc_update' into privatestaging
2016-02-27 15:13:14 -06:00
pensun
cb352a17c3
resolve conflicts of doc_update
2016-02-27 15:08:45 -06:00
pensun
dec63c6647
minor typo fix
2016-02-27 15:04:49 -06:00
pensun
dacae05c98
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
2016-02-27 14:51:52 -06:00
pensun
ee53ef507f
Test cases for HIP_VISIBLE_DEVICES/CUDA_VISIBLE_DEVICES.
...
hipEnvVar is the base test case, to be called by hipEnvVarDriver
at the run time.
Test case includes tests for normal use case of the environment
variable, invalid value/sequence and use CUDA_VISIBLE_DEVICES as a
alternative.
2016-02-27 14:48:00 -06:00
pensun
17987b42c5
improve the HIP_VISIBLE_DEVICES implementation
2016-02-27 14:14:08 -06:00
Aditya Avinash Atluri
5f99484d3f
Update hipStreamL5.cpp
...
- Added Copyright
- Removed unnecessary headers
- Added naming scheme
- Added comments for failing cases
- Reformatted source
2016-02-27 13:20:55 -06:00
pensun
43e156c002
add test case and its driver for HIP_VISIBLE_DEVICES/CUDA_VISIBLE_DEVICES
2016-02-27 09:43:38 -06:00
Aditya Atluri
bb97cd9332
[v2]: Added test to check single stream dispatches
2016-02-27 05:55:56 -06:00
Aditya Atluri
61c63c155c
Revert "Added test to check dispatches on single stream"
...
This reverts commit 90edf9c06f .
2016-02-27 05:48:41 -06:00
Aditya Atluri
90edf9c06f
Added test to check dispatches on single stream
2016-02-27 05:44:57 -06:00
Aditya Avinash Atluri
9c4819bc29
Merge pull request #4 from AMDComputeLibraries/memtracker
...
hipGetPointerAttrib behavioral changes
2016-02-27 10:51:23 -06:00
pensun
bcbc76470d
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
2016-02-27 04:25:28 -06:00
Ben Sander
3eb281aeff
disable rocrv2, properly
2016-02-27 03:31:30 -06:00
Aditya Avinash Atluri
e9a9c760fc
Updated hipPointerAttrib.cpp to pass HC backend
...
The changes are according to the new API function change in HC backend for HIP. Especially hipPointerGetAttribute(...)
2016-02-26 19:42:07 -06:00
Aditya Avinash Atluri
db8bedc4d3
Update README.md
2016-02-26 19:39:14 -06:00
Aditya Avinash Atluri
08a82b405a
Update README.md
2016-02-26 19:38:22 -06:00
Aditya Avinash Atluri
2ca6162593
Corrected hipPointerGetAttribute
...
Made hipPointerGetAttribute work same as cudaPointerGetAttribute for HCC
2016-02-26 18:50:40 -06:00
Aditya Avinash Atluri
aeb86755c3
Null argument handling HIPCC
...
This change makes hipcc handle no-arguments passed to it. It solves https://github.com/AMDComputeLibraries/HIP-privatestaging/issues/1
2016-02-26 13:47:58 -06:00
Aditya Avinash Atluri
a31f878218
Added CUDA support for hipPointerGetAttributes
2016-02-26 12:33:55 -06:00
pensun
e21841c152
relsove conflicts
2016-02-26 09:57:40 -06:00
pensun
980ec93f46
fix compiling error
2016-02-26 09:50:00 -06:00
Ben Sander
8105bd636f
fixes for titan platform
2016-02-26 05:25:30 -06:00
Ben Sander
822c7292c9
Disable ROCR_V2
2016-02-26 23:34:45 -06:00
Ben Sander
7a1b4c3878
Merge branch 'memtracker' into privatestaging
...
Conflicts:
include/nvcc_detail/hip_runtime_api.h
2016-02-26 06:17:05 -06:00
Ben Sander
4a6173fe58
Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
2016-02-26 06:15:09 -06:00
Ben Sander
69bb511b10
Merge branch 'memtracker' of https://github.com/AMDComputeLibraries/HIP-privatestaging into memtracker
...
Conflicts:
tests/src/hipMemcpy.cpp
2016-02-25 23:24:22 -06:00
Ben Sander
8d985188dd
Merge branch 'memtracker' of https://github.com/AMDComputeLibraries/HIP-privatestaging into memtracker
...
Conflicts:
tests/src/hipMemcpy.cpp
2016-02-25 23:22:51 -06:00
Ben Sander
67e96e983f
Add PATH and LD_LIBRARY_FLAGS
2016-02-25 23:07:18 -06:00
Ben Sander
af97f5e317
Merge branch 'memtracker' into privatestaging
...
Conflicts:
src/hip_hcc.cpp
2016-02-25 19:38:46 -06:00
Ben Sander
d3e1773704
Tweak version numbers
2016-02-25 19:30:42 -06:00
Ben Sander
91ed5c7d78
Improve memory copy and commands switching
...
- Add chicken bits to use host-side dependency management.
- Add optional PinInPlace path for unpinned copies
- Synchronize before pinned memcpy path.
- Add mutex to protect two threads launching to same stream.
2016-02-25 19:19:49 -06:00
Aditya Avinash Atluri
6ec52348ea
Update hip.vim
...
Added d2d and h2h highlights
2016-02-25 14:49:58 -06:00
Evgeny Mankov
7bb0f17656
Attribute hipDeviceAttributeIsMultiGpuBoard for obtaining Device property isMultiGpuBoard is added.
...
On HIP path property obtaining done through hsa_iterate_agents and counting the devices of HSA_DEVICE_TYPE_GPU type.
P.S.
On multi-boards systems it might be problems with detection what board a GPU plugged into (not tested).
2016-02-25 23:44:39 +03:00
Ben Sander
2228bbd119
Add test for thread-safety on streams
2016-02-25 04:22:34 -06:00
Ben Sander
382638df1e
Add abstraction for pinned/unpinned, and sync/async mem copies selection in tests
2016-02-25 04:21:24 -06:00
Aditya Avinash Atluri
b86a905958
Update hip.vim
2016-02-23 13:40:20 -06:00
Ben Sander
836c485d0b
Add tests for multi-threaded streams
2016-02-23 12:08:22 -06:00
Ben Sander
8f98aca124
Sync review.
...
- add calls to ihipInit missing from some routines.
- sync before draining a stream.
2016-02-23 04:07:11 -06:00
Ben Sander
7d553a1113
add hipLaunchParm
2016-02-23 04:05:41 -06:00
Ben Sander
28990567fb
Improve async copy implementation.
...
- Add device-side signal waits when transitioning between command classes
(Kernel, H2D copy, D2H copy).
- Support waiting in staged memory copies as well.
- Add several chicken bits to control implementation:
- HIP_DISABLE_ENQ_BARRIER
- HIP_DISABLE_BIDIR_MEMCPY
- HIP_ONESHOT_COPY_DEP
- Refactor signal pool to support efficient deallocation based on
signsequnm.
- Deallocate copy signals on eventSynchronize.
- Improve copy tests, add pingpong.
2016-02-22 23:15:24 -06:00
Ben Sander
784ebcbc86
Fix memcpy for Titan. Add <threads> to common includes
2016-02-22 15:09:23 -06:00
Ben Sander
16b04fc0d3
Merge branch 'memtracker' of https://github.com/AMDComputeLibraries/HIP-privatestaging into memtracker
2016-02-22 08:33:47 -06:00
gargrahul
14508fd0d6
Update for shared atomics support
2016-02-22 16:21:52 +05:30