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
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
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]
SWDEV-2 - Change OpenCL version number from 2123 to 2124.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1870 edit
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]
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
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]
SWDEV-2 - Change OpenCL version number from 2122 to 2123.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1869 edit
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]
SWDEV-2 - Change OpenCL version number from 2121 to 2122.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1868 edit
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]
SWDEV-2 - Change OpenCL version number from 2120 to 2121.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1867 edit
Add performance counters for gfx70x. The reference is the gfx7 register spec.
The register being looked at is SQ_PERFCOUNTER0_SELECT.
Change-Id: I344bfb7452f6148f4dc268163d12c553c6be8424
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]
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]
SWDEV-2 - Change OpenCL version number from 2119 to 2120.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1866 edit