76333 Commits

Author SHA1 Message Date
Harish Kasiviswanathan ee891bed05 Refactor hsa_gfxip_table lookup
Also fix some formatting

Change-Id: Ia04d7a9cd3972cc4d283c576161de639027aac6d


[ROCm/ROCR-Runtime commit: f2a46101d3]
2015-10-08 11:52:59 -04:00
foreman ff2d1b3000 P4 to Git Change 1198011 by emankov@em-hsa-amd on 2015/10/08 11:16:29
SWDEV-77522 - fix for erroneous CL_DEVICE_VERSION reporting by RT for HSAIL.

	[Synopsis]
	On a CI+ Device (KV, for example) if GPU_HSAIL_ENABLE=1 (which forcing HSAIL) CL_DEVICE_VERSION reported by RT is 1.2; if GPU_HSAIL_ENABLE=0 (default for now), then CL_DEVICE_VERSION = 2.0. It looks like this behaviour exists since then HSAIL was based on EDG, which supports only OpenCL 1.2. Now when HSAIL is based on Clang and supports OpenCL 2.0, there is no need in lowering CL Device Version at all for all CI+ devices nomatter the default path is (HSAIL or AMDIL).

	This bug is a stopper for enabling HSAIL by default for OpenCL 1.2. Actually the problem occurs with OpenCL 2.0 programs when forcing them on HSAIL but with -cl-std=CL2.0 option, since they couldn't be executed on 1.2 device.

	Testing: Pre check-in.

	Reviewer: German Andryeyev

Affected files ...

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


[ROCm/clr commit: 3e0185a205]
2015-10-08 11:27:15 -04:00
foreman 3e0185a205 P4 to Git Change 1198011 by emankov@em-hsa-amd on 2015/10/08 11:16:29
SWDEV-77522 - fix for erroneous CL_DEVICE_VERSION reporting by RT for HSAIL.

	[Synopsis]
	On a CI+ Device (KV, for example) if GPU_HSAIL_ENABLE=1 (which forcing HSAIL) CL_DEVICE_VERSION reported by RT is 1.2; if GPU_HSAIL_ENABLE=0 (default for now), then CL_DEVICE_VERSION = 2.0. It looks like this behaviour exists since then HSAIL was based on EDG, which supports only OpenCL 1.2. Now when HSAIL is based on Clang and supports OpenCL 2.0, there is no need in lowering CL Device Version at all for all CI+ devices nomatter the default path is (HSAIL or AMDIL).

	This bug is a stopper for enabling HSAIL by default for OpenCL 1.2. Actually the problem occurs with OpenCL 2.0 programs when forcing them on HSAIL but with -cl-std=CL2.0 option, since they couldn't be executed on 1.2 device.

	Testing: Pre check-in.

	Reviewer: German Andryeyev

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#330 edit
2015-10-08 11:27:15 -04:00
foreman 6981732926 P4 to Git Change 1197854 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/10/08 03:00:13
SWDEV-2 - Change OpenCL version number from 1906 to 1907.

Affected files ...

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


[ROCm/clr commit: 74b1183f97]
2015-10-08 03:15:51 -04:00
foreman 74b1183f97 P4 to Git Change 1197854 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/10/08 03:00:13
SWDEV-2 - Change OpenCL version number from 1906 to 1907.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1653 edit
2015-10-08 03:15:51 -04:00
foreman ced0ffc42c P4 to Git Change 1197728 by xcui@merged_opencl_jxcwin on 2015/10/07 18:15:58
SWDEV-59579 - using existing function to simplify the code.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#301 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#385 edit


[ROCm/clr commit: bc8a28c577]
2015-10-07 19:24:44 -04:00
foreman bc8a28c577 P4 to Git Change 1197728 by xcui@merged_opencl_jxcwin on 2015/10/07 18:15:58
SWDEV-59579 - using existing function to simplify the code.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#301 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#385 edit
2015-10-07 19:24:44 -04:00
foreman c3954f8fdf P4 to Git Change 1197441 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/10/07 03:00:11
SWDEV-2 - Change OpenCL version number from 1905 to 1906.

Affected files ...

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


[ROCm/clr commit: 66a50cca4a]
2015-10-07 03:07:15 -04:00
foreman 66a50cca4a P4 to Git Change 1197441 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/10/07 03:00:11
SWDEV-2 - Change OpenCL version number from 1905 to 1906.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1652 edit
2015-10-07 03:07:15 -04:00
foreman c7adad3eb0 P4 to Git Change 1197295 by gandryey@gera-ubuntu14 on 2015/10/06 14:50:12
SWDEV-78052 - [CQE-OCL][DTB][QR][LNX]RQ conf test "Multiple device context" fails in few asics due to CL#1196902
	- Restore synchronization on the DMA engine. OCL doesn't require a sync, because resource isn't busy on the CAL device. However without sync there are less CBs available. Conformanace multidevice test will create around 60 queues, instead of 70

Affected files ...

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


[ROCm/clr commit: 86bc25cad2]
2015-10-06 15:00:30 -04:00
foreman 86bc25cad2 P4 to Git Change 1197295 by gandryey@gera-ubuntu14 on 2015/10/06 14:50:12
SWDEV-78052 - [CQE-OCL][DTB][QR][LNX]RQ conf test "Multiple device context" fails in few asics due to CL#1196902
	- Restore synchronization on the DMA engine. OCL doesn't require a sync, because resource isn't busy on the CAL device. However without sync there are less CBs available. Conformanace multidevice test will create around 60 queues, instead of 70

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#147 edit
2015-10-06 15:00:30 -04:00
foreman fb0cfaeef3 P4 to Git Change 1197288 by mbareghe@mbareghe_stg_win30 on 2015/10/06 14:29:07
SWDEV-78024 - SYCL - Issue with printf when printing a string without format specifier - removed the condition to expand printf only if it has more than one arguemnt.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/AMDILPrintfConvert.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/test/CodeGen/AMDIL/printf_without_format_specifier.ll#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprintf.cpp#39 edit


[ROCm/clr commit: cb963bf9eb]
2015-10-06 14:37:59 -04:00
foreman cb963bf9eb P4 to Git Change 1197288 by mbareghe@mbareghe_stg_win30 on 2015/10/06 14:29:07
SWDEV-78024 - SYCL - Issue with printf when printing a string without format specifier - removed the condition to expand printf only if it has more than one arguemnt.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/AMDILPrintfConvert.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/test/CodeGen/AMDIL/printf_without_format_specifier.ll#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprintf.cpp#39 edit
2015-10-06 14:37:59 -04:00
foreman babb59fc2c P4 to Git Change 1197115 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/10/06 03:00:11
SWDEV-2 - Change OpenCL version number from 1904 to 1905.

Affected files ...

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


[ROCm/clr commit: 8b5fd219a9]
2015-10-06 03:10:19 -04:00
foreman 8b5fd219a9 P4 to Git Change 1197115 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/10/06 03:00:11
SWDEV-2 - Change OpenCL version number from 1904 to 1905.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1651 edit
2015-10-06 03:10:19 -04:00
Felix Kuehling b94ae66c62 Update HsaMemFlags.ui32.CoarseGrain comment
As advised by Paul Blinzer

Change-Id: Icabf4acd94866ddbbe53faf48a71e1113f0c76b6
2015-10-05 16:48:50 -04:00
Felix Kuehling 8f0b7e6a76 Update HsaMemFlags.ui32.CoarseGrain comment
As advised by Paul Blinzer

Change-Id: Icabf4acd94866ddbbe53faf48a71e1113f0c76b6


[ROCm/ROCR-Runtime commit: b94ae66c62]
2015-10-05 16:48:50 -04:00
foreman 6039d4e884 P4 to Git Change 1196959 by jatang@jatang-opencl-hsa-stg2 on 2015/10/05 15:47:53
SWDEV-77321 - Change some Wave Limiter variables to 64bit to avoid integer overflow.

	Luxmark v3.0 is getting performance regression due to incorrect adapting result caused by integer overflow:

	ratio_[wave] = trial_[wave] * 100 / reference_[wave];

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuwavelimiter.hpp#5 edit


[ROCm/clr commit: 112a70b4ec]
2015-10-05 15:53:47 -04:00
foreman 112a70b4ec P4 to Git Change 1196959 by jatang@jatang-opencl-hsa-stg2 on 2015/10/05 15:47:53
SWDEV-77321 - Change some Wave Limiter variables to 64bit to avoid integer overflow.

	Luxmark v3.0 is getting performance regression due to incorrect adapting result caused by integer overflow:

	ratio_[wave] = trial_[wave] * 100 / reference_[wave];

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuwavelimiter.hpp#5 edit
2015-10-05 15:53:47 -04:00
foreman eb828d74ed P4 to Git Change 1196935 by jatang@jatang-ocl-lnx1 on 2015/10/05 14:37:02
SWDEV-77321 - Runtime to replace metadata LimitWave with WavePerSimdHint.

	Compiler has changed LimitWave to WavePerSimdHint, so runtime need to make corresponding change to have the Wave Limiter continue working.

	WavePerSimdHint=1,...,10 will be dealt with later.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#258 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#300 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#119 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuwavelimiter.cpp#8 edit


[ROCm/clr commit: d4d9167613]
2015-10-05 14:48:16 -04:00
foreman d4d9167613 P4 to Git Change 1196935 by jatang@jatang-ocl-lnx1 on 2015/10/05 14:37:02
SWDEV-77321 - Runtime to replace metadata LimitWave with WavePerSimdHint.

	Compiler has changed LimitWave to WavePerSimdHint, so runtime need to make corresponding change to have the Wave Limiter continue working.

	WavePerSimdHint=1,...,10 will be dealt with later.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#258 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#300 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#119 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuwavelimiter.cpp#8 edit
2015-10-05 14:48:16 -04:00
foreman 0068d75f03 P4 to Git Change 1196902 by gandryey@gera-dev-w7 on 2015/10/05 13:18:47
SWDEV-77981 - Clean-up CAL map/unmap functionality
	- Keep map information only for SDMA copy. GSL map/unmap doesn't require any tracking
	- simplify the interface to return the address from map()

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#229 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.hpp#85 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/EventQueue.h#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLContext.cpp#80 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#146 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.h#58 edit


[ROCm/clr commit: 7b6c0331d1]
2015-10-05 13:25:42 -04:00
foreman 7b6c0331d1 P4 to Git Change 1196902 by gandryey@gera-dev-w7 on 2015/10/05 13:18:47
SWDEV-77981 - Clean-up CAL map/unmap functionality
	- Keep map information only for SDMA copy. GSL map/unmap doesn't require any tracking
	- simplify the interface to return the address from map()

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#229 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.hpp#85 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/EventQueue.h#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLContext.cpp#80 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#146 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.h#58 edit
2015-10-05 13:25:42 -04:00
foreman c773efee15 P4 to Git Change 1196785 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/10/05 03:00:11
SWDEV-2 - Change OpenCL version number from 1903 to 1904.

Affected files ...

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


[ROCm/clr commit: 2d8dd20ed1]
2015-10-05 03:09:44 -04:00
foreman 2d8dd20ed1 P4 to Git Change 1196785 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/10/05 03:00:11
SWDEV-2 - Change OpenCL version number from 1903 to 1904.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1650 edit
2015-10-05 03:09:44 -04:00
foreman dbfe5b098c P4 to Git Change 1196768 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/10/04 03:00:12
SWDEV-2 - Change OpenCL version number from 1902 to 1903.

Affected files ...

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


[ROCm/clr commit: a19486245f]
2015-10-04 03:09:34 -04:00
foreman a19486245f P4 to Git Change 1196768 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/10/04 03:00:12
SWDEV-2 - Change OpenCL version number from 1902 to 1903.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1649 edit
2015-10-04 03:09:34 -04:00
foreman 9534cfef40 P4 to Git Change 1196757 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/10/03 03:00:11
SWDEV-2 - Change OpenCL version number from 1901 to 1902.

Affected files ...

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


[ROCm/clr commit: 1acc88b862]
2015-10-03 03:11:07 -04:00
foreman 1acc88b862 P4 to Git Change 1196757 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/10/03 03:00:11
SWDEV-2 - Change OpenCL version number from 1901 to 1902.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1648 edit
2015-10-03 03:11:07 -04:00
foreman ad0374cf19 P4 to Git Change 1196709 by gandryey@gera-w8 on 2015/10/02 18:27:00
SWDEV-77510 - cl_amd_topology doesn't return the correct bus id on a two socket system
	- replace cl_char with cl_uchar

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl_ext.h#10 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#17 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_ext.h#3 edit


[ROCm/clr commit: 16e02e529c]
2015-10-02 18:43:51 -04:00
foreman 16e02e529c P4 to Git Change 1196709 by gandryey@gera-w8 on 2015/10/02 18:27:00
SWDEV-77510 - cl_amd_topology doesn't return the correct bus id on a two socket system
	- replace cl_char with cl_uchar

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl_ext.h#10 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#17 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_ext.h#3 edit
2015-10-02 18:43:51 -04:00
Felix Kuehling 8e836f8183 Setup APE1 on dGPU for coherent access
The default is non-coherent access for better performance on dGPU.
Disabled hsaKmtSetMemoryPolicy function on dGPU to prevent app from
overriding the APE1 settings at runtime.
Fixed dGPU VM aperture limit to be inclusive.

Change-Id: I378ff74a654f533572775c0c97c19779a56bc6d9
2015-10-02 17:20:33 -04:00
Felix Kuehling f09c6b84af Setup APE1 on dGPU for coherent access
The default is non-coherent access for better performance on dGPU.
Disabled hsaKmtSetMemoryPolicy function on dGPU to prevent app from
overriding the APE1 settings at runtime.
Fixed dGPU VM aperture limit to be inclusive.

Change-Id: I378ff74a654f533572775c0c97c19779a56bc6d9


[ROCm/ROCR-Runtime commit: 8e836f8183]
2015-10-02 17:20:33 -04:00
Felix Kuehling 7505893cc7 Add all gfx802 device IDs to supported_devices
Without this, queue creation segfaults on unknown devices.

Change-Id: Ieea0bc4783e7313b3dcdabf03ab1269e3670b217
2015-10-02 15:33:37 -04:00
Felix Kuehling c3a1263604 Add all gfx802 device IDs to supported_devices
Without this, queue creation segfaults on unknown devices.

Change-Id: Ieea0bc4783e7313b3dcdabf03ab1269e3670b217


[ROCm/ROCR-Runtime commit: 7505893cc7]
2015-10-02 15:33:37 -04:00
foreman 7b852c18c0 P4 to Git Change 1196584 by gandryey@gera-dev-w7 on 2015/10/02 14:01:41
SWDEV-77880 - Enable memory dependency tracking for HSAIL path
	- Use read/write attribute provided by the compiler for async execution optimization

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#299 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#118 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#384 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.hpp#136 edit


[ROCm/clr commit: f8648f412d]
2015-10-02 14:19:07 -04:00
foreman f8648f412d P4 to Git Change 1196584 by gandryey@gera-dev-w7 on 2015/10/02 14:01:41
SWDEV-77880 - Enable memory dependency tracking for HSAIL path
	- Use read/write attribute provided by the compiler for async execution optimization

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#299 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#118 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#384 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.hpp#136 edit
2015-10-02 14:19:07 -04:00
foreman 829d3711e9 P4 to Git Change 1196477 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/10/02 03:00:10
SWDEV-2 - Change OpenCL version number from 1900 to 1901.

Affected files ...

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


[ROCm/clr commit: f5c30d2ca0]
2015-10-02 03:08:31 -04:00
foreman f5c30d2ca0 P4 to Git Change 1196477 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/10/02 03:00:10
SWDEV-2 - Change OpenCL version number from 1900 to 1901.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1647 edit
2015-10-02 03:08:31 -04:00
foreman 367795798b P4 to Git Change 1196382 by rili@rili_opencl_stg on 2015/10/01 16:18:37
SWDEV-58155 -  Reduce maximum size of queue on device from 16MB to 8MB.

Affected files ...

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


[ROCm/clr commit: 3847ee8ceb]
2015-10-01 16:27:15 -04:00
foreman 3847ee8ceb P4 to Git Change 1196382 by rili@rili_opencl_stg on 2015/10/01 16:18:37
SWDEV-58155 -  Reduce maximum size of queue on device from 16MB to 8MB.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#529 edit
2015-10-01 16:27:15 -04:00
foreman 5c65ad4b9b P4 to Git Change 1196211 by nhaustov@nhaustov_hsa on 2015/10/01 08:27:23
SWDEV-76911 - Bug 11070: ViennaCL fails in amd::hsa::loader::Executable::Destroy

	Destructors of global variables run in undefined order, so loader cannot
	be global. Encapsulate loader functionality in Loader class and link its lifecycle
	to Runtime.
	In HSA Runtime, create Loader as part of Runtime singleton.
	In ORCA Runtime, create Loader as part of HSAILProgram class.

	Testing: smoke, pre-checkin

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/amdhsacod/amdhsacod.cpp#10 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/executable.cpp#12 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/executable.hpp#8 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/include/amd_hsa_loader.hpp#5 integrate
... //depot/stg/opencl/drivers/opencl/compiler/tools/aoc2/aoc2.cpp#78 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#210 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#61 edit


[ROCm/clr commit: f670ae2f8d]
2015-10-01 08:37:19 -04:00
foreman f670ae2f8d P4 to Git Change 1196211 by nhaustov@nhaustov_hsa on 2015/10/01 08:27:23
SWDEV-76911 - Bug 11070: ViennaCL fails in amd::hsa::loader::Executable::Destroy

	Destructors of global variables run in undefined order, so loader cannot
	be global. Encapsulate loader functionality in Loader class and link its lifecycle
	to Runtime.
	In HSA Runtime, create Loader as part of Runtime singleton.
	In ORCA Runtime, create Loader as part of HSAILProgram class.

	Testing: smoke, pre-checkin

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/amdhsacod/amdhsacod.cpp#10 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/executable.cpp#12 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/executable.hpp#8 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/include/amd_hsa_loader.hpp#5 integrate
... //depot/stg/opencl/drivers/opencl/compiler/tools/aoc2/aoc2.cpp#78 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#210 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#61 edit
2015-10-01 08:37:19 -04:00
foreman 99e52b701a P4 to Git Change 1196178 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/10/01 03:00:11
SWDEV-2 - Change OpenCL version number from 1899 to 1900.

Affected files ...

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


[ROCm/clr commit: 90efd5a216]
2015-10-01 03:07:44 -04:00
foreman 90efd5a216 P4 to Git Change 1196178 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/10/01 03:00:11
SWDEV-2 - Change OpenCL version number from 1899 to 1900.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1646 edit
2015-10-01 03:07:44 -04:00
Felix Kuehling f3aaba0621 Fix returning of base and limit on dgpu_mem_init reinitialization
Change-Id: I1d1500ee57c3b85fc39c224d233a62097f981719
2015-09-30 18:07:04 -04:00
Felix Kuehling 9dd2664db2 Fix returning of base and limit on dgpu_mem_init reinitialization
Change-Id: I1d1500ee57c3b85fc39c224d233a62097f981719


[ROCm/ROCR-Runtime commit: f3aaba0621]
2015-09-30 18:07:04 -04:00
Felix Kuehling f2f45cc0e4 Add CoarseGrain memory flag
Change-Id: If8ac0339ae8c809c6e6a4f56592a4061d110ea94
2015-09-30 18:07:04 -04:00
Felix Kuehling 048207626a Add CoarseGrain memory flag
Change-Id: If8ac0339ae8c809c6e6a4f56592a4061d110ea94


[ROCm/ROCR-Runtime commit: f2f45cc0e4]
2015-09-30 18:07:04 -04:00
foreman fb7f0bf1ef P4 to Git Change 1195825 by yaxunl@yaxunl_stg_win50 on 2015/09/30 07:45:04
SWDEV-77682 - Wave Limiter: Add __attribute__((amd_hint_waves_per_simd(n))) to FE for setting waves/simd hint per kernel. 0 for adaptive wave limitting. 1~10 for fixed waves/simd.
	Add query of WavesPerSimdHint metadata to compiler lib. HSAI path shouls use aclQueryInfo RT_WAVES_PER_SIMD_HINT to get the waves/simd hint value.
	This should provide a flexible workaround for bug SWDEV-56552  [CQE OCL][PERF][LNX][QR][G] 19% Perf drop is observed with chunkBp kernel in Carrizo.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/clang/include/clang/Basic/Attr.td#9 edit
... //depot/stg/opencl/drivers/opencl/compiler/clang/lib/CodeGen/CodeGenFunction.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/compiler/clang/lib/Sema/SemaDeclAttr.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/clc/src/e2lModule.cpp#95 edit
... //depot/stg/opencl/drivers/opencl/compiler/clc/src/e2lModule.h#44 edit
... //depot/stg/opencl/drivers/opencl/compiler/clc/src/oclEntry.cpp#49 edit
... //depot/stg/opencl/drivers/opencl/compiler/clc/src/oclMeta.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/compiler/clc/src/oclMeta.h#32 edit
... //depot/stg/opencl/drivers/opencl/compiler/edg/src/amd_ocl_attribute.c#26 edit
... //depot/stg/opencl/drivers/opencl/compiler/edg/src/attribute.c#29 edit
... //depot/stg/opencl/drivers/opencl/compiler/edg/src/err_codes.h#42 edit
... //depot/stg/opencl/drivers/opencl/compiler/edg/src/err_data.h#56 edit
... //depot/stg/opencl/drivers/opencl/compiler/edg/src/il_def.h#57 edit
... //depot/stg/opencl/drivers/opencl/compiler/edg/src/il_display.c#25 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#77 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/MDParser/AMDILMDInterface.h#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/MDParser/AMDILMDParser.l#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/MDParser/AMDILMDTypes.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/MDParser/lex.yy.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/metadata.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/aclEnums.h#23 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/aclStructs.h#18 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/Transforms/IPO/AMDKernelPerfHint.h#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILKernelManager.cpp#37 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/IPO/AMDKernelPerfHint.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/include/llvm/Transforms/IPO/AMDKernelPerfHint.h#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/AMDILKernelManager.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Transforms/IPO/AMDKernelPerfHint.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/src/llc/opt/wave_limiter/explicit.cl#1 add
... //depot/stg/opencl/drivers/opencl/tests/hsa/tlst/llc_opt.tlst#57 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/CLAssumptionCheck.cpp#44 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/CLEnumCheck.cpp#48 edit


[ROCm/clr commit: 120b8fba7c]
2015-09-30 10:30:21 -04:00