Commit Graph

68445 Commits

Author SHA1 Message Date
foreman e7b10515af P4 to Git Change 1078478 by xcui@merged_opencl_jxcwin on 2014/09/18 17:18:02
EPR #397491 - disable OpenCL 2.0 for mainline when there are multiple devices in the system, because svm test will fail even test on the first device

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#462 edit
2014-09-18 18:15:20 -04:00
foreman 61c96486bb P4 to Git Change 1078307 by mbareghe@mbareghe_staging_win30 on 2014/09/18 13:54:53
ECR #304775 - clp re-implementation - Back out changelist 1077873 to investigate smoke_clang failures

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/clc/clpSrc/build/Makefile.clp#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/clc/clpSrc/clpVectorExpansion.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#112 edit
... //depot/stg/opencl/drivers/opencl/library/common/src/commonConversions.cl#15 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/build/Makefile.hsail#34 edit
... //depot/stg/opencl/drivers/opencl/library/x86/gen/build/Makefile.gen#15 edit


[ROCm/clr commit: 09c85802ff]
2014-09-18 14:03:26 -04:00
foreman 09c85802ff P4 to Git Change 1078307 by mbareghe@mbareghe_staging_win30 on 2014/09/18 13:54:53
ECR #304775 - clp re-implementation - Back out changelist 1077873 to investigate smoke_clang failures

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/clc/clpSrc/build/Makefile.clp#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/clc/clpSrc/clpVectorExpansion.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#112 edit
... //depot/stg/opencl/drivers/opencl/library/common/src/commonConversions.cl#15 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/build/Makefile.hsail#34 edit
... //depot/stg/opencl/drivers/opencl/library/x86/gen/build/Makefile.gen#15 edit
2014-09-18 14:03:26 -04:00
foreman c48a55626f P4 to Git Change 1078099 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/09/18 03:00:11
EPR #010002 - Change OpenCL version number from 1637 to 1638.

Affected files ...

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


[ROCm/clr commit: ddf76db1d4]
2014-09-18 03:11:33 -04:00
foreman ddf76db1d4 P4 to Git Change 1078099 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/09/18 03:00:11
EPR #010002 - Change OpenCL version number from 1637 to 1638.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1384 edit
2014-09-18 03:11:33 -04:00
foreman 10a5371f59 P4 to Git Change 1078026 by yaxunl@yaxunl_stg_win50 on 2014/09/17 21:51:23
EPR #402000 - Add option to control SC reg alloc strategy.

	[CQE OCL][Perf][QR] ~6-7% perf drop in CompuCL Benchmark (Graphics: T-Rex subtest).

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/scwrapper/SI/scStateSI.cpp#25 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#115 edit


[ROCm/clr commit: 478f10bc24]
2014-09-17 21:58:55 -04:00
foreman 478f10bc24 P4 to Git Change 1078026 by yaxunl@yaxunl_stg_win50 on 2014/09/17 21:51:23
EPR #402000 - Add option to control SC reg alloc strategy.

	[CQE OCL][Perf][QR] ~6-7% perf drop in CompuCL Benchmark (Graphics: T-Rex subtest).

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/scwrapper/SI/scStateSI.cpp#25 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#115 edit
2014-09-17 21:58:55 -04:00
foreman c2bdf9f6c8 P4 to Git Change 1077873 by mbareghe@mbareghe_staging_win30 on 2014/09/17 13:47:49
ECR #304775 - clp re-implementation - refactoring and generalization of clpVectorExpansion to work on both edg and clang

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/clc/clpSrc/build/Makefile.clp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/clc/clpSrc/clpVectorExpansion.cpp#25 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#111 edit
... //depot/stg/opencl/drivers/opencl/library/common/src/commonConversions.cl#14 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/build/Makefile.hsail#33 edit
... //depot/stg/opencl/drivers/opencl/library/x86/gen/build/Makefile.gen#14 edit


[ROCm/clr commit: 4099ccc281]
2014-09-17 13:58:52 -04:00
foreman 4099ccc281 P4 to Git Change 1077873 by mbareghe@mbareghe_staging_win30 on 2014/09/17 13:47:49
ECR #304775 - clp re-implementation - refactoring and generalization of clpVectorExpansion to work on both edg and clang

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/clc/clpSrc/build/Makefile.clp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/clc/clpSrc/clpVectorExpansion.cpp#25 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#111 edit
... //depot/stg/opencl/drivers/opencl/library/common/src/commonConversions.cl#14 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/build/Makefile.hsail#33 edit
... //depot/stg/opencl/drivers/opencl/library/x86/gen/build/Makefile.gen#14 edit
2014-09-17 13:58:52 -04:00
foreman 70f74f658c P4 to Git Change 1077715 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/09/17 03:00:15
EPR #010002 - Change OpenCL version number from 1636 to 1637.

Affected files ...

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


[ROCm/clr commit: 0ae51a1467]
2014-09-17 03:25:51 -04:00
foreman 0ae51a1467 P4 to Git Change 1077715 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/09/17 03:00:15
EPR #010002 - Change OpenCL version number from 1636 to 1637.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1383 edit
2014-09-17 03:25:51 -04:00
foreman b3a2e596d3 P4 to Git Change 1077642 by yaxunl@yaxunl_stg_win50 on 2014/09/16 23:00:53
EPR #402000 - [CQE OCL][Perf][QR] ~6-7% perf drop in CompuCL Benchmark (Graphics: T-Rex subtest).

	Add option to disable SC merge memory loads and stores. By default it is disabled. Will decide whether to enable it by default after performance runs.
	cherrypick 1076590 and CL#1077419 from sc stg for adding option in sc.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc/Interface/SCCommon.h#42 integrate
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc/Src/CompilerBase.cpp#51 integrate
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc/Src/CompilerBase.hpp#35 integrate
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc/Src/HwUtils.cpp#36 integrate
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/scwrapper/scState.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#114 edit


[ROCm/clr commit: a49ebf6f6e]
2014-09-16 23:14:51 -04:00
foreman a49ebf6f6e P4 to Git Change 1077642 by yaxunl@yaxunl_stg_win50 on 2014/09/16 23:00:53
EPR #402000 - [CQE OCL][Perf][QR] ~6-7% perf drop in CompuCL Benchmark (Graphics: T-Rex subtest).

	Add option to disable SC merge memory loads and stores. By default it is disabled. Will decide whether to enable it by default after performance runs.
	cherrypick 1076590 and CL#1077419 from sc stg for adding option in sc.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc/Interface/SCCommon.h#42 integrate
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc/Src/CompilerBase.cpp#51 integrate
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc/Src/CompilerBase.hpp#35 integrate
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc/Src/HwUtils.cpp#36 integrate
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/scwrapper/scState.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#114 edit
2014-09-16 23:14:51 -04:00
foreman 97365d23c4 P4 to Git Change 1077444 by gandryey@gera-dev-w7 on 2014/09/16 14:31:35
ECR #304775 - Add capability to enable large allocations >4GB
	- Update the blit kernels to consider a buffer size >4GB

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/blitcl.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpublit.cpp#110 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#280 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsablit.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#214 edit


[ROCm/clr commit: b672b6c4da]
2014-09-16 14:43:17 -04:00
foreman b672b6c4da P4 to Git Change 1077444 by gandryey@gera-dev-w7 on 2014/09/16 14:31:35
ECR #304775 - Add capability to enable large allocations >4GB
	- Update the blit kernels to consider a buffer size >4GB

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/blitcl.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpublit.cpp#110 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#280 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsablit.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#214 edit
2014-09-16 14:43:17 -04:00
foreman 942888ab4a P4 to Git Change 1077370 by emankov@em-hsa-amd on 2014/09/16 12:02:36
ECR #333753 - HSA RT: avoiding superfluous recompilations on ORCA RT/HSA path

	Next compilation stage determination based on binary sections and options (while linkImpl).

	If current HSAILProgram options are equal to binary’s ones:
	- Do not generate BRIG if BRIG sections are already presented in binary.
	- Do not finalize BRIG->ISA if ISA is already presented in binary.
	- Perform only CG phase if HSAIL is absent in binary.

	Always perform only brig loading (even in case of ISA presented).

	Testing: pre check-in, compile & basic ocl conformance 2.0 tests

	Reviewer: German Andryeyev

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpucompiler.cpp#150 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#264 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#101 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#177 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#55 edit


[ROCm/clr commit: ff7ab4a0b2]
2014-09-16 12:21:42 -04:00
foreman ff7ab4a0b2 P4 to Git Change 1077370 by emankov@em-hsa-amd on 2014/09/16 12:02:36
ECR #333753 - HSA RT: avoiding superfluous recompilations on ORCA RT/HSA path

	Next compilation stage determination based on binary sections and options (while linkImpl).

	If current HSAILProgram options are equal to binary’s ones:
	- Do not generate BRIG if BRIG sections are already presented in binary.
	- Do not finalize BRIG->ISA if ISA is already presented in binary.
	- Perform only CG phase if HSAIL is absent in binary.

	Always perform only brig loading (even in case of ISA presented).

	Testing: pre check-in, compile & basic ocl conformance 2.0 tests

	Reviewer: German Andryeyev

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpucompiler.cpp#150 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#264 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#101 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#177 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#55 edit
2014-09-16 12:21:42 -04:00
foreman 8c5bc4a9ca P4 to Git Change 1077336 by emankov@em-hsa-amd on 2014/09/16 11:13:20
ECR #333753 - Compiler Lib/RT: Fix RT_DEVICE_ENQUEUE & RT_KERNEL_INDEX querying

	tests: pre check-in, compiler ocl conformance tests

	Reviewer: German Andryeyev, Vinay Madhusudan

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#48 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#263 edit


[ROCm/clr commit: 09fb6c961b]
2014-09-16 11:54:47 -04:00
foreman 09fb6c961b P4 to Git Change 1077336 by emankov@em-hsa-amd on 2014/09/16 11:13:20
ECR #333753 - Compiler Lib/RT: Fix RT_DEVICE_ENQUEUE & RT_KERNEL_INDEX querying

	tests: pre check-in, compiler ocl conformance tests

	Reviewer: German Andryeyev, Vinay Madhusudan

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#48 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#263 edit
2014-09-16 11:54:47 -04:00
foreman 2fe29882fa P4 to Git Change 1077270 by emankov@em-hsa-amd on 2014/09/16 09:26:09
ECR #333753 - Compiler Lib: Bug fix in string options comparison

	Tests: smoke, precheck-in

	Reviewer: Brian Sumner, Artem Tamazov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/options.cpp#30 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/options.hpp#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpucompiler.cpp#149 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#176 edit


[ROCm/clr commit: 9c02c73c2f]
2014-09-16 09:39:53 -04:00
foreman 9c02c73c2f P4 to Git Change 1077270 by emankov@em-hsa-amd on 2014/09/16 09:26:09
ECR #333753 - Compiler Lib: Bug fix in string options comparison

	Tests: smoke, precheck-in

	Reviewer: Brian Sumner, Artem Tamazov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/options.cpp#30 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/options.hpp#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpucompiler.cpp#149 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#176 edit
2014-09-16 09:39:53 -04:00
foreman 6f9b379fd7 P4 to Git Change 1077181 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/09/16 03:00:11
EPR #010002 - Change OpenCL version number from 1635 to 1636.

Affected files ...

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


[ROCm/clr commit: 44b425a7a5]
2014-09-16 03:09:12 -04:00
foreman 44b425a7a5 P4 to Git Change 1077181 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/09/16 03:00:11
EPR #010002 - Change OpenCL version number from 1635 to 1636.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1382 edit
2014-09-16 03:09:12 -04:00
foreman 0774d9ddbb P4 to Git Change 1076975 by jgolds@jgolds_MSDNfractal5_opencl_stg on 2014/09/15 13:22:38
ECR #304775 - Update resource cache behavior

	Currently, the resource cache is fixed at 64MB regardless of available video memory size. Changed the logic to use max(1/8th video memory, 64MB). This is still overrideable with the env. var. GPU_RESOURCE_CACHE_SIZE.

	Improvements with changes: 18% decrease in video chat face detect time on 95w Kaveri (no change in PCMark8 score as we already achieved 30fps), 14% improvement on 19w Kaveri (this does result in an improvement in PCMark8 since the APU is slower).

Affected files ...

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


[ROCm/clr commit: fc2687df3a]
2014-09-15 13:28:54 -04:00
foreman fc2687df3a P4 to Git Change 1076975 by jgolds@jgolds_MSDNfractal5_opencl_stg on 2014/09/15 13:22:38
ECR #304775 - Update resource cache behavior

	Currently, the resource cache is fixed at 64MB regardless of available video memory size. Changed the logic to use max(1/8th video memory, 64MB). This is still overrideable with the env. var. GPU_RESOURCE_CACHE_SIZE.

	Improvements with changes: 18% decrease in video chat face detect time on 95w Kaveri (no change in PCMark8 score as we already achieved 30fps), 14% improvement on 19w Kaveri (this does result in an improvement in PCMark8 since the APU is slower).

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#279 edit
2014-09-15 13:28:54 -04:00
foreman 512752e821 P4 to Git Change 1076784 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/09/15 03:00:16
EPR #010002 - Change OpenCL version number from 1634 to 1635.

Affected files ...

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


[ROCm/clr commit: fe0dedc497]
2014-09-15 03:12:34 -04:00
foreman fe0dedc497 P4 to Git Change 1076784 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/09/15 03:00:16
EPR #010002 - Change OpenCL version number from 1634 to 1635.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1381 edit
2014-09-15 03:12:34 -04:00
foreman ab4b371960 P4 to Git Change 1076725 by bdhanase@bala_workpc_ocl on 2014/09/14 23:52:04
EPR #399601 - Report CZ as a 2.0 device

Affected files ...

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


[ROCm/clr commit: 93b88902dc]
2014-09-14 23:58:52 -04:00
foreman 93b88902dc P4 to Git Change 1076725 by bdhanase@bala_workpc_ocl on 2014/09/14 23:52:04
EPR #399601 - Report CZ as a 2.0 device

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#278 edit
2014-09-14 23:58:52 -04:00
foreman 6b9155cf5a P4 to Git Change 1076634 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/09/13 03:00:12
EPR #010002 - Change OpenCL version number from 1633 to 1634.

Affected files ...

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


[ROCm/clr commit: 585664f084]
2014-09-13 03:08:06 -04:00
foreman 585664f084 P4 to Git Change 1076634 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/09/13 03:00:12
EPR #010002 - Change OpenCL version number from 1633 to 1634.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1380 edit
2014-09-13 03:08:06 -04:00
foreman fb6d8c3c1c P4 to Git Change 1076600 by gandryey@gera-dev-w7 on 2014/09/12 18:30:59
ECR #304775 - Correct OPENCL_VERSION key check for staging

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#461 edit


[ROCm/clr commit: f33c12010a]
2014-09-12 18:36:05 -04:00
foreman f33c12010a P4 to Git Change 1076600 by gandryey@gera-dev-w7 on 2014/09/12 18:30:59
ECR #304775 - Correct OPENCL_VERSION key check for staging

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#461 edit
2014-09-12 18:36:05 -04:00
foreman 8f12eae36d P4 to Git Change 1076493 by yaxunl@yaxunl_stg_win50 on 2014/09/12 14:45:24
ECR #377625 - AMDIL Function support: Calculate total private memory usage by a kernel including memory used by called functions.

	This cannot be done by IPA since stack size is known only after register allocation due to potential register spill, but MachineFunctionAnalysis cannot persist after CGSCC pass with current LLVM version.

	This change adds private memory usage metadata for non-kernel functions. The total private memory usage by a kernel is calculated when AMDIL is split for different kernels. BIF will contain total private memory size.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/amdilUtils.cpp#1 add
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/amdilUtils.hpp#1 add
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILKernelManager.cpp#451 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILKernelManager.h#51 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#175 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#54 edit


[ROCm/clr commit: 42f4b2af97]
2014-09-12 15:02:32 -04:00
foreman 42f4b2af97 P4 to Git Change 1076493 by yaxunl@yaxunl_stg_win50 on 2014/09/12 14:45:24
ECR #377625 - AMDIL Function support: Calculate total private memory usage by a kernel including memory used by called functions.

	This cannot be done by IPA since stack size is known only after register allocation due to potential register spill, but MachineFunctionAnalysis cannot persist after CGSCC pass with current LLVM version.

	This change adds private memory usage metadata for non-kernel functions. The total private memory usage by a kernel is calculated when AMDIL is split for different kernels. BIF will contain total private memory size.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/amdilUtils.cpp#1 add
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/amdilUtils.hpp#1 add
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILKernelManager.cpp#451 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/AMDIL/AMDILKernelManager.h#51 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#175 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#54 edit
2014-09-12 15:02:32 -04:00
foreman b449a9d680 P4 to Git Change 1076356 by smekhano@rampitec-HSA on 2014/09/12 09:35:57
ECR #333753 - HSA HLC: remove code changing the default filetype which is set by an external tool such as llc
	Effectively llc will produce text hsail file by default as a standard llc behaviour. Use -filetype=obj to obtain brig.
	Note, test_driver.pl is already patched to preserve old behaviour.

	Testing: smoke, smoke_clang, precheckin
	Reviewed by Nikolay Haustov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/codegen.cpp#58 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILTargetMachine.cpp#33 edit


[ROCm/clr commit: fea6100aa9]
2014-09-12 09:42:39 -04:00
foreman fea6100aa9 P4 to Git Change 1076356 by smekhano@rampitec-HSA on 2014/09/12 09:35:57
ECR #333753 - HSA HLC: remove code changing the default filetype which is set by an external tool such as llc
	Effectively llc will produce text hsail file by default as a standard llc behaviour. Use -filetype=obj to obtain brig.
	Note, test_driver.pl is already patched to preserve old behaviour.

	Testing: smoke, smoke_clang, precheckin
	Reviewed by Nikolay Haustov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/codegen.cpp#58 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILTargetMachine.cpp#33 edit
2014-09-12 09:42:39 -04:00
foreman 9b14cee39c P4 to Git Change 1076270 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/09/12 03:00:13
EPR #010002 - Change OpenCL version number from 1632 to 1633.

Affected files ...

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


[ROCm/clr commit: 6fddbe6449]
2014-09-12 03:09:18 -04:00
foreman 6fddbe6449 P4 to Git Change 1076270 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/09/12 03:00:13
EPR #010002 - Change OpenCL version number from 1632 to 1633.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1379 edit
2014-09-12 03:09:18 -04:00
foreman e4a0212bbe P4 to Git Change 1076147 by rili@rili_opencl_stg on 2014/09/11 17:44:11
EPR #405753 - Fixed incorrect value of slicePitch returned from clEnqueueMapimage for 1Darray.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#111 edit


[ROCm/clr commit: edb288692d]
2014-09-11 18:10:22 -04:00
foreman edb288692d P4 to Git Change 1076147 by rili@rili_opencl_stg on 2014/09/11 17:44:11
EPR #405753 - Fixed incorrect value of slicePitch returned from clEnqueueMapimage for 1Darray.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#111 edit
2014-09-11 18:10:22 -04:00
foreman b0868e0475 P4 to Git Change 1075901 by gandryey@gera-dev-w7 on 2014/09/11 11:15:25
ECR #304775 - Make sure runtime detects USWC memory for subbuffers

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#110 edit


[ROCm/clr commit: c4c488b53f]
2014-09-11 11:32:24 -04:00
foreman c4c488b53f P4 to Git Change 1075901 by gandryey@gera-dev-w7 on 2014/09/11 11:15:25
ECR #304775 - Make sure runtime detects USWC memory for subbuffers

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#110 edit
2014-09-11 11:32:24 -04:00
foreman ef43050562 P4 to Git Change 1075755 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/09/11 03:00:11
EPR #010002 - Change OpenCL version number from 1631 to 1632.

Affected files ...

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


[ROCm/clr commit: 93ee6bb034]
2014-09-11 03:25:34 -04:00
foreman 93ee6bb034 P4 to Git Change 1075755 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/09/11 03:00:11
EPR #010002 - Change OpenCL version number from 1631 to 1632.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1378 edit
2014-09-11 03:25:34 -04:00
foreman 7cafd57a3f P4 to Git Change 1075489 by marsenau@marsenau_ma on 2014/09/10 15:05:23
EPR #405194 - Change unroll threshold to LLVM default to partially work around Linpack performance problem.

	Prior to CL 1058428, which increased the unroll threshold to 200, this was only 100 which is lower than the LLVM default. Linpack's new ISA has increased register usage, but decreasing the unroll threshold to the previous level does not reduce the register count to its previous level. The increased register usage is probably a new SC problem, so this should probably be increased again in the future. There is no change in register usage with 100 vs. 150 on Linpack.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#113 edit


[ROCm/clr commit: d5f7502ca8]
2014-09-10 15:52:30 -04:00
foreman d5f7502ca8 P4 to Git Change 1075489 by marsenau@marsenau_ma on 2014/09/10 15:05:23
EPR #405194 - Change unroll threshold to LLVM default to partially work around Linpack performance problem.

	Prior to CL 1058428, which increased the unroll threshold to 200, this was only 100 which is lower than the LLVM default. Linpack's new ISA has increased register usage, but decreasing the unroll threshold to the previous level does not reduce the register count to its previous level. The increased register usage is probably a new SC problem, so this should probably be increased again in the future. There is no change in register usage with 100 vs. 150 on Linpack.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#113 edit
2014-09-10 15:52:30 -04:00
foreman a0506d2387 P4 to Git Change 1075485 by marsenau@marsenau_ma on 2014/09/10 15:00:38
ECR #304775 - Remove _ in hsail_64 triple enum name. It isn't consistent with itself, or most other targets. The string form is already "hsail64", but the target name is sometimes "hsail-64". Does not remove the - in "hsail-64" for the target name since users could be depending on that, although that should also be fixed.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/codegen.cpp#57 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#110 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/ADT/Triple.h#36 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/AMDLLVMContextHook.h#22 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/MC/MCObjectFileInfo.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Support/Triple.cpp#47 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/TargetInfo/HSAILTargetInfo.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/SPIR/AMDSPIRLoader.cpp#82 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/Scalar/AMDLowerAtomics.cpp#13 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/Utils/AMDUtils.cpp#2 edit


[ROCm/clr commit: c02dacedb2]
2014-09-10 15:30:51 -04:00
foreman c02dacedb2 P4 to Git Change 1075485 by marsenau@marsenau_ma on 2014/09/10 15:00:38
ECR #304775 - Remove _ in hsail_64 triple enum name. It isn't consistent with itself, or most other targets. The string form is already "hsail64", but the target name is sometimes "hsail-64". Does not remove the - in "hsail-64" for the target name since users could be depending on that, although that should also be fixed.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/codegen.cpp#57 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#110 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/ADT/Triple.h#36 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/AMDLLVMContextHook.h#22 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/MC/MCObjectFileInfo.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Support/Triple.cpp#47 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/TargetInfo/HSAILTargetInfo.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/SPIR/AMDSPIRLoader.cpp#82 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/Scalar/AMDLowerAtomics.cpp#13 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/Utils/AMDUtils.cpp#2 edit
2014-09-10 15:30:51 -04:00
foreman 525f1b5360 P4 to Git Change 1075455 by shxiao@profilerworksp on 2014/09/10 14:12:27
EPR #403493 - Block index error for CI and VI, OCL code change

	Problem description: The OCL implementation requires HSA to used different block index values for CI and VI. However, the same index value is used for the same counter block in both CI and VI, which in turn caused a segmentation fault.

	Root cause: HSA implementation does not know this situation before hand.

	Solution: Fix to use different counter block index in CI from that in VI

	Functional area: HSA perf counter implementation...

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsacounters.cpp#4 edit


[ROCm/clr commit: f517eefd51]
2014-09-10 15:04:08 -04:00