Commit Graph

41017 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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 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 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 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 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 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 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 bc822d60d1 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
2016-01-08 15:16:55 -05:00
foreman e84d9750d1 P4 to Git Change 1225873 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/08 03:00:10
SWDEV-2 - Change OpenCL version number from 1998 to 1999.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1745 edit
2016-01-08 03:10:03 -05:00
bstefanizzi 7626242f62 Initial commit 2016-01-07 18:41:56 +01:00
bstefanizzi 9eca92261c Initial commit 2016-01-07 18:41:56 +01:00
foreman 8a320baf8c P4 to Git Change 1225579 by weizhang@msdnweizhang-opencl on 2016/01/07 09:15:40
SWDEV-80364 - [Project Brahma] Disable OCL2.0

	Disable OCL2.0 on Brahma because base driver doesn't have enough resource to support it.

	Note: the implementation for OCL2.0 on Brahma in OCL runtime has been done.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#251 edit
2016-01-07 09:24:54 -05:00
foreman a679cea1c3 P4 to Git Change 1225522 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/07 03:00:14
SWDEV-2 - Change OpenCL version number from 1997 to 1998.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1744 edit
2016-01-07 03:08:54 -05:00
foreman 0eb4127eaf P4 to Git Change 1225189 by yaxunl@yaxunl_stg_win50 on 2016/01/06 10:45:41
SWDEV-84848 - Add timing for drop-in SPIRV translation. Fix timing for loading libraries.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#137 edit
2016-01-06 10:55:08 -05:00
foreman 0cf937dfc1 P4 to Git Change 1225083 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/06 03:00:15
SWDEV-2 - Change OpenCL version number from 1996 to 1997.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1743 edit
2016-01-06 03:15:34 -05:00
foreman 6245297804 P4 to Git Change 1224664 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/05 03:00:13
SWDEV-2 - Change OpenCL version number from 1995 to 1996.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1742 edit
2016-01-05 03:09:23 -05:00
foreman 5ec0342e6a P4 to Git Change 1224643 by tcohen@tcohen_TLV-TZACHI-OCL on 2016/01/05 01:59:28
SWDEV-78467 - Adding 'CL_FILE_SIZE_AMD' queriable property for file objects.
	While validating the LF extension we noticed a common use case in which the programmer has to query the size of the file being processed.
	This enhancement will save the programming overhead of opening and closing files using some other API just in order to query their size.

	This feature is being integrated from LF dev branch 15.30.1023.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.cpp#12 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.hpp#95 integrate
2016-01-05 02:06:10 -05:00
foreman ab17489071 P4 to Git Change 1224643 by tcohen@tcohen_TLV-TZACHI-OCL on 2016/01/05 01:59:28
SWDEV-78467 - Adding 'CL_FILE_SIZE_AMD' queriable property for file objects.
	While validating the LF extension we noticed a common use case in which the programmer has to query the size of the file being processed.
	This enhancement will save the programming overhead of opening and closing files using some other API just in order to query their size.

	This feature is being integrated from LF dev branch 15.30.1023.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.cpp#12 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.hpp#95 integrate
2016-01-05 02:06:10 -05:00
foreman 232af87dbf P4 to Git Change 1224596 by xcui@merged_opencl_jxcwin on 2016/01/04 20:06:30
SWDEV-80174 - changed the flag settting, so that the env variable OCL_SET_SVM_SIZE can be used on release version of opencl, not just for debug version.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#250 edit
2016-01-04 20:15:09 -05:00
Ben Goz ea0f9d2a0b Adding support for mGPU
Change-Id: I5ed184e6a58b38d9dde48867f14513d161cf41a9
Signed-off-by: Ben Goz <ben.goz@amd.com>
2016-01-04 15:35:15 +02:00
Ben Goz 2fa7eef572 Adding support for mGPU
Change-Id: I5ed184e6a58b38d9dde48867f14513d161cf41a9
Signed-off-by: Ben Goz <ben.goz@amd.com>


[ROCm/ROCR-Runtime commit: ea0f9d2a0b]
2016-01-04 15:35:15 +02:00
Ben Goz 53b208adf2 Fix AQL Double buffer allocation mode
Change-Id: I5162ffd89416d317fd0ca0fc51da523298488922
Signed-off-by: Ben Goz <ben.goz@amd.com>
2016-01-04 15:34:53 +02:00
Ben Goz d874bcd8b3 Fix AQL Double buffer allocation mode
Change-Id: I5162ffd89416d317fd0ca0fc51da523298488922
Signed-off-by: Ben Goz <ben.goz@amd.com>


[ROCm/ROCR-Runtime commit: 53b208adf2]
2016-01-04 15:34:53 +02:00
foreman 110e10c928 P4 to Git Change 1224367 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/04 03:00:14
SWDEV-2 - Change OpenCL version number from 1994 to 1995.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1741 edit
2016-01-04 03:09:50 -05:00
foreman 2192a538fa P4 to Git Change 1224288 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/03 03:00:10
SWDEV-2 - Change OpenCL version number from 1993 to 1994.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1740 edit
2016-01-03 03:11:50 -05:00
foreman e5c218c895 P4 to Git Change 1224277 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/02 03:00:11
SWDEV-2 - Change OpenCL version number from 1992 to 1993.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1739 edit
2016-01-02 03:12:18 -05:00
foreman 9f8760555a P4 to Git Change 1224271 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/01 03:00:12
SWDEV-2 - Change OpenCL version number from 1991 to 1992.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1738 edit
2016-01-01 03:06:57 -05:00
foreman cd4fcd1afe P4 to Git Change 1224218 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/31 03:00:10
SWDEV-2 - Change OpenCL version number from 1990 to 1991.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1737 edit
2015-12-31 03:08:47 -05:00
foreman 5ccd02e65b P4 to Git Change 1224027 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/30 03:00:10
SWDEV-2 - Change OpenCL version number from 1989 to 1990.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1736 edit
2015-12-30 03:10:57 -05:00
foreman bf0f6b71bf P4 to Git Change 1223818 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/29 03:00:16
SWDEV-2 - Change OpenCL version number from 1988 to 1989.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1735 edit
2015-12-29 03:07:11 -05:00
Nikolay Haustov [TEXT] d8e67d962b Split libHSAIL and libHSAIL-AMD (HSA Changes)
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1223723]
2015-12-28 10:00:43 -05:00
Nikolay Haustov [TEXT] 275cb22707 Split libHSAIL and libHSAIL-AMD (HSA Changes)
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1223723]


[ROCm/ROCR-Runtime commit: d8e67d962b]
2015-12-28 10:00:43 -05:00
foreman b4f5366fe4 P4 to Git Change 1223703 by nhaustov@nhaustov_hsa on 2015/12/28 05:46:00
SWDEV-77584 - Fix ocl_conformance compiler failures.

	1. If compiling in debug mode, linkImpl wasn't called and kernelNames wasn't set
	which led to CL_INVALID_KERNEL_NAME errors in debug configs in TeamCity. Looking at AMDIL
	code, there is no reason to skip linkImpl in debug mode.

	2. Set types to TYPE_LIBRARY/TYPE_EXECUTABLE. This fixes ocl_conformance compiler program_binary_type.

	Reviewed by: Evgeniy Mankov
	Testing: smoke, pre-checkin, OCLSeparateCompile.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#218 edit
2015-12-28 05:53:39 -05:00
foreman cfc2b489df P4 to Git Change 1223685 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/28 03:00:10
SWDEV-2 - Change OpenCL version number from 1987 to 1988.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1734 edit
2015-12-28 03:07:21 -05:00
foreman 422318b9aa P4 to Git Change 1223599 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/27 03:00:10
SWDEV-2 - Change OpenCL version number from 1986 to 1987.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1733 edit
2015-12-27 03:11:03 -05:00
foreman 32568eec9b P4 to Git Change 1223585 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/26 03:00:09
SWDEV-2 - Change OpenCL version number from 1985 to 1986.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1732 edit
2015-12-26 03:11:28 -05:00
foreman 4e074c4044 P4 to Git Change 1223535 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/25 03:00:10
SWDEV-2 - Change OpenCL version number from 1984 to 1985.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1731 edit
2015-12-25 03:06:57 -05:00
foreman fe72e17898 P4 to Git Change 1223402 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/12/24 03:00:10
SWDEV-2 - Change OpenCL version number from 1983 to 1984.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1730 edit
2015-12-24 03:11:27 -05:00
foreman f15514da95 P4 to Git Change 1223278 by wchau@wchau_WIN_OCL_HSA on 2015/12/23 15:37:26
SWDEV-66693 - OpenCL Runtime HW Debug support development - use flag, instead of getenv() call, in IOL to indicate the enablement of HW Debug.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#151 edit
2015-12-23 15:47:22 -05:00