hipMalloc and hipHostMalloc are C++ function templates by default. In some
applications they need to discover the decltype of underlying C functions. In
this commit, a new macro __HIP_DISABLE_CPP_FUNCTIONS__ is introduced to
suppress the C++ function templates.
Existing HIP applications don't need to be changed. hipMalloc and hipHostMalloc
will behave just the same.
For new applications which depends on identifying decltypes of underlying C
functions, __HIP_DISABLE_CPP_FUNCTIONS__ shall be defined prior to including
HIP headers.
[ROCm/clr commit: f4e1f74e9e]
SWDEV-2 - Change OpenCL version number from 2833 to 2834.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2581 edit
[ROCm/clr commit: 2ca5657a48]
Disable linux specific compilation and linking options for windows.
In hip_vector_types.h, hip-clang needs HIP's own implementation for vector types even
on windows. MSVC specific implementation is for building runtime itself, which is compiled
by MSVC.
[ROCm/clr commit: d0fc2d0f99]
SWDEV-2 - Change OpenCL version number from 2832 to 2833.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2580 edit
[ROCm/clr commit: 84d5f1f0e6]
SWDEV-2 - Change OpenCL version number from 2831 to 2832.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2579 edit
[ROCm/clr commit: 85e4213bd0]
SWDEV-134107 - Add support for respecting target's xnack setting
- Enable the XNACK feature for all the APU system and remove the xnackEnabled_ field in AMDDeviceInfo struct
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#332 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#116 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#98 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#41 edit
[ROCm/clr commit: 1fa47a7398]
SWDEV-145570 - [HIP] Increase SVM size
In MGPU setups, we need more SVM to accomodate up to 4 GPUs @ 16GB each.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#302 edit
[ROCm/clr commit: fad3d44aa9]
SWDEV-2 - Change OpenCL version number from 2830 to 2831.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2578 edit
[ROCm/clr commit: 7afb8af5d7]
SWDEV-178313 - Properly enable OpenCL 2.0 on ROCm/LC path for Vega10+.
OPENCL_VERSION_STR is 2.1, but we only enable 2.0 since we don't have compiler's support for 2.1.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#115 edit
[ROCm/clr commit: bd269026e4]
SWDEV-178313 - Enable OpenCL 2.0 on ROCm/LC path for Vega10+
Doorbell self-ring doesn't work for Fiji, so we enable 2.0 only for Vega10+ for now.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#114 edit
[ROCm/clr commit: ff1165efe8]