+ for all CUDA versions up to 10.0
+ add missing types
+ fix typos
+ sync with HIP
+ sync with CUDA Driver API
+ update CUDA_Runtime_API_functions_supported_by_HIP.md
+ update CUDA Driver API map accordingly
+ update CUDA_Driver_API_functions_supported_by_HIP.md
+ formatting, annotating
SWDEV-2 - Change OpenCL version number from 2765 to 2766.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2513 edit
SWDEV-167970 - Ethereum mining (EthDcrMiner64.exe) App crashed while running Claymore Mining over VI,AI ,CI ASIC families
- Fix a regression after CL#1608975. Use amdil complib instance to query the binary options. The logic in the abstraction layer attempts to validate the binary options and for some reason Ethereum binary isn't compatible with the HSAIL complib instance. It's a workaround for now, since the app doesn't allow debugger and printf debugging is quite time consuming.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#322 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.hpp#169 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#97 edit
SWDEV-132899 - [OCL] use the new "numAvailableCus" property from PAL which has the correct number of total available CUs
ReviewBoardURL = http://ocltc.amd.com/reviews/r/16060/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#114 edit
Clang 7.0.0 release has a known bug https://bugs.llvm.org/show_bug.cgi?id=36384, thus 7.0.0 is unstable release for Linux and Windows.
Last stable and tested LLVM+Clang release is 6.0.1.
Move remaining function definitions from device_util.cpp to hip_runtime.h header. We can now remove the static library completely as device_util.cpp was the last file part of target hip::hip_device .
[Reason]
Avoid cmake error occurred when mixing signatures with AddLLVM.cmake
[Error]
CMake Error at CMakeLists.txt:26 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "hipify-clang".
All uses of target_link_libraries with a target must be either all-keyword or all-plain.
Error occurred only on Linux and LLVM 7.0.0
SWDEV-2 - Change OpenCL version number from 2764 to 2765.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2512 edit
SWDEV-2 - Change OpenCL version number from 2763 to 2764.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2511 edit
SWDEV-79445 - OCL generic changes and code clean-up
- Don't disable the trace if start occurred on a queue, which didn't generate a preparation. That should fix random timeouts and still keep trace commands in order.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palgpuopen.cpp#10 edit
[Reasons]
+ Simplify the support
+ Optimize compilation and code generation time
[Additionally]
+ Update minimum required version of cmake
+ Fix MSVC compile options force update
SWDEV-79445 - OCL generic changes and code clean-up
- Remove detection of the global memory usage, based on the names of variables
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#82 edit
SWDEV-2 - Change OpenCL version number from 2762 to 2763.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2510 edit
SWDEV-2 - Change OpenCL version number from 2761 to 2762.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2509 edit