76333 Commits

Author SHA1 Message Date
foreman 9db300e6d4 P4 to Git Change 1213569 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/21 03:00:11
SWDEV-2 - Change OpenCL version number from 1950 to 1951.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1697 edit
2015-11-21 03:08:33 -05:00
foreman c18704a13f P4 to Git Change 1213547 by skudchad@skudchad_test_win_opencl2 on 2015/11/20 18:45:03
SWDEV-77172 - IOMMUv2 changes for Windows 10 (Part 2)
	- Fix SVM FGS malloc arguments being passed to kernel
	- Move setting allocation attributes to runtime
	- Fix some bugs from my previous checkins

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#311 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#232 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.hpp#86 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#393 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#150 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/backend.h#11 edit


[ROCm/clr commit: f697264676]
2015-11-20 18:51:27 -05:00
foreman f697264676 P4 to Git Change 1213547 by skudchad@skudchad_test_win_opencl2 on 2015/11/20 18:45:03
SWDEV-77172 - IOMMUv2 changes for Windows 10 (Part 2)
	- Fix SVM FGS malloc arguments being passed to kernel
	- Move setting allocation attributes to runtime
	- Fix some bugs from my previous checkins

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#311 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#232 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.hpp#86 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#393 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#150 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/backend.h#11 edit
2015-11-20 18:51:27 -05:00
foreman 65a8b623b4 P4 to Git Change 1213214 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/20 03:00:11
SWDEV-2 - Change OpenCL version number from 1949 to 1950.

Affected files ...

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


[ROCm/clr commit: 719f92981b]
2015-11-20 03:09:21 -05:00
foreman 719f92981b P4 to Git Change 1213214 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/20 03:00:11
SWDEV-2 - Change OpenCL version number from 1949 to 1950.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1696 edit
2015-11-20 03:09:21 -05:00
Nathan Luehr 76f436d3a1 Fixed a race condition in reduce and braodcast.
[ROCm/rccl commit: 27d32ac5d9]
2015-11-19 11:11:52 -08:00
Nathan Luehr 27d32ac5d9 Fixed a race condition in reduce and braodcast. 2015-11-19 11:11:52 -08:00
foreman fc81603897 P4 to Git Change 1212769 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/19 03:00:14
SWDEV-2 - Change OpenCL version number from 1948 to 1949.

Affected files ...

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


[ROCm/clr commit: a3c5a06983]
2015-11-19 03:18:38 -05:00
foreman a3c5a06983 P4 to Git Change 1212769 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/19 03:00:14
SWDEV-2 - Change OpenCL version number from 1948 to 1949.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1695 edit
2015-11-19 03:18:38 -05:00
foreman 5e3db782ac P4 to Git Change 1212301 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/18 03:00:16
SWDEV-2 - Change OpenCL version number from 1947 to 1948.

Affected files ...

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


[ROCm/clr commit: 4f570b1585]
2015-11-18 03:26:39 -05:00
foreman 4f570b1585 P4 to Git Change 1212301 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/18 03:00:16
SWDEV-2 - Change OpenCL version number from 1947 to 1948.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1694 edit
2015-11-18 03:26:39 -05:00
Nathan Luehr 529702aec6 Initial release.
[ROCm/rccl commit: 0673d5f44f]
2015-11-17 11:30:40 -08:00
Nathan Luehr 0673d5f44f Initial release. 2015-11-17 11:30:40 -08:00
foreman 3c4e75b79c P4 to Git Change 1211815 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/17 03:00:10
SWDEV-2 - Change OpenCL version number from 1946 to 1947.

Affected files ...

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


[ROCm/clr commit: a8257c0b47]
2015-11-17 03:07:04 -05:00
foreman a8257c0b47 P4 to Git Change 1211815 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/17 03:00:10
SWDEV-2 - Change OpenCL version number from 1946 to 1947.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1693 edit
2015-11-17 03:07:04 -05:00
foreman abdac80a86 P4 to Git Change 1211599 by rili@rili_opencl_stg on 2015/11/16 14:38:36
SWDEV-78240 - Reduce workload for Stoney

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#334 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#392 edit


[ROCm/clr commit: b03a0deeaa]
2015-11-16 14:45:37 -05:00
foreman b03a0deeaa P4 to Git Change 1211599 by rili@rili_opencl_stg on 2015/11/16 14:38:36
SWDEV-78240 - Reduce workload for Stoney

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#334 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#392 edit
2015-11-16 14:45:37 -05:00
foreman 5ace734c06 P4 to Git Change 1211422 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/16 03:00:13
SWDEV-2 - Change OpenCL version number from 1945 to 1946.

Affected files ...

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


[ROCm/clr commit: 2b6f4f6477]
2015-11-16 03:10:31 -05:00
foreman 2b6f4f6477 P4 to Git Change 1211422 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/16 03:00:13
SWDEV-2 - Change OpenCL version number from 1945 to 1946.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1692 edit
2015-11-16 03:10:31 -05:00
foreman d31aa81169 P4 to Git Change 1211336 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/15 03:00:11
SWDEV-2 - Change OpenCL version number from 1944 to 1945.

Affected files ...

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


[ROCm/clr commit: 08e5cc5695]
2015-11-15 03:15:41 -05:00
foreman 08e5cc5695 P4 to Git Change 1211336 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/15 03:00:11
SWDEV-2 - Change OpenCL version number from 1944 to 1945.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1691 edit
2015-11-15 03:15:41 -05:00
foreman c2659df526 P4 to Git Change 1211313 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/14 03:00:11
SWDEV-2 - Change OpenCL version number from 1943 to 1944.

Affected files ...

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


[ROCm/clr commit: ced3e2df46]
2015-11-14 03:10:19 -05:00
foreman ced3e2df46 P4 to Git Change 1211313 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/14 03:00:11
SWDEV-2 - Change OpenCL version number from 1943 to 1944.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1690 edit
2015-11-14 03:10:19 -05:00
foreman dc82afd21c P4 to Git Change 1211287 by xcui@merged_opencl_jxcwin on 2015/11/13 19:19:52
SWDEV-77172 - temporary disable the FGS optimization for a failure on stg.

	code review:
	http://ocltc.amd.com/reviews/r/8992/
	precheckin:
	http://ocltc.amd.com:8111/viewModification.html?modId=62238&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#263 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#537 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.hpp#156 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#310 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#391 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#37 edit


[ROCm/clr commit: 768a8e7e78]
2015-11-13 19:47:56 -05:00
foreman 768a8e7e78 P4 to Git Change 1211287 by xcui@merged_opencl_jxcwin on 2015/11/13 19:19:52
SWDEV-77172 - temporary disable the FGS optimization for a failure on stg.

	code review:
	http://ocltc.amd.com/reviews/r/8992/
	precheckin:
	http://ocltc.amd.com:8111/viewModification.html?modId=62238&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#263 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#537 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.hpp#156 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#310 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#391 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#37 edit
2015-11-13 19:47:56 -05:00
foreman 2274fb951e P4 to Git Change 1211277 by gandryey@gera-w8 on 2015/11/13 18:35:50
SWDEV-53069 - Forum[170333]: clSetUserEventStatus returning bad CL_SUCCESS
	- Return error if setStatus wasn't successful

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_event.cpp#9 edit


[ROCm/clr commit: cbdb9fe070]
2015-11-13 19:41:35 -05:00
foreman cbdb9fe070 P4 to Git Change 1211277 by gandryey@gera-w8 on 2015/11/13 18:35:50
SWDEV-53069 - Forum[170333]: clSetUserEventStatus returning bad CL_SUCCESS
	- Return error if setStatus wasn't successful

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_event.cpp#9 edit
2015-11-13 19:41:35 -05:00
foreman c446a43d74 P4 to Git Change 1211165 by gandryey@gera-ubuntu14 on 2015/11/13 14:36:37
SWDEV-78467 - OpenCL LiquidFlash feature
	- Add staging transfer support for invisible memory
	- Don't fallback to USWC memory if persistent allocation failed

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#262 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#231 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#390 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.hpp#137 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#73 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#80 edit


[ROCm/clr commit: 8a7bac7048]
2015-11-13 15:09:15 -05:00
foreman 8a7bac7048 P4 to Git Change 1211165 by gandryey@gera-ubuntu14 on 2015/11/13 14:36:37
SWDEV-78467 - OpenCL LiquidFlash feature
	- Add staging transfer support for invisible memory
	- Don't fallback to USWC memory if persistent allocation failed

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#262 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#231 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#390 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.hpp#137 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#73 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#80 edit
2015-11-13 15:09:15 -05:00
foreman 1c344cce5c P4 to Git Change 1210939 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/13 03:00:10
SWDEV-2 - Change OpenCL version number from 1942 to 1943.

Affected files ...

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


[ROCm/clr commit: b70c72025b]
2015-11-13 03:11:29 -05:00
foreman b70c72025b P4 to Git Change 1210939 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/13 03:00:10
SWDEV-2 - Change OpenCL version number from 1942 to 1943.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1689 edit
2015-11-13 03:11:29 -05:00
foreman f1528114ef P4 to Git Change 1210812 by emankov@em-hsa-amd on 2015/11/12 18:22:08
SWDEV-77584 - ORCA RT: Preparations for enabling HSAIL on OpenCL 1.2 by default. Fix for rare regressions with AMDIL on CI+, when forcing AMDIL by -legacy.

	[Testing] Pre-checkin:
	http://ocltc.amd.com:8111/viewModification.html?modId=62184&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true

	[Reviewers] German Andryeyev, Brian Sumner
	http://ocltc.amd.com/reviews/r/8975

Affected files ...

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


[ROCm/clr commit: 2abb8e1d6a]
2015-11-12 20:11:59 -05:00
foreman 2abb8e1d6a P4 to Git Change 1210812 by emankov@em-hsa-amd on 2015/11/12 18:22:08
SWDEV-77584 - ORCA RT: Preparations for enabling HSAIL on OpenCL 1.2 by default. Fix for rare regressions with AMDIL on CI+, when forcing AMDIL by -legacy.

	[Testing] Pre-checkin:
	http://ocltc.amd.com:8111/viewModification.html?modId=62184&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true

	[Reviewers] German Andryeyev, Brian Sumner
	http://ocltc.amd.com/reviews/r/8975

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#536 edit
2015-11-12 20:11:59 -05:00
foreman 1f44ace8c5 P4 to Git Change 1210699 by yaxunl@yaxunl_stg_win50 on 2015/11/12 15:57:00
SWDEV-81805 - Fix compiler lib bug: incorrect type name %opencl.pipe_t0 is generated when using clang.

	Clang does not return llvm::Module. It saves the bitcode to a memory buffer and passed back to compiler lib, then bitcode reader is used to get llvm::Module. Clang and bitcode reader uses the same LLVMContext which is created earlier in aclCompileInternal. Since named struct types are shared between modules in LLVMContext. When bitcode reader loads the module, name collision happens for named struct types, which causes them to be postfixed with a number, e.g. %opencl.pipe_t => %opencl.pipe_t0.

	This causes failure in SPIR-V drop-in conformance test.

	The fix is to let clang uses a separate LLVMContext.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/frontend_clang.cpp#26 edit


[ROCm/clr commit: 56ea6c56a1]
2015-11-12 16:28:06 -05:00
foreman 56ea6c56a1 P4 to Git Change 1210699 by yaxunl@yaxunl_stg_win50 on 2015/11/12 15:57:00
SWDEV-81805 - Fix compiler lib bug: incorrect type name %opencl.pipe_t0 is generated when using clang.

	Clang does not return llvm::Module. It saves the bitcode to a memory buffer and passed back to compiler lib, then bitcode reader is used to get llvm::Module. Clang and bitcode reader uses the same LLVMContext which is created earlier in aclCompileInternal. Since named struct types are shared between modules in LLVMContext. When bitcode reader loads the module, name collision happens for named struct types, which causes them to be postfixed with a number, e.g. %opencl.pipe_t => %opencl.pipe_t0.

	This causes failure in SPIR-V drop-in conformance test.

	The fix is to let clang uses a separate LLVMContext.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/frontend_clang.cpp#26 edit
2015-11-12 16:28:06 -05:00
foreman 80fed67799 P4 to Git Change 1210662 by rili@rili_opencl_stg on 2015/11/12 15:16:48
SWDEV-80061 - Copy flag HostMemoryDirectAccess from parent to view

Affected files ...

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


[ROCm/clr commit: 64a7c5df25]
2015-11-12 15:31:34 -05:00
foreman 64a7c5df25 P4 to Git Change 1210662 by rili@rili_opencl_stg on 2015/11/12 15:16:48
SWDEV-80061 - Copy flag HostMemoryDirectAccess from parent to view

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#124 edit
2015-11-12 15:31:34 -05:00
foreman cc8acc2bcf P4 to Git Change 1210657 by lmoriche@lmoriche_opencl_dev on 2015/11/12 15:05:23
SWDEV-78467 - OpenCL LiquidFlash feature
	- Add a function to return the LF file block size

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_context.cpp#47 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.h#3 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#22 edit


[ROCm/clr commit: 49bd4d9a66]
2015-11-12 15:20:52 -05:00
foreman 49bd4d9a66 P4 to Git Change 1210657 by lmoriche@lmoriche_opencl_dev on 2015/11/12 15:05:23
SWDEV-78467 - OpenCL LiquidFlash feature
	- Add a function to return the LF file block size

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_context.cpp#47 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.h#3 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#22 edit
2015-11-12 15:20:52 -05:00
Amber Lin a5bc8360e8 Fix sibling map in CPU cache properties
Previous code only works for systems where shared_cpu_map lists 32 or less
bits. Some systems list more than 32 bits and express them as
XXXXXXXX,XXXXXXXX,.... This patch adds that calculation. Also increase
MAX_CPU_CORES and MAX_CACHES to accommodate more advanced systems.

Change-Id: Ia5c7041866456a6aa3b66f8f0f951022d7c51028
2015-11-12 08:31:51 -05:00
Amber Lin 4c84c85252 Fix sibling map in CPU cache properties
Previous code only works for systems where shared_cpu_map lists 32 or less
bits. Some systems list more than 32 bits and express them as
XXXXXXXX,XXXXXXXX,.... This patch adds that calculation. Also increase
MAX_CPU_CORES and MAX_CACHES to accommodate more advanced systems.

Change-Id: Ia5c7041866456a6aa3b66f8f0f951022d7c51028


[ROCm/ROCR-Runtime commit: a5bc8360e8]
2015-11-12 08:31:51 -05:00
foreman b10cb5b00c P4 to Git Change 1210367 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/12 03:00:12
SWDEV-2 - Change OpenCL version number from 1941 to 1942.

Affected files ...

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


[ROCm/clr commit: 2972bacfc1]
2015-11-12 03:06:56 -05:00
foreman 2972bacfc1 P4 to Git Change 1210367 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/12 03:00:12
SWDEV-2 - Change OpenCL version number from 1941 to 1942.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1688 edit
2015-11-12 03:06:56 -05:00
foreman 96e9f89169 P4 to Git Change 1210047 by wchau@wchau_WINDOWS7_OCL on 2015/11/11 13:06:48
SWDEV-80450 - Fix the issue of app context reference count > 0 after app termination by using device context for the mapped buffer/image resource.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.hpp#155 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#123 edit


[ROCm/clr commit: 7237cf514f]
2015-11-11 13:14:27 -05:00
foreman 7237cf514f P4 to Git Change 1210047 by wchau@wchau_WINDOWS7_OCL on 2015/11/11 13:06:48
SWDEV-80450 - Fix the issue of app context reference count > 0 after app termination by using device context for the mapped buffer/image resource.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.hpp#155 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#123 edit
2015-11-11 13:14:27 -05:00
foreman 78e7f09b52 P4 to Git Change 1209913 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/11 03:00:12
SWDEV-2 - Change OpenCL version number from 1940 to 1941.

Affected files ...

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


[ROCm/clr commit: 98f48d3a6d]
2015-11-11 03:09:17 -05:00
foreman 98f48d3a6d P4 to Git Change 1209913 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/11/11 03:00:12
SWDEV-2 - Change OpenCL version number from 1940 to 1941.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1687 edit
2015-11-11 03:09:17 -05:00
Felix Kuehling 62337b6c0a Reserve address space with PROT_NONE
Access to reserved address space that has not been allocated should
result in a segfault. Use PROT_NONE to ensure that.


Change-Id: Ic5da9392fabbe78c9ec14f98e8b7b47e5267a98a
2015-11-10 18:19:56 -05:00
Felix Kuehling 1ab2c3341a Reserve address space with PROT_NONE
Access to reserved address space that has not been allocated should
result in a segfault. Use PROT_NONE to ensure that.


Change-Id: Ic5da9392fabbe78c9ec14f98e8b7b47e5267a98a


[ROCm/ROCR-Runtime commit: 62337b6c0a]
2015-11-10 18:19:56 -05:00
foreman b6160fbb9c P4 to Git Change 1209623 by yaxunl@yaxunl_stg_win50 on 2015/11/10 15:33:51
SWDEV-67990 - SPIR-V: Fix duplicate creation of opaque types in SPIR-V/LLVM translation.
	Fix mem leak in drop-in LLVM/SPIR-V translator.
	Add warning for undefined function in linker.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#135 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/SPIRV/SPIRVReader.cpp#5 edit


[ROCm/clr commit: 45746f1d16]
2015-11-10 15:57:43 -05:00