Commit Graph

74770 Commits

Author SHA1 Message Date
foreman b5d96d7380 P4 to Git Change 1230704 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/25 03:00:14
SWDEV-2 - Change OpenCL version number from 2015 to 2016.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1762 edit


[ROCm/clr commit: e86b145ec2]
2016-01-25 03:15:39 -05:00
foreman e86b145ec2 P4 to Git Change 1230704 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/25 03:00:14
SWDEV-2 - Change OpenCL version number from 2015 to 2016.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1762 edit
2016-01-25 03:15:39 -05:00
foreman cc2dcf196b P4 to Git Change 1230605 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/24 03:00:11
SWDEV-2 - Change OpenCL version number from 2014 to 2015.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1761 edit


[ROCm/clr commit: a31a0abe40]
2016-01-24 03:11:00 -05:00
foreman a31a0abe40 P4 to Git Change 1230605 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/24 03:00:11
SWDEV-2 - Change OpenCL version number from 2014 to 2015.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1761 edit
2016-01-24 03:11:00 -05:00
foreman 0bb205ef0f P4 to Git Change 1230563 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/23 03:00:10
SWDEV-2 - Change OpenCL version number from 2013 to 2014.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1760 edit


[ROCm/clr commit: bf64f1645e]
2016-01-23 03:12:55 -05:00
foreman bf64f1645e P4 to Git Change 1230563 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/23 03:00:10
SWDEV-2 - Change OpenCL version number from 2013 to 2014.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1760 edit
2016-01-23 03:12:55 -05:00
Felix Kuehling 641bfd2cd5 Add simple test for unloading and reloading Thunk
Change-Id: I4ca95dee8a180023d1de5f69161607dd368164de
2016-01-22 18:41:53 -05:00
Felix Kuehling 8ea4e037c8 Add simple test for unloading and reloading Thunk
Change-Id: I4ca95dee8a180023d1de5f69161607dd368164de


[ROCm/ROCR-Runtime commit: 641bfd2cd5]
2016-01-22 18:41:53 -05:00
foreman dd15a594a2 P4 to Git Change 1230521 by gandryey@gera-w8 on 2016/01/22 17:58:08
SWDEV-86035 - Add OCL backend for PAL
	- PAL backend build is disabled by default. "BUILD_PAL_DEVICE = yes" enables the build. You also have to update the client workspace with PAL mapping: //depot/stg/pal/... //<your_opencl_location>/runtime/device/pal/palbe/...

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#130 edit
... //depot/stg/opencl/drivers/opencl/compiler/sclibdefs.opencl#8 edit
... //depot/stg/opencl/drivers/opencl/opencldefs#166 edit
... //depot/stg/opencl/drivers/opencl/openclrules#91 edit
... //depot/stg/opencl/drivers/opencl/runtime/Makefile#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#192 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/Makefile#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/build/Makefile#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/build/Makefile.pal#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palappprofile.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palappprofile.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbinary.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbinary.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palconstbuf.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palconstbuf.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldebugger.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldebugmanager.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldebugmanager.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldeviced3d10.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldeviced3d11.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldeviced3d9.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevicegl.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprintf.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprintf.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsched.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palschedcl.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palthreadtrace.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palthreadtrace.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paltimestamp.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paltimestamp.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paltrap.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palwavelimiter.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palwavelimiter.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/runtimedefs#36 edit
... //depot/stg/opencl/drivers/opencl/runtime/top.hpp#23 edit


[ROCm/clr commit: c99d679c9e]
2016-01-22 18:18:55 -05:00
foreman c99d679c9e P4 to Git Change 1230521 by gandryey@gera-w8 on 2016/01/22 17:58:08
SWDEV-86035 - Add OCL backend for PAL
	- PAL backend build is disabled by default. "BUILD_PAL_DEVICE = yes" enables the build. You also have to update the client workspace with PAL mapping: //depot/stg/pal/... //<your_opencl_location>/runtime/device/pal/palbe/...

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#130 edit
... //depot/stg/opencl/drivers/opencl/compiler/sclibdefs.opencl#8 edit
... //depot/stg/opencl/drivers/opencl/opencldefs#166 edit
... //depot/stg/opencl/drivers/opencl/openclrules#91 edit
... //depot/stg/opencl/drivers/opencl/runtime/Makefile#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#192 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/Makefile#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/build/Makefile#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/build/Makefile.pal#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palappprofile.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palappprofile.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbinary.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbinary.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palconstbuf.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palconstbuf.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldebugger.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldebugmanager.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldebugmanager.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldeviced3d10.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldeviced3d11.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldeviced3d9.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevicegl.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprintf.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprintf.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsched.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palschedcl.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palthreadtrace.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palthreadtrace.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paltimestamp.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paltimestamp.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paltrap.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palwavelimiter.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palwavelimiter.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/runtimedefs#36 edit
... //depot/stg/opencl/drivers/opencl/runtime/top.hpp#23 edit
2016-01-22 18:18:55 -05:00
Felix Kuehling cc7491ec71 Link libhsakmt with -z nodelete
This prevents the library from being unloaded at runtime, even when
dlclose is called. This preserves global variables, such as state
about the SVM address space and avoids catastrophic leaks on dlclose.

Change-Id: I34f1d19a450835200e9d4815458e8d1b3045053c
2016-01-22 18:08:19 -05:00
Felix Kuehling db5b6fd35a Link libhsakmt with -z nodelete
This prevents the library from being unloaded at runtime, even when
dlclose is called. This preserves global variables, such as state
about the SVM address space and avoids catastrophic leaks on dlclose.

Change-Id: I34f1d19a450835200e9d4815458e8d1b3045053c


[ROCm/ROCR-Runtime commit: cc7491ec71]
2016-01-22 18:08:19 -05:00
Amber Lin 7416805a44 Revert "Free resources when dlclose is called"
This reverts commit 582b70f9c3.

Conflicts:
	src/fmm.c
	src/perfctr.c

Change-Id: Ib6113c2dd3962c72100c7f74cdef6897e1df40b3
2016-01-22 17:58:33 -05:00
Amber Lin 07500db1df Revert "Free resources when dlclose is called"
This reverts commit 4dd9dbb128.

Conflicts:
	src/fmm.c
	src/perfctr.c

Change-Id: Ib6113c2dd3962c72100c7f74cdef6897e1df40b3


[ROCm/ROCR-Runtime commit: 7416805a44]
2016-01-22 17:58:33 -05:00
Serguei Sagalovitch f44982a7ca Fixed logic to return data back to user
Change-Id: I324d07c38e8d7eb202d4dccfed6e62006cf9cd29
Signed-off-by: Serguei Sagalovitch <Serguei.Sagalovitch@amd.com>
2016-01-22 14:49:18 -05:00
Serguei Sagalovitch f5bebcf875 Fixed logic to return data back to user
Change-Id: I324d07c38e8d7eb202d4dccfed6e62006cf9cd29
Signed-off-by: Serguei Sagalovitch <Serguei.Sagalovitch@amd.com>


[ROCm/ROCR-Runtime commit: f44982a7ca]
2016-01-22 14:49:18 -05:00
foreman 1a277f5c3c P4 to Git Change 1230222 by bwicakso@opencl-hsa-stg-bwicakso on 2016/01/22 12:13:26
SWDEV-82353 - Enable local memory by default on oclhsa
	Test: tc precheckin http://ocltc.amd.com:8111/viewLog.html?buildId=14201294&tab=buildResultsDiv&buildTypeId=PrecheckinTestsOpenCLSanity_PrecheckinSanityKaveriLinux64bitDebugHsaFoundation

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#252 edit


[ROCm/clr commit: 5359977da1]
2016-01-22 12:25:38 -05:00
foreman 5359977da1 P4 to Git Change 1230222 by bwicakso@opencl-hsa-stg-bwicakso on 2016/01/22 12:13:26
SWDEV-82353 - Enable local memory by default on oclhsa
	Test: tc precheckin http://ocltc.amd.com:8111/viewLog.html?buildId=14201294&tab=buildResultsDiv&buildTypeId=PrecheckinTestsOpenCLSanity_PrecheckinSanityKaveriLinux64bitDebugHsaFoundation

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#252 edit
2016-01-22 12:25:38 -05:00
foreman 66ed5b2c3f P4 to Git Change 1230108 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/22 03:00:12
SWDEV-2 - Change OpenCL version number from 2012 to 2013.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1759 edit


[ROCm/clr commit: 46d0ec7830]
2016-01-22 03:09:58 -05:00
foreman 46d0ec7830 P4 to Git Change 1230108 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/22 03:00:12
SWDEV-2 - Change OpenCL version number from 2012 to 2013.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1759 edit
2016-01-22 03:09:58 -05:00
Nathan Luehr a867db80f1 Added support for more than 8 GPUs.
Change-Id: Iaa1841036a7bfdad6ebec99fed0adcd2bbe6ffad
Reviewed-on: http://git-master/r/935459
Reviewed-by: Cliff Woolley <jwoolley@nvidia.com>
Tested-by: Przemek Tredak <ptredak@nvidia.com>


[ROCm/rccl commit: 5966316771]
2016-01-21 13:00:21 -08:00
Nathan Luehr 5966316771 Added support for more than 8 GPUs.
Change-Id: Iaa1841036a7bfdad6ebec99fed0adcd2bbe6ffad
Reviewed-on: http://git-master/r/935459
Reviewed-by: Cliff Woolley <jwoolley@nvidia.com>
Tested-by: Przemek Tredak <ptredak@nvidia.com>
2016-01-21 13:00:21 -08:00
Serguei Sagalovitch 47cef87a34 Skeleton for RDMA unit test v4
Added application and driver to serve as the starting point for RDMA
unit test uility.

v2: Added initial mmap support
v3: Fixed logic to find correct ioctl handler
v4: Fixed logic in mmap to find correct pages table

Change-Id: Iaf97c0eb2acef2160d542c71afed58cf400414f7
Signed-off-by: Serguei Sagalovitch <Serguei.Sagalovitch@amd.com>
2016-01-21 15:20:24 -05:00
Serguei Sagalovitch b10380d783 Skeleton for RDMA unit test v4
Added application and driver to serve as the starting point for RDMA
unit test uility.

v2: Added initial mmap support
v3: Fixed logic to find correct ioctl handler
v4: Fixed logic in mmap to find correct pages table

Change-Id: Iaf97c0eb2acef2160d542c71afed58cf400414f7
Signed-off-by: Serguei Sagalovitch <Serguei.Sagalovitch@amd.com>


[ROCm/ROCR-Runtime commit: 47cef87a34]
2016-01-21 15:20:24 -05:00
Nathan Luehr c4f8bd6da3 Fixed deadlock in back-to-back reduce_scatters.
Change-Id: I92d32b15e516a39710b676aee692ae9b70638937
Reviewed-on: http://git-master/r/935458
Reviewed-by: Przemek Tredak <ptredak@nvidia.com>
Tested-by: Przemek Tredak <ptredak@nvidia.com>


[ROCm/rccl commit: 130ee246e2]
2016-01-21 10:36:03 -08:00
Nathan Luehr 130ee246e2 Fixed deadlock in back-to-back reduce_scatters.
Change-Id: I92d32b15e516a39710b676aee692ae9b70638937
Reviewed-on: http://git-master/r/935458
Reviewed-by: Przemek Tredak <ptredak@nvidia.com>
Tested-by: Przemek Tredak <ptredak@nvidia.com>
2016-01-21 10:36:03 -08:00
foreman 01bc11ead1 P4 to Git Change 1229824 by bwicakso@opencl-hsa-stg-bwicakso on 2016/01/21 11:45:50
SWDEV-82353 - Remove assert and only assign the customHostAllocDevice_ with the first device that has customHostAllocator.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#38 edit


[ROCm/clr commit: 7bf5bb51b5]
2016-01-21 11:56:58 -05:00
foreman 7bf5bb51b5 P4 to Git Change 1229824 by bwicakso@opencl-hsa-stg-bwicakso on 2016/01/21 11:45:50
SWDEV-82353 - Remove assert and only assign the customHostAllocDevice_ with the first device that has customHostAllocator.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#38 edit
2016-01-21 11:56:58 -05:00
foreman 5e75abca57 P4 to Git Change 1229676 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/21 03:00:11
SWDEV-2 - Change OpenCL version number from 2011 to 2012.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1758 edit


[ROCm/clr commit: a6a7510986]
2016-01-21 03:09:34 -05:00
foreman a6a7510986 P4 to Git Change 1229676 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/21 03:00:11
SWDEV-2 - Change OpenCL version number from 2011 to 2012.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1758 edit
2016-01-21 03:09:34 -05:00
foreman e03dc0a595 P4 to Git Change 1229520 by fdaniil@spb_fdaniil_amd_hsa_brigvar_test on 2016/01/20 17:01:23
SWDEV-82159 - [CQE OCL][ISV][QR] Error is observed while debugging the sample with CodeXL; Faulty CL:1208929

	[Synopsis]
	compile from binary logic changes caused issue with resulting binary generation in CodeXL

	[Solution]
	do not use compile options from binary if they are explicitly specified

	[Testing]
	precheckin, MCL
	Reviewed by Evgeniy Mankov, German Andryeyev

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#78 edit


[ROCm/clr commit: 22b26ca387]
2016-01-20 17:10:22 -05:00
foreman 22b26ca387 P4 to Git Change 1229520 by fdaniil@spb_fdaniil_amd_hsa_brigvar_test on 2016/01/20 17:01:23
SWDEV-82159 - [CQE OCL][ISV][QR] Error is observed while debugging the sample with CodeXL; Faulty CL:1208929

	[Synopsis]
	compile from binary logic changes caused issue with resulting binary generation in CodeXL

	[Solution]
	do not use compile options from binary if they are explicitly specified

	[Testing]
	precheckin, MCL
	Reviewed by Evgeniy Mankov, German Andryeyev

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#78 edit
2016-01-20 17:10:22 -05:00
foreman 6086479c27 P4 to Git Change 1229261 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/20 03:00:10
SWDEV-2 - Change OpenCL version number from 2010 to 2011.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1757 edit


[ROCm/clr commit: 86962e50fe]
2016-01-20 03:07:19 -05:00
foreman 86962e50fe P4 to Git Change 1229261 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/20 03:00:10
SWDEV-2 - Change OpenCL version number from 2010 to 2011.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1757 edit
2016-01-20 03:07:19 -05:00
foreman 01482fd967 P4 to Git Change 1228972 by smekhano@stas-nova-hsa on 2016/01/19 14:21:26
SWDEV-85602 - rename hsail-64 arch to hsail64
	This is to match other existing llvm targets, such as spir64 and amdil64, as well as to match behavior of open source HSAIL BE.
	For legacy users there is alias "-hsail-64" provided in the aoc2 only.

	Testing: smoke, precheckin
	Reviewed by Matthew Arsenault, Evgeny Mankov and Nikolay Haustov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/codegen.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/frontend.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings.h#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/codegen.cpp#66 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/frontend.cpp#37 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#37 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILTargetMachine.cpp#53 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/TargetInfo/HSAILTargetInfo.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/tools/aacl/aa.h#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/aoc2/aoc2.cpp#80 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/amp_libm/build/Makefile.amp_libm#4 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/gcn/build/Makefile.gcn#20 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/gcndev/build/Makefile.gcndev#3 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/build/Makefile.hsail#44 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpucompiler.cpp#153 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#222 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsacompiler.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/bin/test_driver.pl#25 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/tlst/complib.tlst#21 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/tlst/ocl_debug.tlst#9 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/tlst/ocl_regression.tlst#25 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/spir/SPIRBase.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/spir/SPIRVBasic.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/spir/SPIRVDropIn.cpp#5 edit


[ROCm/clr commit: 14179df14f]
2016-01-19 14:31:59 -05:00
foreman 14179df14f P4 to Git Change 1228972 by smekhano@stas-nova-hsa on 2016/01/19 14:21:26
SWDEV-85602 - rename hsail-64 arch to hsail64
	This is to match other existing llvm targets, such as spir64 and amdil64, as well as to match behavior of open source HSAIL BE.
	For legacy users there is alias "-hsail-64" provided in the aoc2 only.

	Testing: smoke, precheckin
	Reviewed by Matthew Arsenault, Evgeny Mankov and Nikolay Haustov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/codegen.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/frontend.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings.h#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/codegen.cpp#66 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/frontend.cpp#37 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#37 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILTargetMachine.cpp#53 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/TargetInfo/HSAILTargetInfo.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/tools/aacl/aa.h#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/aoc2/aoc2.cpp#80 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/amp_libm/build/Makefile.amp_libm#4 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/gcn/build/Makefile.gcn#20 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/gcndev/build/Makefile.gcndev#3 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/build/Makefile.hsail#44 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpucompiler.cpp#153 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#222 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsacompiler.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/bin/test_driver.pl#25 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/tlst/complib.tlst#21 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/tlst/ocl_debug.tlst#9 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/tlst/ocl_regression.tlst#25 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/spir/SPIRBase.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/spir/SPIRVBasic.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/spir/SPIRVDropIn.cpp#5 edit
2016-01-19 14:31:59 -05:00
foreman 6134805c04 P4 to Git Change 1228888 by avolkov@spb-hlc-kv25_opencl_stgsc on 2016/01/19 10:49:38
SWDEV-83192 - [CQE OCL][2.0][QR] Few MCLSubtests are falling due to faulty cl#1208929
	[Synopsis]
	Failure is because of additional check on compilation options existence in binary, which are expected in a separate section in the input binary. Options are expected on HSAIL path in order to make a decision whether to recompile or not the input code. AMDIL path has another strategy for recompilation algorithm and doesn't need options to be obligatory presented in input binary.
	[Solution]
	Remove options existence check in the input binary when compiling from BINARY_TYPE_ELF.
	P.S.
	With the fix HSAIL path also doesn’t require compilation options existence in input binary anymore. Recompilation will be done silently in such case.
	[Testing]
	Pre checkin, MCL
	Reviewed by Evgeniy Mankov, Nikolay Haustov, German Andryeyev
	http://ocltc.amd.com/reviews/r/9560/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#77 edit


[ROCm/clr commit: 91bbd98a0b]
2016-01-19 11:03:37 -05:00
foreman 91bbd98a0b P4 to Git Change 1228888 by avolkov@spb-hlc-kv25_opencl_stgsc on 2016/01/19 10:49:38
SWDEV-83192 - [CQE OCL][2.0][QR] Few MCLSubtests are falling due to faulty cl#1208929
	[Synopsis]
	Failure is because of additional check on compilation options existence in binary, which are expected in a separate section in the input binary. Options are expected on HSAIL path in order to make a decision whether to recompile or not the input code. AMDIL path has another strategy for recompilation algorithm and doesn't need options to be obligatory presented in input binary.
	[Solution]
	Remove options existence check in the input binary when compiling from BINARY_TYPE_ELF.
	P.S.
	With the fix HSAIL path also doesn’t require compilation options existence in input binary anymore. Recompilation will be done silently in such case.
	[Testing]
	Pre checkin, MCL
	Reviewed by Evgeniy Mankov, Nikolay Haustov, German Andryeyev
	http://ocltc.amd.com/reviews/r/9560/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#77 edit
2016-01-19 11:03:37 -05:00
foreman 71cd75fa61 P4 to Git Change 1228797 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/19 03:00:11
SWDEV-2 - Change OpenCL version number from 2009 to 2010.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1756 edit


[ROCm/clr commit: 84ed48b665]
2016-01-19 03:07:06 -05:00
foreman 84ed48b665 P4 to Git Change 1228797 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/19 03:00:11
SWDEV-2 - Change OpenCL version number from 2009 to 2010.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1756 edit
2016-01-19 03:07:06 -05:00
foreman b13287e477 P4 to Git Change 1228628 by wchau@wchau_WIN_OCL_HSA on 2016/01/18 17:02:40
SWDEV-79308 -  Resubmit of CL1228064 with restriction of mininum scratch buffer size of 64K if a scratch buffer is needed.
	  Reduce the total scratch buffer size by a factor of 4, which in effect reducing the max. scratch waves from 32 to 8, to avoid the required total scratch buffer size exceeds the available local memory.
	  Made sure the scratch buffer size is aligned with 64K boundary

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#235 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#156 edit


[ROCm/clr commit: db94c3fb66]
2016-01-18 17:19:01 -05:00
foreman db94c3fb66 P4 to Git Change 1228628 by wchau@wchau_WIN_OCL_HSA on 2016/01/18 17:02:40
SWDEV-79308 -  Resubmit of CL1228064 with restriction of mininum scratch buffer size of 64K if a scratch buffer is needed.
	  Reduce the total scratch buffer size by a factor of 4, which in effect reducing the max. scratch waves from 32 to 8, to avoid the required total scratch buffer size exceeds the available local memory.
	  Made sure the scratch buffer size is aligned with 64K boundary

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#235 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#156 edit
2016-01-18 17:19:01 -05:00
foreman 02b8d92570 P4 to Git Change 1228350 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/18 03:00:13
SWDEV-2 - Change OpenCL version number from 2008 to 2009.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1755 edit


[ROCm/clr commit: 44e689cfec]
2016-01-18 03:07:49 -05:00
foreman 44e689cfec P4 to Git Change 1228350 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/18 03:00:13
SWDEV-2 - Change OpenCL version number from 2008 to 2009.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1755 edit
2016-01-18 03:07:49 -05:00
foreman c287e9ad8d P4 to Git Change 1228272 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/17 03:00:10
SWDEV-2 - Change OpenCL version number from 2007 to 2008.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1754 edit


[ROCm/clr commit: cdffb6c9aa]
2016-01-17 03:11:08 -05:00
foreman cdffb6c9aa P4 to Git Change 1228272 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/17 03:00:10
SWDEV-2 - Change OpenCL version number from 2007 to 2008.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1754 edit
2016-01-17 03:11:08 -05:00
foreman 89facb645f P4 to Git Change 1228248 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/16 03:00:11
SWDEV-2 - Change OpenCL version number from 2006 to 2007.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1753 edit


[ROCm/clr commit: 269e7c74c5]
2016-01-16 03:10:39 -05:00
foreman 269e7c74c5 P4 to Git Change 1228248 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/16 03:00:11
SWDEV-2 - Change OpenCL version number from 2006 to 2007.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1753 edit
2016-01-16 03:10:39 -05:00
foreman db82528d6f P4 to Git Change 1228237 by skudchad@skudchad_test_win_opencl2 on 2016/01/15 22:24:47
SWDEV-77172 - Back out changelist 1228194

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#221 edit


[ROCm/clr commit: e84d8eb04d]
2016-01-15 22:32:16 -05:00
foreman e84d8eb04d P4 to Git Change 1228237 by skudchad@skudchad_test_win_opencl2 on 2016/01/15 22:24:47
SWDEV-77172 - Back out changelist 1228194

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#221 edit
2016-01-15 22:32:16 -05:00