SWDEV-2 - Change OpenCL version number from 2810 to 2811.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2558 edit
SWDEV-132899 - [OCL][GFX10] report number of WGP by default on gfx10 ASICs
Both HSAIL/SC and LC compilers use WGP mode by default on gfx10 ASICs (i.e., COMPUTE_PGM_RSRC1.WGP_MODE is set to 1 by both compilers) therefore runtime should report number of WGP (i.e., CU/2) on gfx10 ASICs by default.
The new environment variable (GPU_ENABLE_WGP_MODE = 0) can be used to force CU mode on LC (i.e., -mcumode option) if its needed (HSAIL/SC doesn't have any compiler option for forcing the CU mode)
Also, using the new environment variable (GPU_ENABLE_WAVE32_MODE) to control the wave32 mode on gfx10+.
ReviewRequestURL = http://ocltc.amd.com/reviews/r/16435/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#329 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#121 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#65 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#301 edit
SWDEV-2 - Change OpenCL version number from 2809 to 2810.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2557 edit
SWDEV-2 - Change OpenCL version number from 2808 to 2809.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2556 edit
hipify-clang could be built by Visual Studio 14 2015 or higher.
[Reason]
hipify-clang contains c++14 features which are not supported even by the latest VS 2013 and the Platform Toolset "Visual C++ Compiler Nov 2013 CTP".
SWDEV-2 - Change OpenCL version number from 2807 to 2808.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2555 edit
- Improved install instructions for AMD-hcc and NVIDIA-nvcc.
- Removed redundant section related to HCC-Native-GCN-ISA.
Change-Id: I33a9e71d95df51dbdcade4a48834840146bdbe6f
SWDEV-79445 - OCL generic changes and code clean-up
- Add IS_LIGHTNING check for the rocr initialization, because currently for LC builds GPU_ENABLE_PAL is forced to 1.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#241 edit
SWDEV-79445 - OCL generic changes and code clean-up
- Allow ROCr and PAL support from a single runtime binary. Runtime will use ROCr path by default with GPU_ENABLE_PAL=1 forcing PAL.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#183 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#240 edit
SWDEV-2 - Change OpenCL version number from 2806 to 2807.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2554 edit
SWDEV-79445 - OCL generic changes and code clean-up
- Keep the body of all methods in the Program interface
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#97 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#44 edit
SWDEV-79445 - OCL generic changes and code clean-up
- Move the constructor body of LightningProgram to the header
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#96 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#43 edit
SWDEV-2 - Change OpenCL version number from 2805 to 2806.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2553 edit
SWDEV-2 - Change OpenCL version number from 2804 to 2805.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2552 edit
Header files in those dirs are an integral part of clang, which includes wrapper headers for CUDA.
There is no need in checking those dirs.
[Reasons]
1. clang will not take into account empty or irrelevant include dirs;
2. Packages for different clang versions will have different header files in the above dirs.
[Reasons]
+ We don't compile kernel code at least for now as HIP kernel syntax is almost equal CUDA's;
+ clang always includes PTX in its binaries, so e.g. a binary compiled with --cuda-gpu-arch= would be forwards-compatible with e.g. sm_35 GPUs.