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

13222 Коммитов

Автор SHA1 Сообщение Дата
foreman 1bf495769d P4 to Git Change 1278058 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/06/09 03:00:11
SWDEV-2 - Change OpenCL version number from 2139 to 2140.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1886 edit
2016-06-09 03:05:22 -04:00
Maneesh Gupta e2614e125f Merge branch 'amd-master' into privatestaging 2016-06-08 22:01:13 +05:30
Maneesh Gupta 63b7a3fc65 Merge branch 'amd-master' into privatestaging 2016-06-08 21:42:15 +05:30
Maneesh Gupta e797253165 Merge branch 'release_0.86.00' into amd-master
Change-Id: I13c51e8ba1f98203d7419df23fa1d3a71890373d
2016-06-08 15:00:32 +05:30
foreman ff7a43814b P4 to Git Change 1277565 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/06/08 03:00:10
SWDEV-2 - Change OpenCL version number from 2138 to 2139.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1885 edit
2016-06-08 03:18:58 -04:00
Maneesh Gupta cce19ad99a Merge "Squashed commit of the following:" into amd-master 2016-06-07 12:52:21 -04:00
Maneesh Gupta db050f19aa Fix RELEASE.md 2016-06-07 22:18:18 +05:30
foreman af51c1687b P4 to Git Change 1277012 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/06/07 03:00:44
SWDEV-2 - Change OpenCL version number from 2137 to 2138.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1884 edit
2016-06-07 03:13:17 -04:00
Maneesh Gupta 6bcc56052f Updated release notes
Change-Id: Ied90c54683dd96ac9fb0c3039a94aea5e4aa11c6
2016-06-06 21:52:13 +05:30
Maneesh Gupta c24152a16b Updated doxygen documentation
Change-Id: Idec4b7b811a441c9a792aa205286352f243945f0
2016-06-06 21:48:40 +05:30
foreman a0d9fe3c69 P4 to Git Change 1276546 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/06/06 03:00:09
SWDEV-2 - Change OpenCL version number from 2136 to 2137.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1883 edit
2016-06-06 03:16:24 -04:00
Maneesh Gupta b35fa83c47 Use cpu agent when using staging buffer
Change-Id: I195a8137e86f2752681d6ba4dc7ba1b6f654e264
2016-06-06 12:42:44 +05:30
Jack Chung 65448e74ed 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
2016-06-05 06:20:44 -04:00
foreman 6494e2f8e7 P4 to Git Change 1276475 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/06/05 03:00:11
SWDEV-2 - Change OpenCL version number from 2135 to 2136.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1882 edit
2016-06-05 03:13:28 -04:00
foreman ebdad97cb2 P4 to Git Change 1276432 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/06/04 03:00:12
SWDEV-2 - Change OpenCL version number from 2134 to 2135.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1881 edit
2016-06-04 03:15:49 -04:00
foreman a90de181e6 P4 to Git Change 1276106 by jatang@jatang-ocl-lnx2 on 2016/06/03 09:58:44
SWDEV-92067 - Put back full CL#1275679.

	TC has added '//depot/stg/opencl/drivers/opencl/appprofiles/...' to the OpenCL Brahma Builds' client-spec.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/appprofile.cpp#14 edit
2016-06-03 10:12:13 -04:00
foreman 9dffb49ac9 P4 to Git Change 1276039 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/06/03 03:00:11
SWDEV-2 - Change OpenCL version number from 2133 to 2134.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1880 edit
2016-06-03 03:12:56 -04:00
foreman 7493aa03ba P4 to Git Change 1275749 by wchau@wchau_WIN_OCL_HSA on 2016/06/02 13:38:16
SWDEV-89502 - [OCL] Support AMD DVR Core functionalities.  Add OCL support for DOPP for desktop and present texture (OCL RT changes)

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#50 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl_ext.h#11 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#25 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_ext.h#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#316 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#124 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#403 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDeviceGL.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/kernel.hpp#16 edit
2016-06-02 14:36:03 -04:00
foreman 914df5dd52 P4 to Git Change 1275749 by wchau@wchau_WIN_OCL_HSA on 2016/06/02 13:38:16
SWDEV-89502 - [OCL] Support AMD DVR Core functionalities.  Add OCL support for DOPP for desktop and present texture (OCL RT changes)

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#50 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl_ext.h#11 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#25 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_ext.h#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#316 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#124 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#403 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDeviceGL.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/kernel.hpp#16 edit
2016-06-02 14:36:03 -04:00
foreman 610ee40c74 P4 to Git Change 1275745 by gujin@gujin-sc-win on 2016/06/02 13:34:16
SWDEV-76911 - Set output pipeline of multi-shader compilation in the same way driver sets. Fill output shader pointers only if they will be generated based on the input shaders, otherwise NULL.

	ReviewBoardURL = http://dxreview.amd.com/r/20059/

Affected files ...

... //depot/stg/sc/Src/Dev/TestEngine.cpp#512 edit
2016-06-02 14:26:40 -04:00
foreman 436ca8ad4d P4 to Git Change 1275745 by gujin@gujin-sc-win on 2016/06/02 13:34:16
SWDEV-76911 - Set output pipeline of multi-shader compilation in the same way driver sets. Fill output shader pointers only if they will be generated based on the input shaders, otherwise NULL.

	ReviewBoardURL = http://dxreview.amd.com/r/20059/

Affected files ...

... //depot/stg/sc/Src/Dev/TestEngine.cpp#512 edit
2016-06-02 14:26:40 -04:00
foreman d65b1ec47f P4 to Git Change 1275749 by wchau@wchau_WIN_OCL_HSA on 2016/06/02 13:38:16
SWDEV-89502 - [OCL] Support AMD DVR Core functionalities.  Add OCL support for DOPP for desktop and present texture (OCL RT changes)

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#50 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl_ext.h#11 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#25 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_ext.h#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#316 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#124 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#403 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDeviceGL.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/kernel.hpp#16 edit
2016-06-02 14:15:36 -04:00
foreman 7acdb2390f P4 to Git Change 1275749 by wchau@wchau_WIN_OCL_HSA on 2016/06/02 13:38:16
SWDEV-89502 - [OCL] Support AMD DVR Core functionalities.  Add OCL support for DOPP for desktop and present texture (OCL RT changes)

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#50 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl_ext.h#11 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#25 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_ext.h#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#316 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#124 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#403 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDeviceGL.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/kernel.hpp#16 edit
2016-06-02 14:15:36 -04:00
foreman c832457838 P4 to Git Change 1275710 by jatang@jatang-ocl-lnx2 on 2016/06/02 12:29:18
SWDEV-92067 - Revert part of CL#1275679 for now, to fix TC OpenCL Brahma build.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/appprofile.cpp#13 edit
2016-06-02 12:47:40 -05:00
foreman 428dfba879 P4 to Git Change 1275679 by jatang@jatang-ocl-lnx2 on 2016/06/02 11:53:13
SWDEV-92067 - Support app profiles on Brahma.

	The Brahma kernel driver does not support parsing the app profile blob files, and does not have ADL. OGL has a library that reads and parses the blob file directly. This CL imports the OGL library into OCL runtime.

Affected files ...

... //depot/stg/opencl/drivers/opencl/appprofiles/brahma/apl.cpp#1 add
... //depot/stg/opencl/drivers/opencl/appprofiles/brahma/apl.hpp#1 add
... //depot/stg/opencl/drivers/opencl/appprofiles/brahma/aplexport.cpp#1 add
... //depot/stg/opencl/drivers/opencl/appprofiles/brahma/structanddefines.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/build/Makefile.runtime#63 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/appprofile.cpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/appprofile.hpp#9 edit
2016-06-02 13:36:39 -04:00
foreman abe1a9f942 P4 to Git Change 1275519 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/06/02 03:00:10
SWDEV-2 - Change OpenCL version number from 2132 to 2133.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1879 edit
2016-06-02 03:09:42 -04:00
foreman b90237baa1 P4 to Git Change 1275103 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/06/01 03:00:11
SWDEV-2 - Change OpenCL version number from 2131 to 2132.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1878 edit
2016-06-01 03:09:31 -04:00
foreman bb3678a080 P4 to Git Change 1274956 by gandryey@gera-w8 on 2016/05/31 17:12:40
SWDEV-86035 - Add PAL backend to OpenCL
	- Fix imagebuffer and SRGB failures in Conformance 2.0. The new PAL is required for all imagebuffer formats.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#5 edit
2016-05-31 17:46:13 -04:00
foreman c87a217105 P4 to Git Change 1274573 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/05/31 03:00:10
SWDEV-2 - Change OpenCL version number from 2130 to 2131.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1877 edit
2016-05-31 03:08:20 -04:00
foreman b285997a51 P4 to Git Change 1274398 by ashi1@ashi1_win50 on 2016/05/30 13:52:02
SWDEV-95212 - Define SC_CLIENT_INTERFACE_MAJOR_VERSION at more locations.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/build/Makefile.gpu#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/complibdefs#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/complibdefs#47 edit
... //depot/stg/opencl/drivers/opencl/compiler/sc/Interface/SCInterface.h#10 edit
... //depot/stg/opencl/drivers/opencl/compiler/sclibdefs.opencl#10 edit
... //depot/stg/opencl/drivers/opencl/opencldefs#170 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/build/Makefile.gpu#66 edit
2016-05-30 14:05:30 -04:00
foreman 63118b2740 P4 to Git Change 1274233 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/05/30 03:00:10
SWDEV-2 - Change OpenCL version number from 2129 to 2130.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1876 edit
2016-05-30 03:09:53 -04:00
foreman 9456725e52 P4 to Git Change 1274149 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/05/29 03:00:11
SWDEV-2 - Change OpenCL version number from 2128 to 2129.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1875 edit
2016-05-29 03:10:20 -04:00
foreman acee9c2e2c P4 to Git Change 1274130 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/05/28 03:00:09
SWDEV-2 - Change OpenCL version number from 2127 to 2128.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1874 edit
2016-05-28 03:10:46 -04:00
foreman 9cbc946a1d P4 to Git Change 1274105 by gandryey@gera-w8 on 2016/05/27 19:02:25
SWDEV-95095 - Bristol Ridge parts report their OpenCL device ID name as "Carrizo"
	- Detect the ASIC revision for the name swap with Bristo Ridgel instead of Carrizo

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpucompiler.cpp#154 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#548 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#168 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/backend.h#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#2 edit
2016-05-27 19:13:26 -04:00
foreman 23ec683890 P4 to Git Change 1273995 by gandryey@gera-ocl on 2016/05/27 16:13:11
SWDEV-79445 - Fix a TC regression after CL#1273440
	- Add the both conditions to the restrictions: sorce and destination alignment

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#167 edit
2016-05-27 16:23:49 -04:00
foreman 95bb95fdea P4 to Git Change 1273850 by smekhano@stas-rampitec-hsa on 2016/05/27 12:10:58
SWDEV-85602 - HSA HLC: remove gblobal variable HLC_Max_WG_Size and pass info as an option

	Testing: smoke, precheckin
	Reviewed by Evgeny Mankov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#147 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#94 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILISelLowering.cpp#117 edit
2016-05-27 12:25:43 -04:00
foreman d9cea8af16 P4 to Git Change 1273675 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/05/27 03:00:13
SWDEV-2 - Change OpenCL version number from 2126 to 2127.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1873 edit
2016-05-27 03:07:52 -04:00
foreman 624f331317 P4 to Git Change 1273526 by gandryey@gera-w8 on 2016/05/26 16:39:29
SWDEV-94881 - [OpenCL]increasing the size limit of image buffer to 2^27 which is for the moment at 65536

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#136 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#3 edit
2016-05-26 16:52:31 -04:00
foreman 712c0c4009 P4 to Git Change 1273450 by smekhano@stas-rampitec-hsa on 2016/05/26 14:04:49
SWDEV-93545 - HSA HLC: target option interface between complib and BE and denorm control refactoring

	Global variables and associated options to control target GPU for optimizations and fp32 denorm support are removed.
	Instead standard llvm -mcpu=<cpu> is used to pass chip family name and fp32 denorm is turned into a subtarget feature.
	Subtarget feature can be set for llc as standard -mattr=+fp32-denormals and corresponding code to pass feature string
	to the BE is added to the compiler lib, mimicing what we used to have for AMDIL.

	Device name HSAIL metadata will now reflect an actual GPU family passed to the HSAIL BE instead of "generic".

	Denorm support can be switched on as a feature bit in the target mapping. It is on starting from VI. However, just
	switching this bit for a family will not produce denorm supporting code. The option -cl-denorms-are-zero can be used
	to override this and runtime passes it for configs where CL_FP_DENORM is not reported.

	Currently CL_FP_DENORM is not reported for any device, however it can be changed with AMD_GPU_FORCE_SINGLE_FP_DENORM
	environment variable. If set it will be honored only starting from VI as set in the target mapping.

	Implemented isFMAFasterThanFMulAndFAdd to handle use of v_fma_f32 on GFX9 instead of a direct chip family check.

	Testing: smoke, precheckin
	Reviewed by Evgeny Mankov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/codegen.cpp#70 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#146 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/opt_level.cpp#30 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#27 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#42 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#32 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#27 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/BRIGAsmPrinter.cpp#155 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/BRIGAsmPrinter.h#69 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAIL.td#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILISelDAGToDAG.cpp#71 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILISelLowering.cpp#116 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILISelLowering.h#29 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILInstrInfo.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILInstrInfo.h#18 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILInstructions.td#22 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILKernelManager.cpp#55 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILSubtarget.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILSubtarget.h#15 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILTargetMachine.cpp#57 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/bin/test_driver.pl#29 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/tlst/llc_opt.tlst#97 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/tlst/ocl_features.tlst#58 edit
2016-05-26 14:22:33 -04:00
foreman 24b23e3f72 P4 to Git Change 1273440 by gandryey@gera-w8 on 2016/05/26 13:48:57
SWDEV-94161 - [Adobe Photoshop] TDR is observed while applying Blur effect on the selected portion of an Image
	- Restore back the original condition for SDMA restriction (CL#1195487). The root cause wasn't identified and probably somewhere in GSL, since PAL backend works fine.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#166 edit
2016-05-26 13:08:47 -05:00
foreman 1161118bc3 P4 to Git Change 1273413 by smekhano@stas-nova-hsa on 2016/05/26 12:52:54
SWDEV-85602 - HSA HLC: serialize linking
	Since we do not have build referenced symbol map now during linking we do not have to keep all library modules
	in memory during the whole link process. This change serializes linking to save some memory.

	Testing: smoke, precheckin
	Reviewed by Evgeny Mankov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#145 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/include/AMDResolveLinker.h#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/lib/AMDResolveLinker.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/tools/opencl-link/opencl-link.cpp#7 edit
2016-05-26 13:01:51 -04:00
foreman 06ef7ffe6e P4 to Git Change 1273236 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/05/26 03:00:10
SWDEV-2 - Change OpenCL version number from 2125 to 2126.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1872 edit
2016-05-26 03:16:26 -04:00
Maneesh Gupta 6da4ac8dcb Move hipify-clang info to its own README
Squashed commit of the following:

commit bc44bcee461e46b0cf5cb9fe09213dca450b081a
Author: Daniil Fukalov <daniil.fukalov@amd.com>
Date:   Mon May 16 20:50:05 2016 +0300

    added note about errors without CUDA sdk installed

commit 5fd73ba90c0940bdc977737894362a99f4232b56
Author: Daniil Fukalov <daniil.fukalov@amd.com>
Date:   Mon May 16 20:31:47 2016 +0300

    move clang-hipify info to its own README

commit 21d81a6d5acd3f093d77ac4d584e6f5bbe48f8cc
Author: Daniil Fukalov <daniil.fukalov@amd.com>
Date:   Mon May 16 20:30:00 2016 +0300

    initial version

Change-Id: I157294699a7be3d0bb38b2ee4a137a94280529c9
2016-05-26 12:40:19 +05:30
Maneesh Gupta 399e39aa1c Merge "Move hipify-clang info to its own README" into amd-master 2016-05-26 00:51:40 -04:00
foreman 112e68f217 P4 to Git Change 1272761 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/05/25 03:00:11
SWDEV-2 - Change OpenCL version number from 2124 to 2125.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1871 edit
2016-05-25 03:14:51 -04:00
foreman 4c47086ac4 P4 to Git Change 1272517 by gandryey@gera-w8 on 2016/05/24 15:54:08
SWDEV-94524 - [OCL] Call to clBuildProgram crashes amdocl64.dll
	- Detect offline device and return a fake srd handle. Compiler must reload binary for a specific device in order for the binary to have proper functionality

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#226 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#5 edit
2016-05-24 15:00:34 -05:00
Rahul Garg 21930a9372 Merge "Update in clock function" into amd-master 2016-05-24 10:15:12 -04:00
Maneesh Gupta be0d44bd74 Move hipify-clang info to its own README
Squashed commit of the following:

commit bc44bcee461e46b0cf5cb9fe09213dca450b081a
Author: Daniil Fukalov <daniil.fukalov@amd.com>
Date:   Mon May 16 20:50:05 2016 +0300

    added note about errors without CUDA sdk installed

commit 5fd73ba90c0940bdc977737894362a99f4232b56
Author: Daniil Fukalov <daniil.fukalov@amd.com>
Date:   Mon May 16 20:31:47 2016 +0300

    move clang-hipify info to its own README

commit 21d81a6d5acd3f093d77ac4d584e6f5bbe48f8cc
Author: Daniil Fukalov <daniil.fukalov@amd.com>
Date:   Mon May 16 20:30:00 2016 +0300

    initial version

Change-Id: I157294699a7be3d0bb38b2ee4a137a94280529c9
2016-05-24 12:45:25 +05:30
foreman fa72df789b P4 to Git Change 1272193 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/05/24 03:00:13
SWDEV-2 - Change OpenCL version number from 2123 to 2124.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1870 edit
2016-05-24 03:10:32 -04:00
foreman a10cfef5e7 P4 to Git Change 1272070 by smekhano@stas-nova-hsa on 2016/05/23 14:39:45
SWDEV-85602 - switch to use of linkonce_odr for library and obsolete linkWithModule patches

	The linkonce_odr linkage is set to any non-local functions in the library during library build.

	Libraries are linked left to right and never back resolved. For that reason clp on the fly library
	is moved to the end of the library list. Otherwise by the time clp would like to use the scalar version
	of a builtin function for vector expansion this scalar function will not be available anymore.

	With the linkonce_odr linkage the linker includes any referenced function from a linked in module.
	That is true even for unused declarations. Therefor after every module my new code drops all unused
	declarations from the composite. If we do not do it a wrapper library such as builtins-hsail would
	reference all symbols from the wrapping library such as ocml and the wrapping library would be linked in
	almost as a whole. Dropping unused declarations solves it.

	Testing: smoke, pecheckin, conformance 2.0 with and w/o optimization
	Reviewed by Nikolay Haustov, Daniil Fukalov and Evgeny Mankov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#144 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.hpp#17 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/include/AMDResolveLinker.h#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/lib/AMDResolveLinker.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/tools/opencl-link/opencl-link.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/Linker/Linker.h#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Linker/LinkModules.cpp#51 edit
... //depot/stg/opencl/drivers/opencl/library/x86/common/src/amdrt/build/Makefile.amdrt#24 edit
... //depot/stg/opencl/drivers/opencl/opencldefs#169 edit
2016-05-23 14:45:13 -04:00