Commit Graph

381 Commits

Author SHA1 Message Date
Ben Sander 7ca06d2fb1 fix bugs in P2P implementation
- addPeers polarity reversed, would never add.
- check allow_access return value, pipe error to hipMalloc.
2016-04-09 04:11:31 -05:00
Ben Sander 2b45fc35cb Fix simple P2P test, had device ptrs swapped 2016-04-08 09:23:02 -05:00
Ben Sander 90d986ae47 Use HIP_PATH if set else use relative ../... 2016-04-08 02:17:29 -05:00
Ben Sander b1b1db2825 Print peers in hipConfig.
Also include peer APIs in vim hilighting.
2016-04-08 02:15:46 -05:00
Ben Sander 5b37639efb Add simple P2P test 2016-04-07 15:51:08 -05:00
Ben Sander bae62e02dc Use HCC get_is_pool, add USE_PEER_TO_PEER level 2, 3. 2016-04-07 14:28:42 -05:00
Ben Sander 288682ccb3 For P2P, use the peer list when allocating Device memory or pinned host.
Each new allocation is automatically mapped into the address space of
all enabled peers.
2016-04-06 16:44:31 -05:00
Ben Sander 6a182ce788 P2P checkpoint.
Maintain enabled peer tables for each device.
2016-04-06 15:50:47 -05:00
Ben Sander db91890f53 Checkpoint initial peer2peer implementation. 2016-04-06 15:50:47 -05:00
Ben Sander e180fa5b72 update proposed release notes 2016-04-06 15:50:47 -05:00
Aditya Atluri a7590e3537 Corrected corner cases 2016-04-06 14:50:27 -05:00
Aditya Atluri 39f27984a8 Added feature for cross-compilation and seperated hcc api from hip api 2016-04-06 14:18:51 -05:00
Maneesh Gupta 00be8a1300 Remove deprecated KERNELBEGIN and KERNELEND from bit_extract sample 2016-04-04 14:47:02 +05:30
Maneesh Gupta fdfedbd60f Enable directed tests to build HIP locally via cmake option 2016-04-04 13:53:24 +05:30
Maneesh Gupta 7aad3bab84 Add c++abi to linker options for HCC 2016-04-02 22:32:05 +05:30
Maneesh Gupta b6cde80678 Update documentation for building and installing hip_hcc 2016-04-01 16:15:38 +05:30
Maneesh Gupta a8879638b6 Initial (non-default) support for shared library HIP 2016-04-01 16:08:49 +05:30
Maneesh Gupta a11725cced Revert "Initial (non-default) support for shared library HIP"
This reverts commit 1c722fa431.
2016-04-01 16:07:07 +05:30
Maneesh Gupta 1c722fa431 Initial (non-default) support for shared library HIP 2016-04-01 15:45:32 +05:30
Maneesh Gupta fdcfd3d8f9 Change HCC_DIR -> HCC_HOME, HSA_DIR -> HSA_PATH and HIP_INSTALL_PATH -> CMAKE_INSTALL_PREFIX 2016-04-01 13:48:37 +05:30
Maneesh Gupta 97f8fd7a8a Fix path comparison for install components in cmake 2016-04-01 12:13:22 +05:30
Aditya Atluri c2d04ba59c added device math functions 2016-03-31 12:29:19 -05:00
Aditya Atluri 22256ea2b6 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-03-31 04:45:23 -05:00
Maneesh Gupta 2064d05ffc Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-03-31 21:16:39 +05:30
Maneesh Gupta df5b746cde Cleaned up cmake 2016-03-31 17:42:29 +05:30
Aditya Atluri 48b8b426d5 moved cpp specific device code from headers to source 2016-03-31 04:45:00 -05:00
Aditya Atluri 8d406b68d8 Added directory for stress testing 2016-03-31 02:14:12 -05:00
Aditya Atluri ed17e3489e Fixed failing tests 2016-03-30 13:00:44 -05:00
Aditya Atluri b2b3eec95c Revert to multiple output files than single .a lib 2016-03-30 07:54:18 -05:00
Aditya Atluri c4d93cf3db C guarding the apis 2016-03-30 06:08:50 -05:00
Aditya Atluri e476d4e8f0 Moved flag to hip_runtime.h 2016-03-30 03:32:39 -05:00
Maneesh Gupta 80b176d540 Implement more complex HCC, HSA directory selection logic 2016-03-30 13:58:38 +05:30
Aditya Atluri 00bf37d28d Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-03-29 11:18:09 -05:00
Ben Sander 3b1cd2d626 rename to hipMultiThreadDevice for consistency 2016-03-29 17:33:29 -05:00
Ben Sander 98a766ba75 Test improvements
- partition hipThreadSafeDevice into smaller pieces.
- Add debug to hipMultiThreadStream.
- print more precision when mismatch detected.
- enable more tests in CMakeFiles.txt.
2016-03-29 17:29:31 -05:00
Ben Sander e7b15a53da Inline some new string functions. 2016-03-29 17:28:27 -05:00
Ben Sander e22925be22 Add runtime switch to control HIP_ATP_MARKER
Only generate the function strings if requested at
compile-time && runtime.
2016-03-29 17:27:30 -05:00
Ben Sander 57783aad2d include codexl marker path, if found 2016-03-29 17:26:44 -05:00
Ben Sander de3391637f Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-03-29 17:12:36 -05:00
Ben Sander 03c0fcbfec Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-03-29 14:43:35 -05:00
Aditya Atluri ae2b136bfe Update README.md 2016-03-29 14:23:41 -05:00
Aditya Atluri 573d331ab8 Update README.md 2016-03-29 14:11:10 -05:00
Aditya Atluri 3b3db60c25 Calling intrinsics from global kernel 2016-03-29 11:17:55 -05:00
Aditya Atluri e652426715 added host flags to hipDeviceBody test 2016-03-29 09:27:57 -05:00
Aditya Atluri 4320e5c574 Added tests for running device code from a difference source file 2016-03-29 09:22:31 -05:00
Ben Sander ba114a238f Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
Conflicts:
	include/hcc_detail/trace_helper.h
2016-03-29 05:56:03 -05:00
Aditya Atluri 73ecbf5c95 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-03-29 02:28:20 -05:00
streamhsa a629d4975f change makefile for samples 2016-03-29 16:02:09 +08:00
Aditya Atluri 8e437d0565 Not using classes inside headers 2016-03-29 02:27:51 -05:00
Ben Sander 1b2ab173c1 Tweak thread-safe implementation.
introduce LockedAccessor option so destructor does not unlock.
Allows locks to exist across function boundaries, required
for hipLaunchKernel macro which has several unusual requirements.
(including C comppatibility, must use variadic macro, more).
2016-03-28 21:41:47 -05:00