Граф коммитов

115 Коммитов

Автор SHA1 Сообщение Дата
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 a31f878218 Added CUDA support for hipPointerGetAttributes 2016-02-26 12:33:55 -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 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
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
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
Ben Sander d5c777268a Track last command to a stream.
Passing simple tests.
2016-02-20 11:02:07 -06:00
Ben Sander 16ff0757a6 Describe how to update HTML docs 2016-02-19 01:56:17 -06:00
Ben Sander 866e64f6e2 remove extra : 2016-02-18 03:05:53 -06:00
Ben Sander 53f37712bd Tweak version numbers 2016-02-18 21:29:51 -06:00
Ben Sander 2447067f27 Update release notes 2016-02-18 21:07:14 -06:00
Ben Sander ad20273a1d Search multiple dirs. 2016-02-18 21:07:14 -06:00
Ben Sander 8c3436e927 Update doxygen HTML 2016-02-18 21:02:39 -06:00
Ben Sander 3496398651 Update doxygen HTML 2016-02-18 20:43:03 -06:00
Evgeny Mankov 8aace64dce Device property memoryClockRate implementation.
+ Device property memoryClockRate is added to hipDeviceProp_t struct.
+ Device attribute hipDeviceAttributeMemoryClockRate is added to hipDeviceAttribute_t struct.
+ Tests update.
+ Rename hipDevAttrConcurrentKernels to hipDeviceAttributeConcurrentKernels.
2016-02-18 17:25:28 +03:00
Evgeny Mankov 859208d6f0 hipInfo sample update with new Device Properties. 2016-02-18 15:08:55 +03:00
Evgeny Mankov d4bd94e9a0 Attribute hipDevAttrConcurrentKernels for obtaining Device property concurrentKernels is added. 2016-02-18 14:34:18 +03:00
Ben Sander d0f9881d60 Merge branch 'memtracker' of https://github.com/AMDComputeLibraries/HIP-privatestaging into memtracker 2016-02-17 23:06:51 -06:00
Ben Sander 400dcb8bcb Enable Tracker and ROCR by default, verify with HCC 2016-02-17 23:03:37 -06:00
Ben Sander b08e468c06 Remove HIP-local AM tracker (now in HCC) 2016-02-17 21:33:32 -06:00
Ben Sander 354c9f945a USE_AM_TRACKER=0 works 2016-02-17 21:23:36 -06:00
Ben Sander d75279c8eb Tweak full formatting 2016-02-17 21:22:31 -06:00
Ben Sander 9a82d316c3 Support HSA_PATH env, async path tweak 2016-02-17 21:22:07 -06:00
Ben Sander 0cdbe1ff05 more work on async copies 2016-02-17 00:59:12 -06:00
Ben Sander 5d721a2649 Add per-stream pool for hsa_signals. 2016-02-16 01:59:13 -06:00
Ben Sander 731a2a58d3 Add comments to tests 2016-02-16 01:58:24 -06:00
Ben Sander 1ed431c0f6 Update before checkin to HCC.
Add support for USE_AM_TRACKER=2 (HCC version).
Add AM_ALLOC, AM_FREE indirection to ease swapping AM implementations.
2016-02-15 21:16:00 -06:00
Ben Sander bd7e3b83b9 Move warpSize to header, have shuffles use default warpsize. 2016-02-15 05:41:09 -06:00
Ben Sander 3b2d4acabc Remove old include path. 2016-02-15 05:40:37 -06:00
Ben Sander 322a3bd9b2 Update docs, cleanup 2016-02-15 05:40:12 -06:00
Ben Sander afbe451b0d Fix tests to account for multi-gpu 2016-02-15 05:19:52 -06:00
Evgeny Mankov 763aa5ea5a Formatting, no functional changes. 2016-02-15 13:16:05 +03:00
Ben Sander 8939b4f0e5 Add multi-threading synchonization on staging buffers and signals.
Also pre-allocate a couple signals for copies.
2016-02-13 03:18:01 -06:00
Ben Sander 56b3d2e7c4 Enable -O3, style points on array size 2016-02-13 03:17:42 -06:00
Ben Sander a002833a89 D2H multi-buffer 2016-02-13 01:15:23 -06:00
Ben Sander 8e3dd664eb Result formatting 2016-02-13 01:14:01 -06:00
Ben Sander 1cd35f6371 Add D2H test 2016-02-12 22:47:26 -06:00
Ben Sander 81c275da13 Add D2H test 2016-02-12 22:46:34 -06:00
Ben Sander ba7497b409 Add Bus Bandwidth test, leveraged from SHOC. 2016-02-12 21:30:43 -06:00
Ben Sander 2353cbb028 Improve copy testing 2016-02-12 18:24:08 -06:00