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

68 Коммитов

Автор SHA1 Сообщение Дата
Maneesh Gupta cfd8b8f0c4 Fix using ATP markers
Change-Id: If2d04f80b580237426c569737551e2001a8cd35a


[ROCm/hip commit: b23fad53cc]
2016-07-21 16:02:51 +05:30
Maneesh Gupta b160ff52fc Merge branch 'hiparray' into amd-develop
Change-Id: I63ca7b1db7b593ac5cfb3fd7cd5d08d6e4075a4c


[ROCm/hip commit: 7022986ab2]
2016-07-21 12:29:56 +05:30
Maneesh Gupta 7e95a3a38e Bump HIP version to 0.92.00
Change-Id: I4d653213dcf3ddf7d09d36433afe31e21d17a7ee


[ROCm/hip commit: b25443b96a]
2016-07-21 09:52:08 +05:30
Maneesh Gupta 70136f1017 Handle linker warning correctly
Change-Id: Ifca5886e31b4551603944c2b90a8e532442e889f


[ROCm/hip commit: e15ff6a28e]
2016-07-15 10:40:56 +05:30
Maneesh Gupta 672a05d338 Add specifying ROCm target support to HIP
Change-Id: I42930d8ccf0dafe408ce5bebe2d95f99e544ee8d


[ROCm/hip commit: 1be8097c69]
2016-07-15 10:08:27 +05:30
Maneesh Gupta 9f8bd4b494 Whitespace cleanup in hipcc
Change-Id: I36d32808e9e393df44ffd80b49d09ccf68b5751e


[ROCm/hip commit: fecea08416]
2016-07-13 11:26:03 +05:30
Maneesh Gupta ed40ee2083 Move hip version information to hipconfig
Change-Id: I2892a9eb9356ac5310b89a433d858c1c3eb986ee


[ROCm/hip commit: 3cbbcc30f9]
2016-07-11 16:38:41 +05:30
Aditya Atluri aa0139f89f moved half support to a source file
Change-Id: I7c09b41877e22c1b743dea25a585e5307427dafd


[ROCm/hip commit: 5633cc34cc]
2016-06-30 18:23:29 +05:30
Rahul Garg b77ff1168c Included code to calculate value of maxThreadsPerMultiprocessor property
Change-Id: Ie7cad7442f36a7163e715048de5a309febc28664


[ROCm/hip commit: 3029be78b8]
2016-06-24 15:10:11 +05:30
Maneesh Gupta 6b1e87777c Updated version string
Change-Id: I86695e5deba87ef3a8d390d9a78a88be815dff0e


[ROCm/hip commit: 188326ee64]
2016-06-21 08:39:47 +05:30
Maneesh Gupta 79389cd036 hipcc supports printing HIP version
Change-Id: I9f1cd9a29ded9d354b9ebe265dcd91b060e8fc08


[ROCm/hip commit: 3761c89142]
2016-06-14 14:51:03 +05:30
Jack Chung 32276a63d3 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/hip commit: bf4ba9e09e]
2016-06-05 06:20:44 -04:00
Ben Sander 91f47647dd libstdc++ is default
[ROCm/hip commit: c9b231940a]
2016-05-03 11:14:27 -05:00
Ben Sander 9617816c93 add fallback to libc++
[ROCm/hip commit: d5537f9f95]
2016-05-02 23:50:39 -05:00
Ben Sander 0d8b15274c Merge branch 'privatestaging' into grid_launch
[ROCm/hip commit: 89df2f4e2f]
2016-05-02 18:38:20 -05:00
Ben Sander 82cdf1b35a Use hipconfig to determine platform
[ROCm/hip commit: aeb9556dba]
2016-05-02 11:33:22 -05:00
Ben Sander 27b2ec9cda add hostname
[ROCm/hip commit: 65813a61eb]
2016-04-28 17:41:11 -05:00
Ben Sander 6e21fa88f4 hipcc uses -stdlib=stdlibc++ by default.
hipcc switches to -stdlib=libc++ if user requests it.
hack to disable LDG.


[ROCm/hip commit: bae6462e3b]
2016-04-28 13:17:49 -05:00
Ben Sander 22c5f4733b add hostname
[ROCm/hip commit: 98cd3c04f1]
2016-04-25 15:13:23 -05:00
Maneesh Gupta 90fa90295f Merge branch 'release_0.84.00' into privatestaging
Conflicts:
	include/hcc_detail/hip_runtime.h
	src/hip_hcc.cpp


[ROCm/hip commit: ffdf6ab23b]
2016-04-22 10:55:58 +05:30
Aditya Atluri 15fc041fd6 added support for __ldg
[ROCm/hip commit: 805b268ad4]
2016-04-20 12:25:40 -05:00
Maneesh Gupta b29742d6f8 Prefix HIP includes with hip/
[ROCm/hip commit: bc4f388b69]
2016-04-19 15:02:12 +05:30
Maneesh Gupta 22d7218e18 Handle non-versioned so files being present only in rocm/lib
[ROCm/hip commit: b72b50612b]
2016-04-15 16:20:35 +05:30
Maneesh Gupta 32e35b671d Replace /opt/hcc -> /opt/rocm/hcc and /opt/hsa -> /opt/rocm/hsa
[ROCm/hip commit: 5a31bad821]
2016-04-15 12:56:31 +05:30
Maneesh Gupta 4ee0549d4f Change default HIP installation to /opt/rocm/hip
[ROCm/hip commit: 18af18476b]
2016-04-14 16:36:55 +05:30
Aditya Atluri 40d74c820a added back hc flag
[ROCm/hip commit: 9e7ee4062b]
2016-04-11 13:04:13 -05:00
Aditya Atluri 817cda91ff added C guard to hip_runtime.h
[ROCm/hip commit: d5feabfa1c]
2016-04-11 13:01:02 -05:00
Maneesh Gupta d06cd35623 Fix broken CUDA path in hipcc
[ROCm/hip commit: 1e6b79ea64]
2016-04-07 10:48:16 +05:30
Aditya Atluri 71ef0b9802 Corrected corner cases
[ROCm/hip commit: 3304092b49]
2016-04-06 14:50:27 -05:00
Aditya Atluri cf9cefcb6a Added feature for cross-compilation and seperated hcc api from hip api
[ROCm/hip commit: 1dcdfc93f1]
2016-04-06 14:18:51 -05:00
Maneesh Gupta 812f5b3a97 Add c++abi to linker options for HCC
[ROCm/hip commit: 8e3465f6ae]
2016-04-02 22:32:05 +05:30
Maneesh Gupta 733e0b417e Initial (non-default) support for shared library HIP
[ROCm/hip commit: bad947ae8b]
2016-04-01 16:08:49 +05:30
Aditya Atluri 59e056e3e9 Revert to multiple output files than single .a lib
[ROCm/hip commit: 9de4c04a0a]
2016-03-30 07:54:18 -05:00
Ben Sander 5e3431ecc0 include codexl marker path, if found
[ROCm/hip commit: 2348091b62]
2016-03-29 17:26:44 -05:00
Ben Sander 90eb7e1c4e Improve automated platform detection.
If AMD GPU is installed and detected by driver, default
HIP_PLATFORM to hcc.


[ROCm/hip commit: 373251aca0]
2016-03-25 17:08:34 -05:00
Ben Sander 1868a6c45e report linux distro if possible
[ROCm/hip commit: 814c3d30fc]
2016-03-24 22:12:41 -05:00
Ben Sander 60a2a67d46 Provcide more flexiblity in using HIP_PATH to control installation.
Also improve docs for developers / contributing.


[ROCm/hip commit: f3ad047194]
2016-03-24 13:33:07 -05:00
Ben Sander 19760d3390 Add --hipcc_explicit_lib option
Tells hipcc not to add /opt/hip or -lhip_hcc to command-line
(since it has already been done).


[ROCm/hip commit: eb33395045]
2016-03-24 11:53:33 -05:00
Aditya Atluri e0c6809779 moved variables to headers
[ROCm/hip commit: 7920fd9a47]
2016-03-23 12:59:52 -05:00
Aditya Atluri 4ca4cae3fa WIP added modular feature for device apis
[ROCm/hip commit: 89bfc0e375]
2016-03-23 07:54:01 -05:00
Ben Sander 2313b4b7b5 Only include activity logger if CodeXL installed.
Fix hipHostMalloc in hipBusBandwidth.


[ROCm/hip commit: 3a5f964c4f]
2016-03-22 09:27:10 -05:00
Ben Sander c31a02348b remove unneeded files
[ROCm/hip commit: 7715fe424c]
2016-03-23 03:41:01 -05:00
Ben Sander 82cda5c087 use codexl marker interface to mark HIP function/begin end.
- Creates markers in HIP group and they show up in CodeXL trace
- Marker text includes HIP functioin arguments
- (Add trace_helper to convert arguments to strings)
- Still need to add HIP_INIT_API for ~30 HIP functions.


[ROCm/hip commit: b6b3fea05b]
2016-03-23 01:17:53 -05:00
Ben Sander b319209299 hipHostRegister and hipHostMalloc refactor.
Note hipHostMalloc (not hipHostAlloc or hipMallocHost).
 -  the hipHost* is used for all HIP APIs dealing with Host memory.
    (including hipHostMalloc, hipHostFree, hipHostRegister,
hipHostUnregister, hipHostGetFlags, hipHostGetDevicePointer).
  - hipMallocHost is consistent with "hipMalloc" for allocating device
    memory.  Enumerations hipHostMalloc* also used as optional
    flags parm to hipHostMalloc.


[ROCm/hip commit: ab910efb96]
2016-03-22 02:30:10 -05:00
Aditya Atluri f1b8758919 corrected hipDeviceGetProperties to hipGetDeviceProperties - not docs
[ROCm/hip commit: d3ba2b9782]
2016-03-06 08:31:04 -06:00
Aditya Atluri 8e0fc269d7 Added hipHostAlloc feature for CUDA
[ROCm/hip commit: f479531be5]
2016-03-05 13:58:56 -06:00
Maneesh Gupta 25bc5be377 Fix hipcc from trying to compile object files
[ROCm/hip commit: 5013884d3d]
2016-03-03 09:47:37 +05:30
Ben Sander 02a4720281 add check for hip platform configuration
[ROCm/hip commit: 352c056ea6]
2016-02-28 21:08:53 -06:00
Ben Sander cefe65e24a touchup
[ROCm/hip commit: af22d056e0]
2016-02-28 21:08:53 -06:00
Ben Sander 66d6dbf686 disable rocrv2, properly
[ROCm/hip commit: ea09557e1b]
2016-02-27 03:31:30 -06:00