Graf Tiomantas

199 Tiomáintí

Údar SHA1 Teachtaireacht Dáta
Aditya Atluri 657a1222d7 added erfinv software implementation
Change-Id: Ib1a5584f6c81ab3afa70f7bcbfd7780e156454e3


[ROCm/clr commit: 720fa16355]
2016-06-14 00:09:41 -04:00
Maneesh Gupta 449f868019 Merge "Added more device functions" into amd-master
[ROCm/clr commit: 102b424ca9]
2016-06-12 23:51:02 -04:00
Maneesh Gupta ef0fdcc0a0 Merge "added test for float device functions c6dfb0" into amd-master
[ROCm/clr commit: fc4b55f516]
2016-06-12 23:50:57 -04:00
Aditya Atluri d94fa903bf Added more device functions
1. Added copyright for device float test
2. Added device double functions support
3. Added device double functions test
4. Corrected device function signatures in headers

Change-Id: I13c8829682c925992f5cad84062bc9f702fe4048


[ROCm/clr commit: c7462bd524]
2016-06-10 09:46:31 -05:00
Aditya Atluri ee25c64d49 added test for float device functions c6dfb0
Change-Id: I792a68610c6cfa54d6eee633c8605197bd4d2792


[ROCm/clr commit: 98f02106ef]
2016-06-10 09:03:43 -05:00
7SK e58e29b784 fix_testcase
Change-Id: I878e79ac29b685672662db6ba8cd8d94d725d24f


[ROCm/clr commit: 0201bf8191]
2016-06-10 06:23:02 -04:00
7SK 2c5530e9f2 fix_ldg
Change-Id: I53de5fa91b4f57d496ffe46787d197ae84dde4a4


[ROCm/clr commit: fda049fa5f]
2016-06-09 16:56:05 -04:00
Jack Chung c12b4d931d Squashed commit of the following:
commit 9548493fa754b3bf5c31cbdc2211db1e73e8c07c
Author: Jack Chung <whchung@gmail.com>
Date:   Mon May 23 11:57:23 2016 +0800

    Rename hipExternShared test to hipDynamicShared

    Change-Id: I180d9d539420fb69cfc121eceaa7db9da03483b2

commit 827081f8244a38f010789d556db0c4ff7b6422d8
Author: Jack Chung <whchung@gmail.com>
Date:   Mon May 23 11:56:27 2016 +0800

    Rename HIP_DECLARE_EXTERN_SHARED to HIP_DYNAMIC_SHARED

    Change-Id: I22362d179812ac547e0f11ba4e2bb999050e08ae

commit 4c277228ed41af187739610fa17eab1fb144c947
Author: Jack Chung <whchung@gmail.com>
Date:   Thu May 19 17:49:52 2016 +0800

    Adopt new interface to get dynamic LDS in hc.hpp

    Change-Id: I47b433b714633a4c97df87c40a0b1d3386429a00

commit 5a36117d777064113a528dc47b42e8c8413baa97
Author: Jack Chung <whchung@gmail.com>
Date:   Thu May 19 11:29:24 2016 +0800

    Add test patterns for regular expression to match "extern __shared__"

    These test patterns should better be saved as an individual test case, but I'm
    not familiar with HIP test structures so I leave them as comments in hipify as
    of now.

    Change-Id: I7fee89c89b9e73de2133357a226ec0c769733531

commit 1b26284168c7f5339f63338fd0149bed5d994656
Author: Jack Chung <whchung@gmail.com>
Date:   Thu May 19 11:25:23 2016 +0800

    Add one HIP unit test to use HIP_DECLARE_EXTERN_SHARED

    Change-Id: I4d9907815920693a74ea9d575fe26e7c67636109

commit 77b816ee5972b13d829d5bbcf06fbfd07acea2af
Author: Jack Chung <whchung@gmail.com>
Date:   Wed May 18 19:18:59 2016 +0800

    Adopt HIP_ prefix for DECLARE_EXTERN_SHARED macro

    Change-Id: I555ded16b449b67d2e20904013d86fe1ded6a2be

commit ef0997939c3578a9ae11621bf21c0416f04d2622
Author: Jack Chung <whchung@gmail.com>
Date:   Wed May 18 17:42:04 2016 +0800

    Modify hipify to support converting extern __shared__ to DECLARE_EXTERN_SHARED macro

    Added regular expression to search & replace extern __shared__ declarations to
    DECLARE_EXTERN_SHARED macro.

    Limitation:
    - Won't work if "extern __shared__" is declared at global scope

    Sample Usages:
    extern __shared__ double foo[];
    extern __shared__ unsigned int foo[];
    extern volatile __shared__ double foo[];
    extern volatile __shared__ unsigned int sdata[];
    extern __shared__ volatile unsigned int sdata[];
    extern __shared__ T s[];
    extern __shared__ T::type s[];
    extern __shared__ blah<T>::type s[];
    extern __shared__ typename mapper<Float>::type s_data[];
    extern __attribute__((used)) __shared__ typename mapper<Float>::type s_data[];

    Change-Id: I2be0b7039adeddb789f5a2b067d403a43fdc3e26

commit 93ff268724493aedfacdcd5a5aa9a100f4ebaed0
Author: Jack Chung <whchung@gmail.com>
Date:   Wed May 18 15:13:09 2016 +0800

    Introduce DECLARE_EXTERN_SHARED macro to encapsulate "extern __shared__" decls

    Change-Id: I93b2d37c763195b0ca9fd0afee78605a1e3272db

commit cff9c95412de343cc6405158b5acc4f1029267ff
Author: Jack Chung <whchung@gmail.com>
Date:   Wed May 18 12:53:54 2016 +0800

    Add __get_dynamic_groupbaseptr() to point to dynamic LDS

    Change-Id: I97b548d8a691488057617c551a8f331cad7afc77

Change-Id: I84e7875b76fa1f59e860e19c93bd4209cdd1fd2c


[ROCm/clr commit: 65448e74ed]
2016-06-05 06:20:44 -04:00
Maneesh Gupta 6c993e0450 Disable failing/unsupported test cases on nvcc platform
Change-Id: Iad00db3dd1663303c43eed81d26be76b3fb1ba85


[ROCm/clr commit: f7cf463cb4]
2016-05-20 12:30:37 +05:30
Maneesh Gupta 7011db5ef8 Link against libc++ only on hcc platform
Change-Id: I93569a5b8a9910dca0c88408cbe54fbb32384fcf


[ROCm/clr commit: 29e61560c0]
2016-05-20 12:24:54 +05:30
Rahul Garg 6208379714 Support for Atomic inc and dec in HIP
Change-Id: I783e4917cece5cc379894f0d293382315fbfa8b0


[ROCm/clr commit: 8c11c333e2]
2016-05-12 11:10:48 +05:30
Ben Sander e6ec2439ec Link test with libc++
[ROCm/clr commit: 8cce8dbe61]
2016-05-02 23:38:43 -05:00
Ben Sander ef3273c1b1 add make_hip_executable_libcpp
[ROCm/clr commit: c79dad8000]
2016-05-02 23:32:52 -05:00
Ben Sander eaf4e4a0ee PASS with warning if not enough GPUs detected.
[ROCm/clr commit: a398cd4cda]
2016-05-02 13:37:14 -05:00
Ben Sander 7f90e11724 Explicitly include <string>
[ROCm/clr commit: aea31ad4e1]
2016-05-02 12:49:53 -05:00
Ben Sander f5819ddcd5 enable hipHostRegister
[ROCm/clr commit: 9e36ee9b95]
2016-04-28 17:54:03 -05:00
Aditya Atluri 7cce632f3e added hcc workweek to ldg test
[ROCm/clr commit: 456be2af9c]
2016-04-22 09:25:09 -05:00
Maneesh Gupta 1290a35ba1 Revert "added full data type support for __ldg"
This reverts commit 23a91cd8aa.

Conflicts:
	include/hcc_detail/hip_ldg.h


[ROCm/clr commit: 091ec702a2]
2016-04-22 11:12:00 +05:30
Maneesh Gupta 03014e8a1d Merge branch 'release_0.84.00' into privatestaging
Conflicts:
	include/hcc_detail/hip_runtime.h
	src/hip_hcc.cpp


[ROCm/clr commit: 02e6fc27f4]
2016-04-22 10:55:58 +05:30
Aditya Atluri b426b5b8b6 reorg make_datatype feature
[ROCm/clr commit: 48f3762160]
2016-04-21 14:51:19 -05:00
Aditya Atluri 23a91cd8aa added full data type support for __ldg
[ROCm/clr commit: 3aac6d45ad]
2016-04-21 11:17:26 -05:00
Aditya Atluri 7f21840dc8 added support pinned dma memcpy between host and device
[ROCm/clr commit: 620c5c64e6]
2016-04-20 14:21:22 -05:00
Aditya Atluri b857720440 added support for __ldg
[ROCm/clr commit: b493eac7e0]
2016-04-20 12:25:40 -05:00
Ben Sander 5a8656b418 build hipHostRegister but dont run it
[ROCm/clr commit: 3c7a52971e]
2016-04-19 11:56:12 -05:00
Ben Sander 57a4505e77 Fixes for P2P and hipDeviceReset
- devicereset would lose track of default stream and thus subsequent
  synchronization calls might not actually sychronize.
- Also deviceReset now correctly frees streams.
- fix waits in P2P staging copy - first phase (Device0-to-Staging) must
  wait for second phase (Staging to Device1) to finish draining the
  buffer.


[ROCm/clr commit: 6abfa13c34]
2016-04-18 20:49:33 -05:00
Ben Sander 66a6cca54d test update
[ROCm/clr commit: 3301deb07c]
2016-04-17 07:54:39 -05:00
Ben Sander dd323f5e31 Merge branch 'privatestaging' into p2p
Conflicts:
	include/hcc_detail/hip_hcc.h
	src/hip_hcc.cpp


[ROCm/clr commit: 8d26dfcde3]
2016-04-17 06:46:52 -05:00
Aditya Atluri e71db391ab added memcpy and p2p test
[ROCm/clr commit: e22a910ccc]
2016-04-16 17:38:06 -05:00
Ben Sander 942509d66e P2P Update.
- add P2P staging buffer copy.
- If copy device does not have sufficient access permissions, fall back
  to staging buffer.
- improve docs for which copy device is used.


[ROCm/clr commit: c3bd85595d]
2016-04-16 10:18:56 -05:00
streamhsa 419d46f901 Add __ldg
[ROCm/clr commit: 0426564a7b]
2016-04-16 21:12:09 +08:00
Maneesh Gupta 5fcc692086 Remove some stale workweek references
[ROCm/clr commit: ca26f36ef2]
2016-04-16 14:48:05 +05:30
Aditya Atluri a9401cba2e improved error returns for hipHostRegister/UnRegister functions
[ROCm/clr commit: e8902a6e20]
2016-04-15 10:42:31 -05:00
Aditya Atluri 6ee096fbfc added hipHostRegister/UnRegister api
[ROCm/clr commit: 109154f03f]
2016-04-15 10:08:10 -05:00
Maneesh Gupta 1293709fc0 Replace /opt/hcc -> /opt/rocm/hcc and /opt/hsa -> /opt/rocm/hsa
[ROCm/clr commit: cf4c3b0913]
2016-04-15 12:56:31 +05:30
Ben Sander 76c49bbaf4 Clean up disable.
Add USE_HCC_LOCK (disabled)
Disable USE_PEER_TO_PEER.


[ROCm/clr commit: efffb0ed86]
2016-04-11 09:09:36 -05:00
Ben Sander f177c8805e add simple negative P2P tests
[ROCm/clr commit: 1acd16eb5d]
2016-04-11 07:58:59 -05:00
Ben Sander 025938b1de P2p checkpoint.
- set USE_PEER_TO_PEER=3 (requires HCC "am_memtracker_update_peers")
- when enabling peer, turn it on for previously allocated memory.
- hipDeviceCanAccessPeer is no longer self-ware (self does not qualify
  as a peer)
- device peerlist always includes self, so when we call allow_access
  we never remove self access.
- hipDeviceReset() removes old peer mappings.


[ROCm/clr commit: 9e7efd7c65]
2016-04-11 07:58:59 -05:00
Ben Sander ae8ed57c30 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: b039292a8c]
2016-04-11 07:58:58 -05:00
Ben Sander 2d90324c09 Improve P2P test.
Add option to select which device does the copy.


[ROCm/clr commit: b8e17d52dd]
2016-04-11 07:58:58 -05:00
Ben Sander 8b827357e9 Fix simple P2P test, had device ptrs swapped
[ROCm/clr commit: fcd1d37ff7]
2016-04-11 07:58:58 -05:00
Ben Sander a477e65193 Add simple P2P test
[ROCm/clr commit: e14b2cd9c3]
2016-04-11 07:58:58 -05:00
Aditya Atluri 03eff9ee90 changed c/hip xcompiling source
[ROCm/clr commit: 9f7fb0370c]
2016-04-11 13:26:09 -05:00
Aditya Atluri f381fbb2be added C guard to hip_runtime.h
[ROCm/clr commit: 42df534354]
2016-04-11 13:01:02 -05:00
Aditya Atluri 302c21d2af added hipHostRegister support no multi-gpu
[ROCm/clr commit: 883954fce2]
2016-04-11 10:28:16 -05:00
Aditya Atluri 5a54bbf4d7 added copyrights to experimental/xcompile
[ROCm/clr commit: ea4223c812]
2016-04-09 14:45:39 -05:00
Aditya Atluri aad74ffe88 xcompilation tests
[ROCm/clr commit: 4f5a8759a5]
2016-04-09 14:40:17 -05:00
Maneesh Gupta 863bd7d3a4 Directed tests: make HIP_BUILD_LOCAL as default
[ROCm/clr commit: 7cbe509b49]
2016-04-09 22:05:45 +05:30
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 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 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