Commit Graph

64357 Commits

Author SHA1 Message Date
foreman b4f5366fe4 P4 to Git Change 1223703 by nhaustov@nhaustov_hsa on 2015/12/28 05:46:00
SWDEV-77584 - Fix ocl_conformance compiler failures.

	1. If compiling in debug mode, linkImpl wasn't called and kernelNames wasn't set
	which led to CL_INVALID_KERNEL_NAME errors in debug configs in TeamCity. Looking at AMDIL
	code, there is no reason to skip linkImpl in debug mode.

	2. Set types to TYPE_LIBRARY/TYPE_EXECUTABLE. This fixes ocl_conformance compiler program_binary_type.

	Reviewed by: Evgeniy Mankov
	Testing: smoke, pre-checkin, OCLSeparateCompile.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#218 edit
2015-12-28 05:53:39 -05:00
foreman 2d0570325d P4 to Git Change 1223685 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/28 03:00:10
SWDEV-2 - Change OpenCL version number from 1987 to 1988.

Affected files ...

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


[ROCm/clr commit: cfc2b489df]
2015-12-28 03:07:21 -05:00
foreman cfc2b489df P4 to Git Change 1223685 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/28 03:00:10
SWDEV-2 - Change OpenCL version number from 1987 to 1988.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1734 edit
2015-12-28 03:07:21 -05:00
foreman a7bf1789da P4 to Git Change 1223599 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/27 03:00:10
SWDEV-2 - Change OpenCL version number from 1986 to 1987.

Affected files ...

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


[ROCm/clr commit: 422318b9aa]
2015-12-27 03:11:03 -05:00
foreman 422318b9aa P4 to Git Change 1223599 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/27 03:00:10
SWDEV-2 - Change OpenCL version number from 1986 to 1987.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1733 edit
2015-12-27 03:11:03 -05:00
foreman dd86dc6409 P4 to Git Change 1223585 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/26 03:00:09
SWDEV-2 - Change OpenCL version number from 1985 to 1986.

Affected files ...

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


[ROCm/clr commit: 32568eec9b]
2015-12-26 03:11:28 -05:00
foreman 32568eec9b P4 to Git Change 1223585 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/26 03:00:09
SWDEV-2 - Change OpenCL version number from 1985 to 1986.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1732 edit
2015-12-26 03:11:28 -05:00
foreman cc5c82cdb9 P4 to Git Change 1223535 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/25 03:00:10
SWDEV-2 - Change OpenCL version number from 1984 to 1985.

Affected files ...

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


[ROCm/clr commit: 4e074c4044]
2015-12-25 03:06:57 -05:00
foreman 4e074c4044 P4 to Git Change 1223535 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/25 03:00:10
SWDEV-2 - Change OpenCL version number from 1984 to 1985.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1731 edit
2015-12-25 03:06:57 -05:00
foreman 41bd7b618b P4 to Git Change 1223402 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/24 03:00:10
SWDEV-2 - Change OpenCL version number from 1983 to 1984.

Affected files ...

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


[ROCm/clr commit: fe72e17898]
2015-12-24 03:11:27 -05:00
foreman fe72e17898 P4 to Git Change 1223402 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/24 03:00:10
SWDEV-2 - Change OpenCL version number from 1983 to 1984.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1730 edit
2015-12-24 03:11:27 -05:00
foreman 85dc174129 P4 to Git Change 1223278 by wchau@wchau_WIN_OCL_HSA on 2015/12/23 15:37:26
SWDEV-66693 - OpenCL Runtime HW Debug support development - use flag, instead of getenv() call, in IOL to indicate the enablement of HW Debug.

Affected files ...

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


[ROCm/clr commit: f15514da95]
2015-12-23 15:47:22 -05:00
foreman f15514da95 P4 to Git Change 1223278 by wchau@wchau_WIN_OCL_HSA on 2015/12/23 15:37:26
SWDEV-66693 - OpenCL Runtime HW Debug support development - use flag, instead of getenv() call, in IOL to indicate the enablement of HW Debug.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#151 edit
2015-12-23 15:47:22 -05:00
foreman 1be0e93471 P4 to Git Change 1223224 by emankov@em-hsa-amd on 2015/12/23 08:57:37
SWDEV-80173 - Switching HSAIL on OpenCL stack by default: Disabling HSAIL by default on Linux 32bit due to know Catalyst issue.

	[Testing] precheckin
	http://ocltc.amd.com:8111/viewModification.html?modId=64665&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true

Affected files ...

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


[ROCm/clr commit: 3e20f16c5b]
2015-12-23 09:01:58 -05:00
foreman 3e20f16c5b P4 to Git Change 1223224 by emankov@em-hsa-amd on 2015/12/23 08:57:37
SWDEV-80173 - Switching HSAIL on OpenCL stack by default: Disabling HSAIL by default on Linux 32bit due to know Catalyst issue.

	[Testing] precheckin
	http://ocltc.amd.com:8111/viewModification.html?modId=64665&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#249 edit
2015-12-23 09:01:58 -05:00
foreman 067928a205 P4 to Git Change 1223215 by emankov@em-hsa-amd on 2015/12/23 07:42:31
SWDEV-80173 -  Switching HSAIL on OpenCL stack by default.

	1. HSAIL becomes default backend for OpenCL (all versions) on all GFX7+ (CI+) devices.
	2. AMDIL stays default on pre CI+ devices.
	3. AMDIL is forced implicitly:
	    a) for pre CI+ devices;
	    b) if clc++ extension is used: "-x -clc++";
	    c) if input IL is SPIR: "-x -spir";
	4. To force AMDIL explicitly "-legacy" option should be added to AMD_OCL_BUILD_OPTIONS or AMD_OCL_BUILD_OPTIONS_APPEND environment variable.
	5. SPIRV always goes through HSAIL and couldn't be forced to AMDIL explicitly or implicitly.
	6. Compilation of Blit kernels couldn't be forced to AMDIL too, they are compiled via HSAIL on GFX7+, otherwise - via AMDIL. The logic is almost the same as it is currently.
	7. test_driver.pl is switched to OpenCL 1.2/HSAIL by default. Previously OpenCL 2.0/HSAIL was by default and all OpenCL 1.2 tests went through AMDIL.

	[Testing]
	offline: weekly, smoke
	online: bootleg, ocltst, ocl conformance 1.2/2.0, AMD SDK 3.0, Blender 2.76b, performance testing, manual testing on CI+ devices with forcing AMDIL "-legacy".
	pre-checkin:
	http://ocltc.amd.com:8111/viewModification.html?modId=64664&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true

	[Reviewers]
	Brian Sumner, Stanislav Mekhanoshin, German Andryeyev, Nikolay Haustov
	http://ocltc.amd.com/reviews/r/8850

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#248 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/bin/test_driver.pl#24 edit


[ROCm/clr commit: b01869b54b]
2015-12-23 07:51:49 -05:00
foreman b01869b54b P4 to Git Change 1223215 by emankov@em-hsa-amd on 2015/12/23 07:42:31
SWDEV-80173 -  Switching HSAIL on OpenCL stack by default.

	1. HSAIL becomes default backend for OpenCL (all versions) on all GFX7+ (CI+) devices.
	2. AMDIL stays default on pre CI+ devices.
	3. AMDIL is forced implicitly:
	    a) for pre CI+ devices;
	    b) if clc++ extension is used: "-x -clc++";
	    c) if input IL is SPIR: "-x -spir";
	4. To force AMDIL explicitly "-legacy" option should be added to AMD_OCL_BUILD_OPTIONS or AMD_OCL_BUILD_OPTIONS_APPEND environment variable.
	5. SPIRV always goes through HSAIL and couldn't be forced to AMDIL explicitly or implicitly.
	6. Compilation of Blit kernels couldn't be forced to AMDIL too, they are compiled via HSAIL on GFX7+, otherwise - via AMDIL. The logic is almost the same as it is currently.
	7. test_driver.pl is switched to OpenCL 1.2/HSAIL by default. Previously OpenCL 2.0/HSAIL was by default and all OpenCL 1.2 tests went through AMDIL.

	[Testing]
	offline: weekly, smoke
	online: bootleg, ocltst, ocl conformance 1.2/2.0, AMD SDK 3.0, Blender 2.76b, performance testing, manual testing on CI+ devices with forcing AMDIL "-legacy".
	pre-checkin:
	http://ocltc.amd.com:8111/viewModification.html?modId=64664&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true

	[Reviewers]
	Brian Sumner, Stanislav Mekhanoshin, German Andryeyev, Nikolay Haustov
	http://ocltc.amd.com/reviews/r/8850

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#248 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/bin/test_driver.pl#24 edit
2015-12-23 07:51:49 -05:00
foreman f08810e73f P4 to Git Change 1223138 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/23 03:00:11
SWDEV-2 - Change OpenCL version number from 1982 to 1983.

Affected files ...

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


[ROCm/clr commit: 719b49cde5]
2015-12-23 03:06:16 -05:00
foreman 719b49cde5 P4 to Git Change 1223138 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/23 03:00:11
SWDEV-2 - Change OpenCL version number from 1982 to 1983.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1729 edit
2015-12-23 03:06:16 -05:00
foreman 89c35aba85 P4 to Git Change 1223026 by skudchad@skudchad_test_win_opencl2 on 2015/12/22 18:08:38
SWDEV-77172 - IOMMUv2 changes for Windows 10
	- Enable DX interop for SVM

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/9340/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#340 edit


[ROCm/clr commit: ef2a00d6ce]
2015-12-22 18:15:46 -05:00
foreman ef2a00d6ce P4 to Git Change 1223026 by skudchad@skudchad_test_win_opencl2 on 2015/12/22 18:08:38
SWDEV-77172 - IOMMUv2 changes for Windows 10
	- Enable DX interop for SVM

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/9340/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#340 edit
2015-12-22 18:15:46 -05:00
foreman aabfdba939 P4 to Git Change 1222955 by smekhano@stas-rampitec-hsa on 2015/12/22 13:06:59
SWDEV-80173 - remove the opt level adjustment based on the function size
	Since it only limits the llvm backend, but not optimizer or SC it really hurts the compile time.
	A huge unoptimized hsail after inlining and no backend optimizations goes to the SC with overwhelming results.
	A proper way of addressing these issues is to keep inlining reasonable.

	Testing: smoke, precheckin
	Reviewed by Evgeny Mankov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/codegen.cpp#65 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/IPO/AMDInline.cpp#3 edit


[ROCm/clr commit: 13f385908c]
2015-12-22 13:15:33 -05:00
foreman 13f385908c P4 to Git Change 1222955 by smekhano@stas-rampitec-hsa on 2015/12/22 13:06:59
SWDEV-80173 - remove the opt level adjustment based on the function size
	Since it only limits the llvm backend, but not optimizer or SC it really hurts the compile time.
	A huge unoptimized hsail after inlining and no backend optimizations goes to the SC with overwhelming results.
	A proper way of addressing these issues is to keep inlining reasonable.

	Testing: smoke, precheckin
	Reviewed by Evgeny Mankov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/codegen.cpp#65 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/IPO/AMDInline.cpp#3 edit
2015-12-22 13:15:33 -05:00
foreman 40b4cdfc67 P4 to Git Change 1222841 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/22 03:00:10
SWDEV-2 - Change OpenCL version number from 1981 to 1982.

Affected files ...

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


[ROCm/clr commit: 0563042068]
2015-12-22 03:08:53 -05:00
foreman 0563042068 P4 to Git Change 1222841 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/22 03:00:10
SWDEV-2 - Change OpenCL version number from 1981 to 1982.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1728 edit
2015-12-22 03:08:53 -05:00
foreman cf6c4ace37 P4 to Git Change 1222563 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/21 03:00:10
SWDEV-2 - Change OpenCL version number from 1980 to 1981.

Affected files ...

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


[ROCm/clr commit: 30759cdec9]
2015-12-21 03:15:51 -05:00
foreman 30759cdec9 P4 to Git Change 1222563 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/21 03:00:10
SWDEV-2 - Change OpenCL version number from 1980 to 1981.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1727 edit
2015-12-21 03:15:51 -05:00
Yair Shachar 681f4dcecc Add support for scratch GPUVM on host memory
This is required when we have a debug session



Change-Id: If9d6d2d23a9016b6ca9562e02a91fc16e0354ee4
Signed-off-by: Yair Shachar <Yair.Shachar@amd.com>
2015-12-20 15:50:50 +02:00
Yair Shachar 63f646d050 Add support for scratch GPUVM on host memory
This is required when we have a debug session



Change-Id: If9d6d2d23a9016b6ca9562e02a91fc16e0354ee4
Signed-off-by: Yair Shachar <Yair.Shachar@amd.com>


[ROCm/ROCR-Runtime commit: 681f4dcecc]
2015-12-20 15:50:50 +02:00
foreman b048bd2ff9 P4 to Git Change 1222489 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/20 03:00:11
SWDEV-2 - Change OpenCL version number from 1979 to 1980.

Affected files ...

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


[ROCm/clr commit: 85dc0b14b1]
2015-12-20 03:13:20 -05:00
foreman 85dc0b14b1 P4 to Git Change 1222489 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/20 03:00:11
SWDEV-2 - Change OpenCL version number from 1979 to 1980.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1726 edit
2015-12-20 03:13:20 -05:00
foreman 6bb4fc5711 P4 to Git Change 1222472 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/19 03:00:11
SWDEV-2 - Change OpenCL version number from 1978 to 1979.

Affected files ...

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


[ROCm/clr commit: 6d4a212f8c]
2015-12-19 03:09:57 -05:00
foreman 6d4a212f8c P4 to Git Change 1222472 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/19 03:00:11
SWDEV-2 - Change OpenCL version number from 1978 to 1979.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1725 edit
2015-12-19 03:09:57 -05:00
foreman 7387f3f09f P4 to Git Change 1222362 by smekhano@stas-rampitec-hsa on 2015/12/18 13:43:21
SWDEV-80173 - HSA HLC: disable liveness analysis and jump threading

	After the investigation I have found liveness analysis never changed code generation in any of the benchmarks or applications.
	Its only use is in the LICM and the hoisting limitation was never really triggered.
	Since the analysis is very expensive I'm disabling it.

	The jump threading is generally bad on the GPU because it creates unstructured control flow.
	Even if hsail might become smaller and have less branches, it does not help because finalzier's structurizer will have to clone blocks.
	Jump threading is disabled for GPU. This improves compilation speed and just slightly improves performance.

	Testing: smoke, precheckin, vray and blender compilation
	Reviewed by Daniil Fukalov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#133 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/AMDLLVMContextHook.h#29 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Analysis/AMDLiveAnalysis.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/IPO/AMDPassManagerBuilder.cpp#61 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/tools/opt/amdopt.inc#29 edit


[ROCm/clr commit: 36fb8d6764]
2015-12-18 13:54:00 -05:00
foreman 36fb8d6764 P4 to Git Change 1222362 by smekhano@stas-rampitec-hsa on 2015/12/18 13:43:21
SWDEV-80173 - HSA HLC: disable liveness analysis and jump threading

	After the investigation I have found liveness analysis never changed code generation in any of the benchmarks or applications.
	Its only use is in the LICM and the hoisting limitation was never really triggered.
	Since the analysis is very expensive I'm disabling it.

	The jump threading is generally bad on the GPU because it creates unstructured control flow.
	Even if hsail might become smaller and have less branches, it does not help because finalzier's structurizer will have to clone blocks.
	Jump threading is disabled for GPU. This improves compilation speed and just slightly improves performance.

	Testing: smoke, precheckin, vray and blender compilation
	Reviewed by Daniil Fukalov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#133 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/AMDLLVMContextHook.h#29 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Analysis/AMDLiveAnalysis.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/IPO/AMDPassManagerBuilder.cpp#61 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/tools/opt/amdopt.inc#29 edit
2015-12-18 13:54:00 -05:00
foreman b5128c3275 P4 to Git Change 1222201 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/18 03:00:12
SWDEV-2 - Change OpenCL version number from 1977 to 1978.

Affected files ...

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


[ROCm/clr commit: deeb9b0bc9]
2015-12-18 03:06:36 -05:00
foreman deeb9b0bc9 P4 to Git Change 1222201 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/18 03:00:12
SWDEV-2 - Change OpenCL version number from 1977 to 1978.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1724 edit
2015-12-18 03:06:36 -05:00
foreman 80663896db P4 to Git Change 1221759 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/17 03:00:16
SWDEV-2 - Change OpenCL version number from 1976 to 1977.

Affected files ...

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


[ROCm/clr commit: 3c12296bdc]
2015-12-17 03:14:01 -05:00
foreman 3c12296bdc P4 to Git Change 1221759 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/17 03:00:16
SWDEV-2 - Change OpenCL version number from 1976 to 1977.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1723 edit
2015-12-17 03:14:01 -05:00
foreman b5bb04402d P4 to Git Change 1221604 by yaxunl@yaxunl_stg_win50 on 2015/12/16 17:19:59
SWDEV-84089 - [SPIRV] github pull request #32 Changes for Clang integration.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/frontend_clang.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#136 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#89 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/Support/SPIRV.h#10 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/CMakeLists.txt#16 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/SPIRVWriter.cpp#16 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/SPIRVWriterPass.cpp#1 branch
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/SPIRVWriterPass.h#1 branch
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/build/Makefile.SPIRV#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/libSPIRV/SPIRVBasicBlock.cpp#2 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/libSPIRV/SPIRVBasicBlock.h#2 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/libSPIRV/SPIRVDebug.h#3 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/libSPIRV/SPIRVDecorate.cpp#2 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/libSPIRV/SPIRVDecorate.h#6 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/libSPIRV/SPIRVEntry.cpp#5 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/libSPIRV/SPIRVEntry.h#7 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/libSPIRV/SPIRVFunction.cpp#3 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/libSPIRV/SPIRVFunction.h#3 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/libSPIRV/SPIRVInstruction.h#8 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/libSPIRV/SPIRVModule.cpp#13 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/libSPIRV/SPIRVModule.h#7 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/libSPIRV/SPIRVStream.cpp#5 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/libSPIRV/SPIRVStream.h#4 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/libSPIRV/SPIRVUtil.h#4 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/libSPIRV/SPIRVValue.h#4 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/tools/llvm-spirv/llvm-spirv.cpp#10 integrate


[ROCm/clr commit: fd39fdc694]
2015-12-16 17:27:20 -05:00
foreman fd39fdc694 P4 to Git Change 1221604 by yaxunl@yaxunl_stg_win50 on 2015/12/16 17:19:59
SWDEV-84089 - [SPIRV] github pull request #32 Changes for Clang integration.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/frontend_clang.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#136 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#89 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/Support/SPIRV.h#10 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/CMakeLists.txt#16 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/SPIRVWriter.cpp#16 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/SPIRVWriterPass.cpp#1 branch
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/SPIRVWriterPass.h#1 branch
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/build/Makefile.SPIRV#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/libSPIRV/SPIRVBasicBlock.cpp#2 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/libSPIRV/SPIRVBasicBlock.h#2 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/libSPIRV/SPIRVDebug.h#3 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/libSPIRV/SPIRVDecorate.cpp#2 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/libSPIRV/SPIRVDecorate.h#6 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/libSPIRV/SPIRVEntry.cpp#5 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/libSPIRV/SPIRVEntry.h#7 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/libSPIRV/SPIRVFunction.cpp#3 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/libSPIRV/SPIRVFunction.h#3 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/libSPIRV/SPIRVInstruction.h#8 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/libSPIRV/SPIRVModule.cpp#13 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/libSPIRV/SPIRVModule.h#7 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/libSPIRV/SPIRVStream.cpp#5 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/libSPIRV/SPIRVStream.h#4 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/libSPIRV/SPIRVUtil.h#4 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/libSPIRV/SPIRVValue.h#4 integrate
... //depot/stg/opencl/drivers/opencl/compiler/llvm/tools/llvm-spirv/llvm-spirv.cpp#10 integrate
2015-12-16 17:27:20 -05:00
foreman 222c16af3d P4 to Git Change 1221345 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/16 03:00:11
SWDEV-2 - Change OpenCL version number from 1975 to 1976.

Affected files ...

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


[ROCm/clr commit: ada74e5849]
2015-12-16 03:10:56 -05:00
foreman ada74e5849 P4 to Git Change 1221345 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/16 03:00:11
SWDEV-2 - Change OpenCL version number from 1975 to 1976.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1722 edit
2015-12-16 03:10:56 -05:00
foreman a8c8c20cd1 P4 to Git Change 1221147 by ashi1@ashi1_win50 on 2015/12/15 15:58:09
SWDEV-83467 - [SPIRV] Add support of SPIRV to CPU
	Modifying runtime and compile time to allow SPIRV binaries to run on CPU since it only runs on HSAIL GPU
	Added changes to allow conversion of CPU's llvmBinaryIsSpir boolean into compiler library's oclElfSections enum
	Cpuprogram.cpp's llvmBinaryIsSpir flag renamed to elfSectionType will now support LLVMIR, SPIR, and SPIRV
	Added SPIRV to compiler lib's elf as new oclElfSections enum
	cpuprogram.cpp changes also made to gpuprogram.cpp's NullProgram to allow compilation

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/elf.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/elf.hpp#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpuprogram.cpp#69 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#191 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#266 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpucompiler.cpp#152 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#217 edit


[ROCm/clr commit: 26be053088]
2015-12-15 16:09:35 -05:00
foreman 26be053088 P4 to Git Change 1221147 by ashi1@ashi1_win50 on 2015/12/15 15:58:09
SWDEV-83467 - [SPIRV] Add support of SPIRV to CPU
	Modifying runtime and compile time to allow SPIRV binaries to run on CPU since it only runs on HSAIL GPU
	Added changes to allow conversion of CPU's llvmBinaryIsSpir boolean into compiler library's oclElfSections enum
	Cpuprogram.cpp's llvmBinaryIsSpir flag renamed to elfSectionType will now support LLVMIR, SPIR, and SPIRV
	Added SPIRV to compiler lib's elf as new oclElfSections enum
	cpuprogram.cpp changes also made to gpuprogram.cpp's NullProgram to allow compilation

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/elf.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/elf.hpp#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpuprogram.cpp#69 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#191 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#266 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpucompiler.cpp#152 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#217 edit
2015-12-15 16:09:35 -05:00
foreman 9a0de9075c P4 to Git Change 1221023 by yaxunl@yaxunl_stg_win50 on 2015/12/15 12:50:27
SWDEV-83705 - [SPIRV] Refactor aclUpdateRawFile as a static function called by SPIRVToModule.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/acl.cpp#39 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#88 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/acl.h#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#216 edit


[ROCm/clr commit: 4df676dc36]
2015-12-15 13:07:52 -05:00
foreman 4df676dc36 P4 to Git Change 1221023 by yaxunl@yaxunl_stg_win50 on 2015/12/15 12:50:27
SWDEV-83705 - [SPIRV] Refactor aclUpdateRawFile as a static function called by SPIRVToModule.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/acl.cpp#39 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#88 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/acl.h#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#216 edit
2015-12-15 13:07:52 -05:00
foreman fae12f8d29 P4 to Git Change 1220868 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/15 03:00:11
SWDEV-2 - Change OpenCL version number from 1974 to 1975.

Affected files ...

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


[ROCm/clr commit: 82415554d4]
2015-12-15 03:07:20 -05:00
foreman 82415554d4 P4 to Git Change 1220868 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/15 03:00:11
SWDEV-2 - Change OpenCL version number from 1974 to 1975.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1721 edit
2015-12-15 03:07:20 -05:00
Harish Kasiviswanathan 39bf9c6611 Fix node_id in gpu_mem[] array
Change-Id: I4897623612e1749e275fb97ce1603dc5130fc9ce
2015-12-14 16:25:18 -05:00