76333 Commits

Author SHA1 Message Date
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
foreman 157116503e 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
2015-12-11 08:51:00 -05:00
foreman 6fdd9db5b0 P4 to Git Change 1219878 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/11 03:00:20
SWDEV-2 - Change OpenCL version number from 1970 to 1971.

Affected files ...

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


[ROCm/clr commit: 1633e2c95d]
2015-12-11 03:16:39 -05:00
foreman 1633e2c95d P4 to Git Change 1219878 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/11 03:00:20
SWDEV-2 - Change OpenCL version number from 1970 to 1971.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1717 edit
2015-12-11 03:16:39 -05:00
Nathan Luehr d99f295375 Fixed bug in MPI initialization.
[ROCm/rccl commit: 651a6edc5c]
2015-12-10 17:54:41 -08:00
Nathan Luehr 651a6edc5c Fixed bug in MPI initialization. 2015-12-10 17:54:41 -08:00
Nathan Luehr 7a446eab56 Merge pull request #1 from slayton58/int64_uint64
Add int64 and uint64 types for all algorithms and tests

[ROCm/rccl commit: ada5edce88]
2015-12-10 17:22:50 -08:00
Nathan Luehr ada5edce88 Merge pull request #1 from slayton58/int64_uint64
Add int64 and uint64 types for all algorithms and tests
2015-12-10 17:22:50 -08:00
foreman 1b97e1b14f P4 to Git Change 1219652 by asalmanp@asalmanp-opencl-stg on 2015/12/10 14:20:26
SWDEV-82296 - [CQE OCL][2.0][HWSC][16.10]SDK Sample "AtomicCounters" 32/64bit failed with HWSC driver

	Disabling the cl_ext_atomic_counters_32 extension since there is no support for this extension on HSAIL and HWS.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/9221/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#265 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#538 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#338 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsasettings.cpp#11 edit


[ROCm/clr commit: 9b2fc7a77e]
2015-12-10 14:27:54 -05:00
foreman 9b2fc7a77e P4 to Git Change 1219652 by asalmanp@asalmanp-opencl-stg on 2015/12/10 14:20:26
SWDEV-82296 - [CQE OCL][2.0][HWSC][16.10]SDK Sample "AtomicCounters" 32/64bit failed with HWSC driver

	Disabling the cl_ext_atomic_counters_32 extension since there is no support for this extension on HSAIL and HWS.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/9221/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#265 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#538 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#338 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsasettings.cpp#11 edit
2015-12-10 14:27:54 -05:00
foreman bef5850140 P4 to Git Change 1219421 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/10 03:00:11
SWDEV-2 - Change OpenCL version number from 1969 to 1970.

Affected files ...

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


[ROCm/clr commit: b4dd604375]
2015-12-10 03:09:17 -05:00
foreman b4dd604375 P4 to Git Change 1219421 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/10 03:00:11
SWDEV-2 - Change OpenCL version number from 1969 to 1970.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1716 edit
2015-12-10 03:09:17 -05:00
foreman ceac03c331 P4 to Git Change 1219002 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/09 03:00:11
SWDEV-2 - Change OpenCL version number from 1968 to 1969.

Affected files ...

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


[ROCm/clr commit: f71d4a0f85]
2015-12-09 03:07:43 -05:00
foreman f71d4a0f85 P4 to Git Change 1219002 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/09 03:00:11
SWDEV-2 - Change OpenCL version number from 1968 to 1969.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1715 edit
2015-12-09 03:07:43 -05:00
foreman 97b6b58b80 P4 to Git Change 1218642 by ashi1@ashi1_win50 on 2015/12/08 10:02:04
SWDEV-83237 - Remove R800/900 from SC build. Disable EG/NI as supported GPU in compiler library
	SC will soon remove support of R800/900. We need to get ready for it.
	Two thing needs to be done:
	1. update opencldefs to change R800_BUILD and R900_BUILD to 0
	2. update compiler/lib/utils/target_mappings.h and v0_8/target_mappings*.h to disable EG/NI GPUs as not supported.
	Update all ocltsts.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil.h#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#32 edit
... //depot/stg/opencl/drivers/opencl/opencldefs#165 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/BIF2xTo3x.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Barts.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_BeaverCreek.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Caicos.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Cayman.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Cedar.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Cypress.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Devastator.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Juniper.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Loveland.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Redwood.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Scrapper.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Turks.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_WinterPark.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/build/Makefile.binary#20 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/aclAPI.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/bif21_Barts.bin#3 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/build/Makefile.complib#38 edit


[ROCm/clr commit: dfb086584f]
2015-12-08 10:11:59 -05:00
foreman dfb086584f P4 to Git Change 1218642 by ashi1@ashi1_win50 on 2015/12/08 10:02:04
SWDEV-83237 - Remove R800/900 from SC build. Disable EG/NI as supported GPU in compiler library
	SC will soon remove support of R800/900. We need to get ready for it.
	Two thing needs to be done:
	1. update opencldefs to change R800_BUILD and R900_BUILD to 0
	2. update compiler/lib/utils/target_mappings.h and v0_8/target_mappings*.h to disable EG/NI GPUs as not supported.
	Update all ocltsts.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil.h#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#32 edit
... //depot/stg/opencl/drivers/opencl/opencldefs#165 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/BIF2xTo3x.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Barts.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_BeaverCreek.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Caicos.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Cayman.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Cedar.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Cypress.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Devastator.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Juniper.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Loveland.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Redwood.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Scrapper.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Turks.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_WinterPark.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/build/Makefile.binary#20 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/aclAPI.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/bif21_Barts.bin#3 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/build/Makefile.complib#38 edit
2015-12-08 10:11:59 -05:00
foreman 7b01cd393d P4 to Git Change 1218559 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/08 03:00:11
SWDEV-2 - Change OpenCL version number from 1967 to 1968.

Affected files ...

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


[ROCm/clr commit: 689df36770]
2015-12-08 03:09:24 -05:00
foreman 689df36770 P4 to Git Change 1218559 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/08 03:00:11
SWDEV-2 - Change OpenCL version number from 1967 to 1968.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1714 edit
2015-12-08 03:09:24 -05:00
Yair Shachar 8f529e3c72 Add support for per device debug register state tracking
Change-Id: I8d51670f5de8d379ead898d484f668a8034f9878
Signed-off-by: Yair Shachar <Yair.Shachar@amd.com>
2015-12-07 21:11:21 +02:00
Yair Shachar f01386b61c Add support for per device debug register state tracking
Change-Id: I8d51670f5de8d379ead898d484f668a8034f9878
Signed-off-by: Yair Shachar <Yair.Shachar@amd.com>


[ROCm/ROCR-Runtime commit: 8f529e3c72]
2015-12-07 21:11:21 +02:00
foreman cf9c9204df P4 to Git Change 1218185 by smekhano@stas-rampitec-hsa on 2015/12/07 11:46:59
SWDEV-83242 - RT: disable ADL reload in app detect
	Reload is disabled in ADL with the change list 1198904 and ticket
	SWDEV-59442 - The ADL_ApplicationProfiles_System_Reload Function is not Re-entrant.
	Returned value of the call is ADL_ERR_NOT_SUPPORTED on Windows.
	Thus appprofiles do not currently work with the OpenCL.
	This change removes reload call result check and profiles work again.

	Testing: smoke, precheckin, use of customized app profile
	Reviewed by German Andreev

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/appprofile.cpp#11 edit


[ROCm/clr commit: 86fe69e9ef]
2015-12-07 11:53:23 -05:00
foreman 86fe69e9ef P4 to Git Change 1218185 by smekhano@stas-rampitec-hsa on 2015/12/07 11:46:59
SWDEV-83242 - RT: disable ADL reload in app detect
	Reload is disabled in ADL with the change list 1198904 and ticket
	SWDEV-59442 - The ADL_ApplicationProfiles_System_Reload Function is not Re-entrant.
	Returned value of the call is ADL_ERR_NOT_SUPPORTED on Windows.
	Thus appprofiles do not currently work with the OpenCL.
	This change removes reload call result check and profiles work again.

	Testing: smoke, precheckin, use of customized app profile
	Reviewed by German Andreev

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/appprofile.cpp#11 edit
2015-12-07 11:53:23 -05:00
foreman 95b255e00b P4 to Git Change 1218081 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/07 03:00:11
SWDEV-2 - Change OpenCL version number from 1966 to 1967.

Affected files ...

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


[ROCm/clr commit: e9b3baa3d0]
2015-12-07 03:06:41 -05:00