76333 Коммитов

Автор SHA1 Сообщение Дата
Rahul Garg aec8a2c846 Merge "Update in clock function" into amd-master 2016-05-24 10:15:12 -04:00
Maneesh Gupta d01e9482ae Move hipify-clang info to its own README
Squashed commit of the following:

commit bc44bcee461e46b0cf5cb9fe09213dca450b081a
Author: Daniil Fukalov <daniil.fukalov@amd.com>
Date:   Mon May 16 20:50:05 2016 +0300

    added note about errors without CUDA sdk installed

commit 5fd73ba90c0940bdc977737894362a99f4232b56
Author: Daniil Fukalov <daniil.fukalov@amd.com>
Date:   Mon May 16 20:31:47 2016 +0300

    move clang-hipify info to its own README

commit 21d81a6d5acd3f093d77ac4d584e6f5bbe48f8cc
Author: Daniil Fukalov <daniil.fukalov@amd.com>
Date:   Mon May 16 20:30:00 2016 +0300

    initial version

Change-Id: I157294699a7be3d0bb38b2ee4a137a94280529c9


[ROCm/clr commit: be0d44bd74]
2016-05-24 12:45:25 +05:30
Maneesh Gupta be0d44bd74 Move hipify-clang info to its own README
Squashed commit of the following:

commit bc44bcee461e46b0cf5cb9fe09213dca450b081a
Author: Daniil Fukalov <daniil.fukalov@amd.com>
Date:   Mon May 16 20:50:05 2016 +0300

    added note about errors without CUDA sdk installed

commit 5fd73ba90c0940bdc977737894362a99f4232b56
Author: Daniil Fukalov <daniil.fukalov@amd.com>
Date:   Mon May 16 20:31:47 2016 +0300

    move clang-hipify info to its own README

commit 21d81a6d5acd3f093d77ac4d584e6f5bbe48f8cc
Author: Daniil Fukalov <daniil.fukalov@amd.com>
Date:   Mon May 16 20:30:00 2016 +0300

    initial version

Change-Id: I157294699a7be3d0bb38b2ee4a137a94280529c9
2016-05-24 12:45:25 +05:30
Maneesh Gupta e310ee8ac2 Move hipify-clang info to its own README
Squashed commit of the following:

commit bc44bcee461e46b0cf5cb9fe09213dca450b081a
Author: Daniil Fukalov <daniil.fukalov@amd.com>
Date:   Mon May 16 20:50:05 2016 +0300

    added note about errors without CUDA sdk installed

commit 5fd73ba90c0940bdc977737894362a99f4232b56
Author: Daniil Fukalov <daniil.fukalov@amd.com>
Date:   Mon May 16 20:31:47 2016 +0300

    move clang-hipify info to its own README

commit 21d81a6d5acd3f093d77ac4d584e6f5bbe48f8cc
Author: Daniil Fukalov <daniil.fukalov@amd.com>
Date:   Mon May 16 20:30:00 2016 +0300

    initial version

Change-Id: I157294699a7be3d0bb38b2ee4a137a94280529c9


[ROCm/hip commit: dd8c97c0d4]
2016-05-24 12:45:25 +05:30
Maneesh Gupta dd8c97c0d4 Move hipify-clang info to its own README
Squashed commit of the following:

commit bc44bcee461e46b0cf5cb9fe09213dca450b081a
Author: Daniil Fukalov <daniil.fukalov@amd.com>
Date:   Mon May 16 20:50:05 2016 +0300

    added note about errors without CUDA sdk installed

commit 5fd73ba90c0940bdc977737894362a99f4232b56
Author: Daniil Fukalov <daniil.fukalov@amd.com>
Date:   Mon May 16 20:31:47 2016 +0300

    move clang-hipify info to its own README

commit 21d81a6d5acd3f093d77ac4d584e6f5bbe48f8cc
Author: Daniil Fukalov <daniil.fukalov@amd.com>
Date:   Mon May 16 20:30:00 2016 +0300

    initial version

Change-Id: I157294699a7be3d0bb38b2ee4a137a94280529c9
2016-05-24 12:45:25 +05:30
foreman cec4c7e95c P4 to Git Change 1272193 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/05/24 03:00:13
SWDEV-2 - Change OpenCL version number from 2123 to 2124.

Affected files ...

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


[ROCm/clr commit: fa72df789b]
2016-05-24 03:10:32 -04:00
foreman fa72df789b P4 to Git Change 1272193 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/05/24 03:00:13
SWDEV-2 - Change OpenCL version number from 2123 to 2124.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1870 edit
2016-05-24 03:10:32 -04:00
foreman bfb1fd5466 P4 to Git Change 1272070 by smekhano@stas-nova-hsa on 2016/05/23 14:39:45
SWDEV-85602 - switch to use of linkonce_odr for library and obsolete linkWithModule patches

	The linkonce_odr linkage is set to any non-local functions in the library during library build.

	Libraries are linked left to right and never back resolved. For that reason clp on the fly library
	is moved to the end of the library list. Otherwise by the time clp would like to use the scalar version
	of a builtin function for vector expansion this scalar function will not be available anymore.

	With the linkonce_odr linkage the linker includes any referenced function from a linked in module.
	That is true even for unused declarations. Therefor after every module my new code drops all unused
	declarations from the composite. If we do not do it a wrapper library such as builtins-hsail would
	reference all symbols from the wrapping library such as ocml and the wrapping library would be linked in
	almost as a whole. Dropping unused declarations solves it.

	Testing: smoke, pecheckin, conformance 2.0 with and w/o optimization
	Reviewed by Nikolay Haustov, Daniil Fukalov and Evgeny Mankov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#144 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.hpp#17 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/include/AMDResolveLinker.h#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/lib/AMDResolveLinker.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/tools/opencl-link/opencl-link.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/Linker/Linker.h#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Linker/LinkModules.cpp#51 edit
... //depot/stg/opencl/drivers/opencl/library/x86/common/src/amdrt/build/Makefile.amdrt#24 edit
... //depot/stg/opencl/drivers/opencl/opencldefs#169 edit


[ROCm/clr commit: a10cfef5e7]
2016-05-23 14:45:13 -04:00
foreman a10cfef5e7 P4 to Git Change 1272070 by smekhano@stas-nova-hsa on 2016/05/23 14:39:45
SWDEV-85602 - switch to use of linkonce_odr for library and obsolete linkWithModule patches

	The linkonce_odr linkage is set to any non-local functions in the library during library build.

	Libraries are linked left to right and never back resolved. For that reason clp on the fly library
	is moved to the end of the library list. Otherwise by the time clp would like to use the scalar version
	of a builtin function for vector expansion this scalar function will not be available anymore.

	With the linkonce_odr linkage the linker includes any referenced function from a linked in module.
	That is true even for unused declarations. Therefor after every module my new code drops all unused
	declarations from the composite. If we do not do it a wrapper library such as builtins-hsail would
	reference all symbols from the wrapping library such as ocml and the wrapping library would be linked in
	almost as a whole. Dropping unused declarations solves it.

	Testing: smoke, pecheckin, conformance 2.0 with and w/o optimization
	Reviewed by Nikolay Haustov, Daniil Fukalov and Evgeny Mankov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#144 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.hpp#17 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/include/AMDResolveLinker.h#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/lib/AMDResolveLinker.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/tools/opencl-link/opencl-link.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/Linker/Linker.h#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Linker/LinkModules.cpp#51 edit
... //depot/stg/opencl/drivers/opencl/library/x86/common/src/amdrt/build/Makefile.amdrt#24 edit
... //depot/stg/opencl/drivers/opencl/opencldefs#169 edit
2016-05-23 14:45:13 -04:00
James Edwards 72cb6dd33f Add hsa-ext-rocr-dev automatic packaging.
Change-Id: Ieb0d179b4e1a398a9400bd80037a46d0513582bc
2016-05-23 10:10:44 -04:00
James Edwards 3d304b4f99 Add hsa-ext-rocr-dev automatic packaging.
Change-Id: Ieb0d179b4e1a398a9400bd80037a46d0513582bc


[ROCm/ROCR-Runtime commit: 72cb6dd33f]
2016-05-23 10:10:44 -04:00
foreman 9a1b5c05d4 P4 to Git Change 1271928 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/05/23 03:00:11
SWDEV-2 - Change OpenCL version number from 2122 to 2123.

Affected files ...

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


[ROCm/clr commit: c015b834a3]
2016-05-23 03:10:59 -04:00
foreman c015b834a3 P4 to Git Change 1271928 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/05/23 03:00:11
SWDEV-2 - Change OpenCL version number from 2122 to 2123.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1869 edit
2016-05-23 03:10:59 -04:00
Maneesh Gupta bbdf746112 Merge "Fix missing JSON database warning from hipify-clang" into amd-master
[ROCm/clr commit: f254c07381]
2016-05-23 01:50:46 -04:00
Maneesh Gupta f254c07381 Merge "Fix missing JSON database warning from hipify-clang" into amd-master 2016-05-23 01:50:46 -04:00
Maneesh Gupta 40d6e8cbb5 Merge "Fix missing JSON database warning from hipify-clang" into amd-master
[ROCm/hip commit: 97542a4acf]
2016-05-23 01:50:46 -04:00
Maneesh Gupta 97542a4acf Merge "Fix missing JSON database warning from hipify-clang" into amd-master 2016-05-23 01:50:46 -04:00
foreman ad25ce0da8 P4 to Git Change 1271842 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/05/22 03:00:11
SWDEV-2 - Change OpenCL version number from 2121 to 2122.

Affected files ...

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


[ROCm/clr commit: 9d115dce98]
2016-05-22 03:09:59 -04:00
foreman 9d115dce98 P4 to Git Change 1271842 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/05/22 03:00:11
SWDEV-2 - Change OpenCL version number from 2121 to 2122.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1868 edit
2016-05-22 03:09:59 -04:00
foreman 6fa4412bca P4 to Git Change 1271822 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/05/21 03:00:11
SWDEV-2 - Change OpenCL version number from 2120 to 2121.

Affected files ...

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


[ROCm/clr commit: eb5c0ac22c]
2016-05-21 03:15:55 -04:00
foreman eb5c0ac22c P4 to Git Change 1271822 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/05/21 03:00:11
SWDEV-2 - Change OpenCL version number from 2120 to 2121.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1867 edit
2016-05-21 03:15:55 -04:00
Amber Lin 6d21c4e753 Add performance counters for gfx70x
Add performance counters for gfx70x. The reference is the gfx7 register spec.
The register being looked at is SQ_PERFCOUNTER0_SELECT.

Change-Id: I344bfb7452f6148f4dc268163d12c553c6be8424
2016-05-20 16:24:36 -04:00
Amber Lin de82e820c2 Add performance counters for gfx70x
Add performance counters for gfx70x. The reference is the gfx7 register spec.
The register being looked at is SQ_PERFCOUNTER0_SELECT.

Change-Id: I344bfb7452f6148f4dc268163d12c553c6be8424


[ROCm/ROCR-Runtime commit: 6d21c4e753]
2016-05-20 16:24:36 -04:00
Besar Wicaksono bc589048a9 Use lazy initialization to create Blit objects
Change-Id: I388865030dc2538c5c881c055e38af52a57f6d87
2016-05-20 14:26:06 -04:00
Besar Wicaksono 520d33a875 Use lazy initialization to create Blit objects
Change-Id: I388865030dc2538c5c881c055e38af52a57f6d87


[ROCm/ROCR-Runtime commit: bc589048a9]
2016-05-20 14:26:06 -04:00
foreman 2f53c678a3 P4 to Git Change 1271561 by smekhano@stas-rampitec-hsa on 2016/05/20 13:15:00
SWDEV-85602 - Complib: switch off some legacy code
	Testing: smoke, precheckin
	Reviewed by Evgeny Mankov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#143 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.hpp#16 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/include/AMDResolveLinker.h#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/lib/AMDResolveLinker.cpp#3 edit


[ROCm/clr commit: 5901528bb0]
2016-05-20 13:32:27 -04:00
foreman 5901528bb0 P4 to Git Change 1271561 by smekhano@stas-rampitec-hsa on 2016/05/20 13:15:00
SWDEV-85602 - Complib: switch off some legacy code
	Testing: smoke, precheckin
	Reviewed by Evgeny Mankov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#143 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.hpp#16 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/include/AMDResolveLinker.h#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/linker/lib/AMDResolveLinker.cpp#3 edit
2016-05-20 13:32:27 -04:00
Maneesh Gupta d1c47f5587 Merge "Add hipSetDeviceFlags implementation for NVCC" into amd-master
[ROCm/clr commit: 7e15de2126]
2016-05-20 13:03:42 -04:00
Maneesh Gupta 7e15de2126 Merge "Add hipSetDeviceFlags implementation for NVCC" into amd-master 2016-05-20 13:03:42 -04:00
Maneesh Gupta 9d0f3975b3 Merge "Add hipSetDeviceFlags implementation for NVCC" into amd-master
[ROCm/hip commit: 9688702fce]
2016-05-20 13:03:42 -04:00
Maneesh Gupta 9688702fce Merge "Add hipSetDeviceFlags implementation for NVCC" into amd-master 2016-05-20 13:03:42 -04:00
Maneesh Gupta f7a000bf5b Merge "Disable failing/unsupported test cases on nvcc platform" into amd-master
[ROCm/clr commit: 65357e6700]
2016-05-20 13:03:26 -04:00
Maneesh Gupta 65357e6700 Merge "Disable failing/unsupported test cases on nvcc platform" into amd-master 2016-05-20 13:03:26 -04:00
Maneesh Gupta e42b27358a Merge "Disable failing/unsupported test cases on nvcc platform" into amd-master
[ROCm/hip commit: 603a9c1c7d]
2016-05-20 13:03:26 -04:00
Maneesh Gupta 603a9c1c7d Merge "Disable failing/unsupported test cases on nvcc platform" into amd-master 2016-05-20 13:03:26 -04:00
Maneesh Gupta 6b5664d471 Merge "Link against libc++ only on hcc platform" into amd-master
[ROCm/clr commit: b8b9f55655]
2016-05-20 13:03:17 -04:00
Maneesh Gupta b8b9f55655 Merge "Link against libc++ only on hcc platform" into amd-master 2016-05-20 13:03:17 -04:00
Maneesh Gupta b738e493ea Merge "Link against libc++ only on hcc platform" into amd-master
[ROCm/hip commit: 03cc432bad]
2016-05-20 13:03:17 -04:00
Maneesh Gupta 03cc432bad Merge "Link against libc++ only on hcc platform" into amd-master 2016-05-20 13:03:17 -04:00
Maneesh Gupta 0644603c07 Fix missing JSON database warning from hipify-clang
Change-Id: I4aeff51556678266c1392a031deeb9ffff2386bc


[ROCm/clr commit: 4efabb955b]
2016-05-20 14:06:27 +05:30
Maneesh Gupta 4efabb955b Fix missing JSON database warning from hipify-clang
Change-Id: I4aeff51556678266c1392a031deeb9ffff2386bc
2016-05-20 14:06:27 +05:30
Maneesh Gupta 340a3f8d5b Fix missing JSON database warning from hipify-clang
Change-Id: I4aeff51556678266c1392a031deeb9ffff2386bc


[ROCm/hip commit: 99dc8abf68]
2016-05-20 14:06:27 +05:30
Maneesh Gupta 99dc8abf68 Fix missing JSON database warning from hipify-clang
Change-Id: I4aeff51556678266c1392a031deeb9ffff2386bc
2016-05-20 14:06:27 +05:30
foreman 55ef879cb8 P4 to Git Change 1271303 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/05/20 03:00:10
SWDEV-2 - Change OpenCL version number from 2119 to 2120.

Affected files ...

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


[ROCm/clr commit: 12d0555a41]
2016-05-20 03:09:02 -04:00
foreman 12d0555a41 P4 to Git Change 1271303 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/05/20 03:00:10
SWDEV-2 - Change OpenCL version number from 2119 to 2120.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1866 edit
2016-05-20 03:09:02 -04:00
Maneesh Gupta 52f7a44d29 Add hipSetDeviceFlags implementation for NVCC
Change-Id: Id19e965950b728cfe0a514e6cdf65a191d063c10


[ROCm/clr commit: a42b0f5909]
2016-05-20 12:39:02 +05:30
Maneesh Gupta a42b0f5909 Add hipSetDeviceFlags implementation for NVCC
Change-Id: Id19e965950b728cfe0a514e6cdf65a191d063c10
2016-05-20 12:39:02 +05:30
Maneesh Gupta 6fdad8a80d Add hipSetDeviceFlags implementation for NVCC
Change-Id: Id19e965950b728cfe0a514e6cdf65a191d063c10


[ROCm/hip commit: 0452d7c1af]
2016-05-20 12:39:02 +05:30
Maneesh Gupta 0452d7c1af Add hipSetDeviceFlags implementation for NVCC
Change-Id: Id19e965950b728cfe0a514e6cdf65a191d063c10
2016-05-20 12:39:02 +05:30
Maneesh Gupta 6c993e0450 Disable failing/unsupported test cases on nvcc platform
Change-Id: Iad00db3dd1663303c43eed81d26be76b3fb1ba85


[ROCm/clr commit: f7cf463cb4]
2016-05-20 12:30:37 +05:30