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

383 Коммитов

Автор SHA1 Сообщение Дата
Ben Sander cb0c124ab1 Improve P2P test.
- Ensure proper device is set before each command.

- Add command line switches:
    +bool p_memcpyWithPeer = false; // use the peer device for the P2P copy
    +bool p_mirrorPeers = false; // in addition to mapping current to peer
            space, map peer to current space.
    +int  p_peerDevice = -1;  // explicly specify which peer to use, else
use p_gpuDevice + 1.


[ROCm/clr commit: e18284c7cf]
2016-04-09 05:03:32 -05:00
Ben Sander dbdd0e0037 Improve P2P test.
Add option to select which device does the copy.


[ROCm/clr commit: 30fce5b3d8]
2016-04-09 04:47:12 -05:00
Ben Sander 7dbdd61088 Remove stray debug msgs, hipInfo don't print self as peer.
[ROCm/clr commit: 715940672c]
2016-04-09 04:35:06 -05:00
Ben Sander b6071f5eca fix bugs in P2P implementation
- addPeers polarity reversed, would never add.
- check allow_access return value, pipe error to hipMalloc.


[ROCm/clr commit: 7ca06d2fb1]
2016-04-09 04:11:31 -05:00
Ben Sander db2e567945 Fix simple P2P test, had device ptrs swapped
[ROCm/clr commit: 2b45fc35cb]
2016-04-08 09:23:02 -05:00
Ben Sander b917b50c56 Use HIP_PATH if set else use relative ../...
[ROCm/clr commit: 90d986ae47]
2016-04-08 02:17:29 -05:00
Ben Sander d98353176b Print peers in hipConfig.
Also include peer APIs in vim hilighting.


[ROCm/clr commit: b1b1db2825]
2016-04-08 02:15:46 -05:00
Ben Sander 10d8142b58 Add simple P2P test
[ROCm/clr commit: 5b37639efb]
2016-04-07 15:51:08 -05:00
Ben Sander 038d8055bc Use HCC get_is_pool, add USE_PEER_TO_PEER level 2, 3.
[ROCm/clr commit: bae62e02dc]
2016-04-07 14:28:42 -05:00
Ben Sander e287933051 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.


[ROCm/clr commit: 288682ccb3]
2016-04-06 16:44:31 -05:00
Ben Sander 6ccb0a5054 P2P checkpoint.
Maintain enabled peer tables for each device.


[ROCm/clr commit: 6a182ce788]
2016-04-06 15:50:47 -05:00
Ben Sander e195900a6e Checkpoint initial peer2peer implementation.
[ROCm/clr commit: db91890f53]
2016-04-06 15:50:47 -05:00
Ben Sander d624c57d39 update proposed release notes
[ROCm/clr commit: e180fa5b72]
2016-04-06 15:50:47 -05:00
Aditya Atluri 7f5a1e310f Corrected corner cases
[ROCm/clr commit: a7590e3537]
2016-04-06 14:50:27 -05:00
Aditya Atluri b98fcb7764 Added feature for cross-compilation and seperated hcc api from hip api
[ROCm/clr commit: 39f27984a8]
2016-04-06 14:18:51 -05:00
Maneesh Gupta c5f7a869a1 Remove deprecated KERNELBEGIN and KERNELEND from bit_extract sample
[ROCm/clr commit: 00be8a1300]
2016-04-04 14:47:02 +05:30
Maneesh Gupta 533c8f6206 Enable directed tests to build HIP locally via cmake option
[ROCm/clr commit: fdfedbd60f]
2016-04-04 13:53:24 +05:30
Maneesh Gupta b57a484d07 Add c++abi to linker options for HCC
[ROCm/clr commit: 7aad3bab84]
2016-04-02 22:32:05 +05:30
Maneesh Gupta 3ad342bc06 Update documentation for building and installing hip_hcc
[ROCm/clr commit: b6cde80678]
2016-04-01 16:15:38 +05:30
Maneesh Gupta a31f0e7c07 Initial (non-default) support for shared library HIP
[ROCm/clr commit: a8879638b6]
2016-04-01 16:08:49 +05:30
Maneesh Gupta c2528bdb57 Revert "Initial (non-default) support for shared library HIP"
This reverts commit 8ee3248856.


[ROCm/clr commit: a11725cced]
2016-04-01 16:07:07 +05:30
Maneesh Gupta 8ee3248856 Initial (non-default) support for shared library HIP
[ROCm/clr commit: 1c722fa431]
2016-04-01 15:45:32 +05:30
Maneesh Gupta 6e5887b8a7 Change HCC_DIR -> HCC_HOME, HSA_DIR -> HSA_PATH and HIP_INSTALL_PATH -> CMAKE_INSTALL_PREFIX
[ROCm/clr commit: fdcfd3d8f9]
2016-04-01 13:48:37 +05:30
Maneesh Gupta 73661e75a2 Fix path comparison for install components in cmake
[ROCm/clr commit: 97f8fd7a8a]
2016-04-01 12:13:22 +05:30
Aditya Atluri 82f3f1be67 added device math functions
[ROCm/clr commit: c2d04ba59c]
2016-03-31 12:29:19 -05:00
Aditya Atluri 3a4925e93f Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/clr commit: 22256ea2b6]
2016-03-31 04:45:23 -05:00
Maneesh Gupta 0cd72a6fd2 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/clr commit: 2064d05ffc]
2016-03-31 21:16:39 +05:30
Maneesh Gupta 28bae8606a Cleaned up cmake
[ROCm/clr commit: df5b746cde]
2016-03-31 17:42:29 +05:30
Aditya Atluri 522382140d moved cpp specific device code from headers to source
[ROCm/clr commit: 48b8b426d5]
2016-03-31 04:45:00 -05:00
Aditya Atluri 7b8ec8fa6d Added directory for stress testing
[ROCm/clr commit: 8d406b68d8]
2016-03-31 02:14:12 -05:00
Aditya Atluri b7a79b9226 Fixed failing tests
[ROCm/clr commit: ed17e3489e]
2016-03-30 13:00:44 -05:00
Aditya Atluri 19763f8f1e Revert to multiple output files than single .a lib
[ROCm/clr commit: b2b3eec95c]
2016-03-30 07:54:18 -05:00
Aditya Atluri 266a91d241 C guarding the apis
[ROCm/clr commit: c4d93cf3db]
2016-03-30 06:08:50 -05:00
Aditya Atluri 63c93f2f66 Moved flag to hip_runtime.h
[ROCm/clr commit: e476d4e8f0]
2016-03-30 03:32:39 -05:00
Maneesh Gupta 5222e17785 Implement more complex HCC, HSA directory selection logic
[ROCm/clr commit: 80b176d540]
2016-03-30 13:58:38 +05:30
Aditya Atluri 7fbdb9fd5c Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/clr commit: 00bf37d28d]
2016-03-29 11:18:09 -05:00
Ben Sander b8f2f4c45c rename to hipMultiThreadDevice for consistency
[ROCm/clr commit: 3b1cd2d626]
2016-03-29 17:33:29 -05:00
Ben Sander 875a8a2c84 Test improvements
- partition hipThreadSafeDevice into smaller pieces.
- Add debug to hipMultiThreadStream.
- print more precision when mismatch detected.
- enable more tests in CMakeFiles.txt.


[ROCm/clr commit: 98a766ba75]
2016-03-29 17:29:31 -05:00
Ben Sander f1295bc03d Inline some new string functions.
[ROCm/clr commit: e7b15a53da]
2016-03-29 17:28:27 -05:00
Ben Sander 36f2f683db Add runtime switch to control HIP_ATP_MARKER
Only generate the function strings if requested at
compile-time && runtime.


[ROCm/clr commit: e22925be22]
2016-03-29 17:27:30 -05:00
Ben Sander 829fee518f include codexl marker path, if found
[ROCm/clr commit: 57783aad2d]
2016-03-29 17:26:44 -05:00
Ben Sander e5ac79daca Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/clr commit: de3391637f]
2016-03-29 17:12:36 -05:00
Ben Sander d4660e232d Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/clr commit: 03c0fcbfec]
2016-03-29 14:43:35 -05:00
Aditya Atluri 0e82685f85 Update README.md
[ROCm/clr commit: ae2b136bfe]
2016-03-29 14:23:41 -05:00
Aditya Atluri 5cd8dc9f45 Update README.md
[ROCm/clr commit: 573d331ab8]
2016-03-29 14:11:10 -05:00
Aditya Atluri 98f1e31c9b Calling intrinsics from global kernel
[ROCm/clr commit: 3b3db60c25]
2016-03-29 11:17:55 -05:00
Aditya Atluri b22b03fba3 added host flags to hipDeviceBody test
[ROCm/clr commit: e652426715]
2016-03-29 09:27:57 -05:00
Aditya Atluri f17131c0d4 Added tests for running device code from a difference source file
[ROCm/clr commit: 4320e5c574]
2016-03-29 09:22:31 -05:00
Ben Sander d6a2f89b21 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
Conflicts:
	include/hcc_detail/trace_helper.h


[ROCm/clr commit: ba114a238f]
2016-03-29 05:56:03 -05:00
Aditya Atluri 98e2f833b2 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/clr commit: 73ecbf5c95]
2016-03-29 02:28:20 -05:00