Commit Graph

68445 Commits

Author SHA1 Message Date
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
Harish Kasiviswanathan 8bf76bdf67 Fix node_id in gpu_mem[] array
Change-Id: I4897623612e1749e275fb97ce1603dc5130fc9ce


[ROCm/ROCR-Runtime commit: 39bf9c6611]
2015-12-14 16:25:18 -05:00
foreman a704ea4489 P4 to Git Change 1220433 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/14 03:00:21
SWDEV-2 - Change OpenCL version number from 1973 to 1974.

Affected files ...

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


[ROCm/clr commit: e2400375ae]
2015-12-14 03:09:24 -05:00
foreman e2400375ae P4 to Git Change 1220433 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/14 03:00:21
SWDEV-2 - Change OpenCL version number from 1973 to 1974.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1720 edit
2015-12-14 03:09:24 -05:00
foreman 8e1f004f86 P4 to Git Change 1220319 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/13 03:00:11
SWDEV-2 - Change OpenCL version number from 1972 to 1973.

Affected files ...

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


[ROCm/clr commit: 202a318a7c]
2015-12-13 03:09:54 -05:00
foreman 202a318a7c P4 to Git Change 1220319 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/13 03:00:11
SWDEV-2 - Change OpenCL version number from 1972 to 1973.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1719 edit
2015-12-13 03:09:54 -05:00
foreman 7d85a8d38d P4 to Git Change 1220288 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/12 03:00:13
SWDEV-2 - Change OpenCL version number from 1971 to 1972.

Affected files ...

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


[ROCm/clr commit: 71d54a75af]
2015-12-12 03:10:11 -05:00
foreman 71d54a75af P4 to Git Change 1220288 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/12 03:00:13
SWDEV-2 - Change OpenCL version number from 1971 to 1972.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1718 edit
2015-12-12 03:10:11 -05:00
foreman a3dfe7e457 P4 to Git Change 1220218 by yaxunl@yaxunl_stg_win50 on 2015/12/11 16:35:30
SWDEV-83705 - [SPIRV] Fix failure in SPIR-V conformance test compile_and_link.

	e_rawfile of elf needs to be updated after LLVM section is inserted into the elf containing SPIR-V.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/acl.cpp#38 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#87 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/acl.h#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bifbase.cpp#54 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bifbase.hpp#24 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#13 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#215 edit


[ROCm/clr commit: f5acde74f7]
2015-12-11 16:46:21 -05:00
foreman f5acde74f7 P4 to Git Change 1220218 by yaxunl@yaxunl_stg_win50 on 2015/12/11 16:35:30
SWDEV-83705 - [SPIRV] Fix failure in SPIR-V conformance test compile_and_link.

	e_rawfile of elf needs to be updated after LLVM section is inserted into the elf containing SPIR-V.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/acl.cpp#38 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#87 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/acl.h#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bifbase.cpp#54 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bifbase.hpp#24 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#13 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#215 edit
2015-12-11 16:46:21 -05:00
Amber Lin 582b70f9c3 Free resources when dlclose is called
When the Thunk is initialized multiple times in the lifetime of a single process
, some global resources are leaked. This can happen when dlopen and dlclose are
 used to load the library at runtime, rather than linking the runtime against
the Thunk. This patch adds the destructor to release global resources when
dlclose is called.


Change-Id: Ia00da0d41f095d0b2706f98c0e75effedd596f49
2015-12-11 16:32:41 -05:00
Amber Lin 4dd9dbb128 Free resources when dlclose is called
When the Thunk is initialized multiple times in the lifetime of a single process
, some global resources are leaked. This can happen when dlopen and dlclose are
 used to load the library at runtime, rather than linking the runtime against
the Thunk. This patch adds the destructor to release global resources when
dlclose is called.


Change-Id: Ia00da0d41f095d0b2706f98c0e75effedd596f49


[ROCm/ROCR-Runtime commit: 582b70f9c3]
2015-12-11 16:32:41 -05:00
foreman 2002249db8 P4 to Git Change 1219975 by fdaniil@spb_fdaniil_amd_hsa_brigvar_test on 2015/12/11 08:44:02
SWDEV-77584 - enable cl_khr_int64_base_atomics extension in 32bit HSAIL compiler - it's already supported. the extension used in OpenMM library and FAHBench.

	significantly reduces perfomance drop in bug 11198 http://ocltc.amd.com/bugs/show_bug.cgi?id=11198

	http://ocltc.amd.com/reviews/r/9223/

	reviewer: German Andryeyev
	testing: smoke, precheckin

Affected files ...

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


[ROCm/clr commit: 157116503e]
2015-12-11 08:51:00 -05:00