76333 Commits

Author SHA1 Message Date
foreman 91bbd98a0b P4 to Git Change 1228888 by avolkov@spb-hlc-kv25_opencl_stgsc on 2016/01/19 10:49:38
SWDEV-83192 - [CQE OCL][2.0][QR] Few MCLSubtests are falling due to faulty cl#1208929
	[Synopsis]
	Failure is because of additional check on compilation options existence in binary, which are expected in a separate section in the input binary. Options are expected on HSAIL path in order to make a decision whether to recompile or not the input code. AMDIL path has another strategy for recompilation algorithm and doesn't need options to be obligatory presented in input binary.
	[Solution]
	Remove options existence check in the input binary when compiling from BINARY_TYPE_ELF.
	P.S.
	With the fix HSAIL path also doesn’t require compilation options existence in input binary anymore. Recompilation will be done silently in such case.
	[Testing]
	Pre checkin, MCL
	Reviewed by Evgeniy Mankov, Nikolay Haustov, German Andryeyev
	http://ocltc.amd.com/reviews/r/9560/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#77 edit
2016-01-19 11:03:37 -05:00
foreman 71cd75fa61 P4 to Git Change 1228797 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/19 03:00:11
SWDEV-2 - Change OpenCL version number from 2009 to 2010.

Affected files ...

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


[ROCm/clr commit: 84ed48b665]
2016-01-19 03:07:06 -05:00
foreman 84ed48b665 P4 to Git Change 1228797 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/19 03:00:11
SWDEV-2 - Change OpenCL version number from 2009 to 2010.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1756 edit
2016-01-19 03:07:06 -05:00
foreman b13287e477 P4 to Git Change 1228628 by wchau@wchau_WIN_OCL_HSA on 2016/01/18 17:02:40
SWDEV-79308 -  Resubmit of CL1228064 with restriction of mininum scratch buffer size of 64K if a scratch buffer is needed.
	  Reduce the total scratch buffer size by a factor of 4, which in effect reducing the max. scratch waves from 32 to 8, to avoid the required total scratch buffer size exceeds the available local memory.
	  Made sure the scratch buffer size is aligned with 64K boundary

Affected files ...

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


[ROCm/clr commit: db94c3fb66]
2016-01-18 17:19:01 -05:00
foreman db94c3fb66 P4 to Git Change 1228628 by wchau@wchau_WIN_OCL_HSA on 2016/01/18 17:02:40
SWDEV-79308 -  Resubmit of CL1228064 with restriction of mininum scratch buffer size of 64K if a scratch buffer is needed.
	  Reduce the total scratch buffer size by a factor of 4, which in effect reducing the max. scratch waves from 32 to 8, to avoid the required total scratch buffer size exceeds the available local memory.
	  Made sure the scratch buffer size is aligned with 64K boundary

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#235 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#156 edit
2016-01-18 17:19:01 -05:00
foreman 02b8d92570 P4 to Git Change 1228350 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/18 03:00:13
SWDEV-2 - Change OpenCL version number from 2008 to 2009.

Affected files ...

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


[ROCm/clr commit: 44e689cfec]
2016-01-18 03:07:49 -05:00
foreman 44e689cfec P4 to Git Change 1228350 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/18 03:00:13
SWDEV-2 - Change OpenCL version number from 2008 to 2009.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1755 edit
2016-01-18 03:07:49 -05:00
foreman c287e9ad8d P4 to Git Change 1228272 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/17 03:00:10
SWDEV-2 - Change OpenCL version number from 2007 to 2008.

Affected files ...

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


[ROCm/clr commit: cdffb6c9aa]
2016-01-17 03:11:08 -05:00
foreman cdffb6c9aa P4 to Git Change 1228272 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/17 03:00:10
SWDEV-2 - Change OpenCL version number from 2007 to 2008.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1754 edit
2016-01-17 03:11:08 -05:00
foreman 89facb645f P4 to Git Change 1228248 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/16 03:00:11
SWDEV-2 - Change OpenCL version number from 2006 to 2007.

Affected files ...

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


[ROCm/clr commit: 269e7c74c5]
2016-01-16 03:10:39 -05:00
foreman 269e7c74c5 P4 to Git Change 1228248 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/16 03:00:11
SWDEV-2 - Change OpenCL version number from 2006 to 2007.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1753 edit
2016-01-16 03:10:39 -05:00
foreman db82528d6f P4 to Git Change 1228237 by skudchad@skudchad_test_win_opencl2 on 2016/01/15 22:24:47
SWDEV-77172 - Back out changelist 1228194

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#221 edit


[ROCm/clr commit: e84d8eb04d]
2016-01-15 22:32:16 -05:00
foreman e84d8eb04d P4 to Git Change 1228237 by skudchad@skudchad_test_win_opencl2 on 2016/01/15 22:24:47
SWDEV-77172 - Back out changelist 1228194

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#221 edit
2016-01-15 22:32:16 -05:00
Harish Kasiviswanathan 5e53205b9e Don't limit number of supported HSA Nodes
Remove #define MAX_NODES 8

Change-Id: I756cadc652543dd17ea48a1c956adc08c3d2631a
2016-01-15 17:27:43 -05:00
Harish Kasiviswanathan b687eaf2c2 Don't limit number of supported HSA Nodes
Remove #define MAX_NODES 8

Change-Id: I756cadc652543dd17ea48a1c956adc08c3d2631a


[ROCm/ROCR-Runtime commit: 5e53205b9e]
2016-01-15 17:27:43 -05:00
foreman 478b6ed8ae P4 to Git Change 1228194 by skudchad@skudchad_test_win_opencl2 on 2016/01/15 17:13:28
SWDEV-77172 - Choose isa handle on CZ based on whether SVM is supported or not as SVM may need additional SC Options to be passed as default.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#220 edit


[ROCm/clr commit: 3345a97263]
2016-01-15 17:23:45 -05:00
foreman 3345a97263 P4 to Git Change 1228194 by skudchad@skudchad_test_win_opencl2 on 2016/01/15 17:13:28
SWDEV-77172 - Choose isa handle on CZ based on whether SVM is supported or not as SVM may need additional SC Options to be passed as default.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#220 edit
2016-01-15 17:23:45 -05:00
foreman 62c3e09963 P4 to Git Change 1228137 by wchau@wchau_WIN_OCL_HSA on 2016/01/15 14:53:24
SWDEV-79308 - Back out changelist 1228064

Affected files ...

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


[ROCm/clr commit: 01dda0e716]
2016-01-15 15:04:14 -05:00
foreman 01dda0e716 P4 to Git Change 1228137 by wchau@wchau_WIN_OCL_HSA on 2016/01/15 14:53:24
SWDEV-79308 - Back out changelist 1228064

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#234 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#155 edit
2016-01-15 15:04:14 -05:00
Harish Kasiviswanathan ce83dc623f Don't limit number of supported GPUs
Stop using NUM_OF_SUPPORTED_GPUS. For now the definitions itself cannot
be removed as ioctl code is in upstream Kernel.

Change-Id: If846625a8ad5062d5483e762850c793d3c00b9d0
2016-01-15 11:44:42 -05:00
Harish Kasiviswanathan 14358ee07f Don't limit number of supported GPUs
Stop using NUM_OF_SUPPORTED_GPUS. For now the definitions itself cannot
be removed as ioctl code is in upstream Kernel.

Change-Id: If846625a8ad5062d5483e762850c793d3c00b9d0


[ROCm/ROCR-Runtime commit: ce83dc623f]
2016-01-15 11:44:42 -05:00
foreman 90b40c60e1 P4 to Git Change 1228064 by wchau@wchau_WIN_OCL_HSA on 2016/01/15 11:18:23
SWDEV-79308 -  Resubmit of CL1226881 with the fix of the SC sanity check issue.  Reduce the total scratch buffer size by a factor of 4, which in effect reducing the max. scratch waves from 32 to 8, to avoid the required total scratch buffer
	size exceeds the available local memory.

Affected files ...

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


[ROCm/clr commit: 685d1164ee]
2016-01-15 11:26:41 -05:00
foreman 685d1164ee P4 to Git Change 1228064 by wchau@wchau_WIN_OCL_HSA on 2016/01/15 11:18:23
SWDEV-79308 -  Resubmit of CL1226881 with the fix of the SC sanity check issue.  Reduce the total scratch buffer size by a factor of 4, which in effect reducing the max. scratch waves from 32 to 8, to avoid the required total scratch buffer
	size exceeds the available local memory.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#233 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#154 edit
2016-01-15 11:26:41 -05:00
foreman 217062290b P4 to Git Change 1228007 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/15 03:00:11
SWDEV-2 - Change OpenCL version number from 2005 to 2006.

Affected files ...

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


[ROCm/clr commit: a56e584fed]
2016-01-15 03:08:50 -05:00
foreman a56e584fed P4 to Git Change 1228007 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/15 03:00:11
SWDEV-2 - Change OpenCL version number from 2005 to 2006.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1752 edit
2016-01-15 03:08:50 -05:00
foreman 516fdefc54 P4 to Git Change 1227638 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/14 03:00:11
SWDEV-2 - Change OpenCL version number from 2004 to 2005.

Affected files ...

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


[ROCm/clr commit: cfe171ecaa]
2016-01-14 03:07:02 -05:00
foreman cfe171ecaa P4 to Git Change 1227638 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/14 03:00:11
SWDEV-2 - Change OpenCL version number from 2004 to 2005.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1751 edit
2016-01-14 03:07:02 -05:00
foreman acb167fa01 P4 to Git Change 1227495 by skudchad@skudchad_test_win_opencl2 on 2016/01/13 18:12:59
SWDEV-77172 - Disable ThreadTrace on SVM as its causing hang until a solution can be found.

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

Affected files ...

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


[ROCm/clr commit: ec51f85c8e]
2016-01-13 18:18:51 -05:00
foreman ec51f85c8e P4 to Git Change 1227495 by skudchad@skudchad_test_win_opencl2 on 2016/01/13 18:12:59
SWDEV-77172 - Disable ThreadTrace on SVM as its causing hang until a solution can be found.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#341 edit
2016-01-13 18:18:51 -05:00
foreman 15fff3eef8 P4 to Git Change 1227173 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/13 03:00:11
SWDEV-2 - Change OpenCL version number from 2003 to 2004.

Affected files ...

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


[ROCm/clr commit: d9e28537b3]
2016-01-13 03:09:39 -05:00
foreman d9e28537b3 P4 to Git Change 1227173 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/13 03:00:11
SWDEV-2 - Change OpenCL version number from 2003 to 2004.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1750 edit
2016-01-13 03:09:39 -05:00
foreman bce32b5c9b P4 to Git Change 1226990 by johtaylo@johtaylo_L7_stg on 2016/01/12 17:44:18
SWDEV-79308 -  Back out changelist 1226881

	Causes failures in execution model, math and pipes

	http://ocltc.amd.com:8111/viewLog.html?buildId=14142599&tab=buildResultsDiv&buildTypeId=TestsOpenCLScSanity_BonaireConformanceWin764bit

	Reduce the total scratch buffer size by a factor of 4, which in effect reducing the max. scratch waves from 32 to 8, to avoid the required total scratch buffer
	size exceeds the available local memory.

Affected files ...

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


[ROCm/clr commit: e66e70e316]
2016-01-12 17:51:14 -05:00
foreman e66e70e316 P4 to Git Change 1226990 by johtaylo@johtaylo_L7_stg on 2016/01/12 17:44:18
SWDEV-79308 -  Back out changelist 1226881

	Causes failures in execution model, math and pipes

	http://ocltc.amd.com:8111/viewLog.html?buildId=14142599&tab=buildResultsDiv&buildTypeId=TestsOpenCLScSanity_BonaireConformanceWin764bit

	Reduce the total scratch buffer size by a factor of 4, which in effect reducing the max. scratch waves from 32 to 8, to avoid the required total scratch buffer
	size exceeds the available local memory.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#153 edit
2016-01-12 17:51:14 -05:00
foreman 1f7bf42d03 P4 to Git Change 1226881 by wchau@wchau_WIN_OCL_HSA on 2016/01/12 14:03:39
SWDEV-79308 -  Reduce the total scratch buffer size by a factor of 4, which in effect reducing the max. scratch waves from 32 to 8, to avoid the required total scratch buffer
	size exceeds the available local memory.

Affected files ...

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


[ROCm/clr commit: a319c0e35c]
2016-01-12 14:11:46 -05:00
foreman a319c0e35c P4 to Git Change 1226881 by wchau@wchau_WIN_OCL_HSA on 2016/01/12 14:03:39
SWDEV-79308 -  Reduce the total scratch buffer size by a factor of 4, which in effect reducing the max. scratch waves from 32 to 8, to avoid the required total scratch buffer
	size exceeds the available local memory.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#152 edit
2016-01-12 14:11:46 -05:00
Harish Kasiviswanathan e7e1361c3d Use new ioctl for getting process apertures
Change-Id: I73678744ad73942edec442ad9c6d38637f7e1235
2016-01-12 12:09:25 -05:00
Harish Kasiviswanathan add443f1ef Use new ioctl for getting process apertures
Change-Id: I73678744ad73942edec442ad9c6d38637f7e1235


[ROCm/ROCR-Runtime commit: e7e1361c3d]
2016-01-12 12:09:25 -05:00
foreman ae8bbd60ae P4 to Git Change 1226780 by nhaustov@nhaustov_hsa on 2016/01/12 07:20:04
SWDEV-77584 - ORCA RT/Compiler Lib: Add 8:0:4, 8:1:0 and 9:0:1 compute capabilities.

	Changes by Evgeniy Mankov.

	Also cherry-pick CL 1226741 for 8:1:0 compute capability.

	Testing: smoke, pre-checkin

	[Reviewers] Nikolay Haustov, German Andryeyev

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/finalizer/program.cpp#20 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/loaders.cpp#7 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/loaders.hpp#7 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/tests/tlst/finalizer_offline.tlst#15 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#131 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#219 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#63 edit


[ROCm/clr commit: 6a0e72acc5]
2016-01-12 07:27:39 -05:00
foreman 6a0e72acc5 P4 to Git Change 1226780 by nhaustov@nhaustov_hsa on 2016/01/12 07:20:04
SWDEV-77584 - ORCA RT/Compiler Lib: Add 8:0:4, 8:1:0 and 9:0:1 compute capabilities.

	Changes by Evgeniy Mankov.

	Also cherry-pick CL 1226741 for 8:1:0 compute capability.

	Testing: smoke, pre-checkin

	[Reviewers] Nikolay Haustov, German Andryeyev

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/finalizer/program.cpp#20 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/loaders.cpp#7 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/loaders.hpp#7 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/tests/tlst/finalizer_offline.tlst#15 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#131 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#219 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#63 edit
2016-01-12 07:27:39 -05:00
foreman e7716dbb03 P4 to Git Change 1226682 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/12 03:00:22
SWDEV-2 - Change OpenCL version number from 2002 to 2003.

Affected files ...

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


[ROCm/clr commit: 85f5db0446]
2016-01-12 03:14:20 -05:00
foreman 85f5db0446 P4 to Git Change 1226682 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/12 03:00:22
SWDEV-2 - Change OpenCL version number from 2002 to 2003.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1749 edit
2016-01-12 03:14:20 -05:00
foreman a2e8dc5265 P4 to Git Change 1226323 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/11 03:00:12
SWDEV-2 - Change OpenCL version number from 2001 to 2002.

Affected files ...

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


[ROCm/clr commit: 8108ce0727]
2016-01-11 03:13:10 -05:00
foreman 8108ce0727 P4 to Git Change 1226323 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/11 03:00:12
SWDEV-2 - Change OpenCL version number from 2001 to 2002.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1748 edit
2016-01-11 03:13:10 -05:00
foreman 19071bceca P4 to Git Change 1226209 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/10 03:00:10
SWDEV-2 - Change OpenCL version number from 2000 to 2001.

Affected files ...

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


[ROCm/clr commit: d74f5269e6]
2016-01-10 03:12:49 -05:00
foreman d74f5269e6 P4 to Git Change 1226209 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/10 03:00:10
SWDEV-2 - Change OpenCL version number from 2000 to 2001.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1747 edit
2016-01-10 03:12:49 -05:00
foreman d851c5137b P4 to Git Change 1226201 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/09 03:00:11
SWDEV-2 - Change OpenCL version number from 1999 to 2000.

Affected files ...

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


[ROCm/clr commit: c6ee75d740]
2016-01-09 03:12:19 -05:00
foreman c6ee75d740 P4 to Git Change 1226201 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/09 03:00:11
SWDEV-2 - Change OpenCL version number from 1999 to 2000.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1746 edit
2016-01-09 03:12:19 -05:00
Felix Kuehling 063ad3ad9e Implement hsaKmtRegisterMemoryToNodes
Fix hsaKmtRegisterMemory to be a no-op for now and move the multi-GPU
implementation to hsaKmtRegisterMemoryToNodes. Make GPU memory mappings
of host memory visible to all GPUs by default. Device memory is still
visible to the allocating GPU only by default (but can be overridden
with hsaKmtRegisterMemoryToNodes for experimenting with P2P).

Change-Id: I73408afbe3b10c8dad2ab3a780f58413249692e6
2016-01-08 16:00:23 -05:00
Felix Kuehling c89d3124d9 Implement hsaKmtRegisterMemoryToNodes
Fix hsaKmtRegisterMemory to be a no-op for now and move the multi-GPU
implementation to hsaKmtRegisterMemoryToNodes. Make GPU memory mappings
of host memory visible to all GPUs by default. Device memory is still
visible to the allocating GPU only by default (but can be overridden
with hsaKmtRegisterMemoryToNodes for experimenting with P2P).

Change-Id: I73408afbe3b10c8dad2ab3a780f58413249692e6


[ROCm/ROCR-Runtime commit: 063ad3ad9e]
2016-01-08 16:00:23 -05:00
foreman cee266b2d8 P4 to Git Change 1226078 by rili@rili_opencl_stg on 2016/01/08 15:03:58
SWDEV-84309 - Using agpMemAvailableCacheableBytes instead of agpMemAvailableBytes when calculating free memory for viPlus_ apu.
	                         When memory allocation is in system memory, only agpMemAvailableCacheableBytes is changed

Affected files ...

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


[ROCm/clr commit: bc822d60d1]
2016-01-08 15:16:55 -05:00