76333 Commity

Autor SHA1 Wiadomość Data
Maneesh Gupta f14198956f hipcc: HCC workaround no longer needs env var
Change-Id: I81f4eafddbda5e9e2f1082932dd502ab451cfc24
2016-12-01 12:51:58 +05:30
Maneesh Gupta dead181892 hipcc: HCC workaround no longer needs env var
Change-Id: I81f4eafddbda5e9e2f1082932dd502ab451cfc24


[ROCm/hip commit: df9faffe93]
2016-12-01 12:51:58 +05:30
Maneesh Gupta df9faffe93 hipcc: HCC workaround no longer needs env var
Change-Id: I81f4eafddbda5e9e2f1082932dd502ab451cfc24
2016-12-01 12:51:58 +05:30
Maneesh Gupta 97d8017e80 Fix some broken directed tests
Change-Id: I40f2661a74951f8d91824df8fd9ef0cc2312d183


[ROCm/clr commit: 9cab8d4260]
2016-12-01 12:47:37 +05:30
Maneesh Gupta 9cab8d4260 Fix some broken directed tests
Change-Id: I40f2661a74951f8d91824df8fd9ef0cc2312d183
2016-12-01 12:47:37 +05:30
Maneesh Gupta 50830c58e7 Fix some broken directed tests
Change-Id: I40f2661a74951f8d91824df8fd9ef0cc2312d183


[ROCm/hip commit: 1e9dc5b521]
2016-12-01 12:47:37 +05:30
Maneesh Gupta 1e9dc5b521 Fix some broken directed tests
Change-Id: I40f2661a74951f8d91824df8fd9ef0cc2312d183
2016-12-01 12:47:37 +05:30
foreman 2ed6248f78 P4 to Git Change 1347718 by kzhuravl@kzhuravl-fiji-oclhsa on 2016/11/30 13:40:59
SWDEV-76911 - Bring loader in sync with git (integration of CL 1347664) + necessary updates for runtimes

	ReviewBoardURL: http://ocltc.amd.com/reviews/r/11425/
	Testing: Dev/SCDevUtil build, smoke, some opencl sc stg builds/tests, precheckin (http://ocltc:8111/viewModification.html?modId=79218&personal=true&init=1&tab=vcsModificationBuilds)

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/amdhsacod/amdhsacod.cpp#17 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/executable.cpp#33 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/executable.hpp#18 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/loaders.hpp#12 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/include/amd_elf_image.hpp#9 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/include/amd_hsa_loader.hpp#15 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/include/hsa.h#5 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/include/hsa_ext_image.h#5 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#229 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#25 edit


[ROCm/clr commit: bc904d8335]
2016-11-30 13:47:21 -05:00
foreman bc904d8335 P4 to Git Change 1347718 by kzhuravl@kzhuravl-fiji-oclhsa on 2016/11/30 13:40:59
SWDEV-76911 - Bring loader in sync with git (integration of CL 1347664) + necessary updates for runtimes

	ReviewBoardURL: http://ocltc.amd.com/reviews/r/11425/
	Testing: Dev/SCDevUtil build, smoke, some opencl sc stg builds/tests, precheckin (http://ocltc:8111/viewModification.html?modId=79218&personal=true&init=1&tab=vcsModificationBuilds)

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/amdhsacod/amdhsacod.cpp#17 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/executable.cpp#33 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/executable.hpp#18 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/loaders.hpp#12 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/include/amd_elf_image.hpp#9 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/include/amd_hsa_loader.hpp#15 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/include/hsa.h#5 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/include/hsa_ext_image.h#5 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#229 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#25 edit
2016-11-30 13:47:21 -05:00
foreman 2caf2b7833 P4 to Git Change 1347598 by atamazov@ata_h1 on 2016/11/30 06:48:06
SWDEV-79309 - [ROCm][OCLonLC][AMDGPU asm] OclElf: Correctly skip symbols which have special section indexes.

	[Issues]
	Kernels which contain absolute symbols can't be run. Error message looks like:
	"OclElf::getSymbolInfo() failed in gelf_getshdr() - Invalid argument."

	[Reason]
	Symbols which have special section indexes (e.g. absolute symbols)
	are incorrectly handled by the compiler library.

	[Solution]
	Correctly skip symbols which have special section indexes in the loader.
	Promote the fix into compiler/legacy-lib at once.

	[Remarks/Misc]
	Absolute symbols do not normally produced by OpenCL compiler,
	but may come from kernels written in assembly language.
	AMDGPU asm exports all symbols, even ABSOLUTE LOCAL HIDDEN INTERNAL etc.
	Impossibility to disable export of useless symbols is known issue of llvm-mc
	core, see https://llvm.org/bugs/show_bug.cgi?id=27201.
	Note that presence of useless symbols does not make ELF invalid.

	[Review] http://ocltc.amd.com/reviews/r/11921/
	Evgeny Mankov (OK)

	[Tests]
	Tested that issue with asm kernels has gone.
	PASS TeamCity - Pre-checkin for CL1347161 timestamped:2016-11-29 21:54:40 Rev:0063

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/loaders/elf/elf.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/elf.cpp#36 edit


[ROCm/clr commit: 71f5fb7e8f]
2016-11-30 06:53:56 -05:00
foreman 71f5fb7e8f P4 to Git Change 1347598 by atamazov@ata_h1 on 2016/11/30 06:48:06
SWDEV-79309 - [ROCm][OCLonLC][AMDGPU asm] OclElf: Correctly skip symbols which have special section indexes.

	[Issues]
	Kernels which contain absolute symbols can't be run. Error message looks like:
	"OclElf::getSymbolInfo() failed in gelf_getshdr() - Invalid argument."

	[Reason]
	Symbols which have special section indexes (e.g. absolute symbols)
	are incorrectly handled by the compiler library.

	[Solution]
	Correctly skip symbols which have special section indexes in the loader.
	Promote the fix into compiler/legacy-lib at once.

	[Remarks/Misc]
	Absolute symbols do not normally produced by OpenCL compiler,
	but may come from kernels written in assembly language.
	AMDGPU asm exports all symbols, even ABSOLUTE LOCAL HIDDEN INTERNAL etc.
	Impossibility to disable export of useless symbols is known issue of llvm-mc
	core, see https://llvm.org/bugs/show_bug.cgi?id=27201.
	Note that presence of useless symbols does not make ELF invalid.

	[Review] http://ocltc.amd.com/reviews/r/11921/
	Evgeny Mankov (OK)

	[Tests]
	Tested that issue with asm kernels has gone.
	PASS TeamCity - Pre-checkin for CL1347161 timestamped:2016-11-29 21:54:40 Rev:0063

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/loaders/elf/elf.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/elf.cpp#36 edit
2016-11-30 06:53:56 -05:00
foreman cb2ce062b8 P4 to Git Change 1347509 by johtaylo@johtaylo-jtincrementor-increment on 2016/11/30 03:00:03
SWDEV-2 - Change OpenCL version number from 2290 to 2291.

Affected files ...

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


[ROCm/clr commit: 61a64a192b]
2016-11-30 02:12:59 -06:00
foreman 61a64a192b P4 to Git Change 1347509 by johtaylo@johtaylo-jtincrementor-increment on 2016/11/30 03:00:03
SWDEV-2 - Change OpenCL version number from 2290 to 2291.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2037 edit
2016-11-30 02:12:59 -06:00
Aditya Atluri 2c51f72e41 added half add and fma intrinsic
Change-Id: Ifa60c1a7065f524f069291bb00d987b11c836cc4


[ROCm/clr commit: e6df8cb28c]
2016-11-29 19:46:01 -06:00
Aditya Atluri e6df8cb28c added half add and fma intrinsic
Change-Id: Ifa60c1a7065f524f069291bb00d987b11c836cc4
2016-11-29 19:46:01 -06:00
Aditya Atluri cdbc90d490 added half add and fma intrinsic
Change-Id: Ifa60c1a7065f524f069291bb00d987b11c836cc4


[ROCm/hip commit: 7b0650773c]
2016-11-29 19:46:01 -06:00
Aditya Atluri 7b0650773c added half add and fma intrinsic
Change-Id: Ifa60c1a7065f524f069291bb00d987b11c836cc4
2016-11-29 19:46:01 -06:00
pensun 946e9b4163 Change to use produce device name by default
Change-Id: Ie2cee2a2e94a08b5874a2f5abee5d1ab6c9fdf47


[ROCm/clr commit: 504fcaf786]
2016-11-29 11:34:06 -06:00
pensun 504fcaf786 Change to use produce device name by default
Change-Id: Ie2cee2a2e94a08b5874a2f5abee5d1ab6c9fdf47
2016-11-29 11:34:06 -06:00
pensun cd92d2a145 Change to use produce device name by default
Change-Id: Ie2cee2a2e94a08b5874a2f5abee5d1ab6c9fdf47


[ROCm/hip commit: 0dfcd3e664]
2016-11-29 11:34:06 -06:00
pensun 0dfcd3e664 Change to use produce device name by default
Change-Id: Ie2cee2a2e94a08b5874a2f5abee5d1ab6c9fdf47
2016-11-29 11:34:06 -06:00
Rahul Garg 4421ff4fb6 Added support for hipMemGetAddressRange
Change-Id: I99a796a4eb765152cf15a12d6a86b58684d34f50


[ROCm/clr commit: bda0704213]
2016-11-29 22:04:09 +05:30
Rahul Garg bda0704213 Added support for hipMemGetAddressRange
Change-Id: I99a796a4eb765152cf15a12d6a86b58684d34f50
2016-11-29 22:04:09 +05:30
Rahul Garg a523bc5632 Added support for hipMemGetAddressRange
Change-Id: I99a796a4eb765152cf15a12d6a86b58684d34f50


[ROCm/hip commit: fe6ba656c9]
2016-11-29 22:04:09 +05:30
Rahul Garg fe6ba656c9 Added support for hipMemGetAddressRange
Change-Id: I99a796a4eb765152cf15a12d6a86b58684d34f50
2016-11-29 22:04:09 +05:30
foreman eb3e0d0332 P4 to Git Change 1346875 by johtaylo@johtaylo-jtincrementor-increment on 2016/11/29 03:00:05
SWDEV-2 - Change OpenCL version number from 2289 to 2290.

Affected files ...

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


[ROCm/clr commit: e46fadfb28]
2016-11-29 03:12:57 -05:00
foreman e46fadfb28 P4 to Git Change 1346875 by johtaylo@johtaylo-jtincrementor-increment on 2016/11/29 03:00:05
SWDEV-2 - Change OpenCL version number from 2289 to 2290.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2036 edit
2016-11-29 03:12:57 -05:00
Harish Kasiviswanathan 559e31d6ff Add API entrypoints for IPC functionality
Implement three new APIs for IPC buffer sharing:
	-hsaKmtShareMemory()
	-hsaKmtRegisterSharedHandle()
	-hsaKmtRegisterSharedHandleToNodes()

Add new ioclts necessary for the above APIs.

Change-Id: Ia2b4d0dc91ec64bff959395d11c0536467404792
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
2016-11-28 16:19:22 -05:00
Harish Kasiviswanathan 5d2336f1ca Add API entrypoints for IPC functionality
Implement three new APIs for IPC buffer sharing:
	-hsaKmtShareMemory()
	-hsaKmtRegisterSharedHandle()
	-hsaKmtRegisterSharedHandleToNodes()

Add new ioclts necessary for the above APIs.

Change-Id: Ia2b4d0dc91ec64bff959395d11c0536467404792
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>


[ROCm/ROCR-Runtime commit: 559e31d6ff]
2016-11-28 16:19:22 -05:00
Ramesh Errabolu 935c1b0ba9 Per review comments
Change-Id: I44585a6dcf3c4f0ce10f0e895270c113790e0652
2016-11-28 12:41:32 -06:00
Ramesh Errabolu a4c8e0fdca Per review comments
Change-Id: I44585a6dcf3c4f0ce10f0e895270c113790e0652


[ROCm/ROCR-Runtime commit: 935c1b0ba9]
2016-11-28 12:41:32 -06:00
Sylvain Jeaugey ffa399600e Merge pull request #54 from peterhj/peterhj-staticlib
Add a static library target "staticlib" to the Makefile.

[ROCm/rccl commit: ddddfba1c0]
2016-11-28 09:15:39 -08:00
Sylvain Jeaugey ddddfba1c0 Merge pull request #54 from peterhj/peterhj-staticlib
Add a static library target "staticlib" to the Makefile.
2016-11-28 09:15:39 -08:00
pensun b4b8de3cd7 Change the parameter type of hipDeviceGetPCIBusID to char*
Change-Id: Ia72f403126e95f65da53208fc246f45d1417381f


[ROCm/clr commit: 8e2980c7ef]
2016-11-28 10:47:18 -06:00
pensun 8e2980c7ef Change the parameter type of hipDeviceGetPCIBusID to char*
Change-Id: Ia72f403126e95f65da53208fc246f45d1417381f
2016-11-28 10:47:18 -06:00
pensun ab5cb4bce6 Change the parameter type of hipDeviceGetPCIBusID to char*
Change-Id: Ia72f403126e95f65da53208fc246f45d1417381f


[ROCm/hip commit: 2fbbf2b136]
2016-11-28 10:47:18 -06:00
pensun 2fbbf2b136 Change the parameter type of hipDeviceGetPCIBusID to char*
Change-Id: Ia72f403126e95f65da53208fc246f45d1417381f
2016-11-28 10:47:18 -06:00
foreman fedefcba5e P4 to Git Change 1346404 by johtaylo@johtaylo-jtincrementor-increment on 2016/11/28 03:00:04
SWDEV-2 - Change OpenCL version number from 2288 to 2289.

Affected files ...

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


[ROCm/clr commit: 68e3bfc72d]
2016-11-28 03:09:32 -05:00
foreman 68e3bfc72d P4 to Git Change 1346404 by johtaylo@johtaylo-jtincrementor-increment on 2016/11/28 03:00:04
SWDEV-2 - Change OpenCL version number from 2288 to 2289.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2035 edit
2016-11-28 03:09:32 -05:00
Maneesh Gupta 0a01c0325f Merge branch 'amd-develop' into amd-master
Change-Id: Ie5aa8e70607936f63cf4c763298140e83a375a68


[ROCm/hip-tests commit: effe8e1437]
2016-11-28 09:18:26 +05:30
Maneesh Gupta effe8e1437 Merge branch 'amd-develop' into amd-master
Change-Id: Ie5aa8e70607936f63cf4c763298140e83a375a68
2016-11-28 09:18:26 +05:30
Maneesh Gupta 88a3fe5b5a Merge branch 'amd-develop' into amd-master
Change-Id: Ie5aa8e70607936f63cf4c763298140e83a375a68


[ROCm/clr commit: 8a464ac850]
2016-11-28 09:18:26 +05:30
Maneesh Gupta 8a464ac850 Merge branch 'amd-develop' into amd-master
Change-Id: Ie5aa8e70607936f63cf4c763298140e83a375a68
2016-11-28 09:18:26 +05:30
Maneesh Gupta ed1eac6fef Merge branch 'amd-develop' into amd-master
Change-Id: Ie5aa8e70607936f63cf4c763298140e83a375a68


[ROCm/hip commit: 7fa65ee250]
2016-11-28 09:18:26 +05:30
Maneesh Gupta 7fa65ee250 Merge branch 'amd-develop' into amd-master
Change-Id: Ie5aa8e70607936f63cf4c763298140e83a375a68
2016-11-28 09:18:26 +05:30
foreman 4986b0a9db P4 to Git Change 1346311 by johtaylo@johtaylo-jtincrementor-increment on 2016/11/27 03:00:04
SWDEV-2 - Change OpenCL version number from 2287 to 2288.

Affected files ...

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


[ROCm/clr commit: 8195a9043b]
2016-11-27 03:10:33 -05:00
foreman 8195a9043b P4 to Git Change 1346311 by johtaylo@johtaylo-jtincrementor-increment on 2016/11/27 03:00:04
SWDEV-2 - Change OpenCL version number from 2287 to 2288.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2034 edit
2016-11-27 03:10:33 -05:00
Ben Sander 83ab39c044 Add more debug info
[ROCm/hip-tests commit: c590cd6865]
2016-11-26 08:56:02 -06:00
Ben Sander c590cd6865 Add more debug info 2016-11-26 08:56:02 -06:00
Ben Sander 68f1a627e0 Add more debug info
[ROCm/clr commit: a504df955e]
2016-11-26 08:56:02 -06:00