1. The variable is brought outside the conditional so that its scope is increased
Change-Id: I2d2689553e67930050fe5b3648739f0f72c3bbc8
[ROCm/clr commit: 5a47758033]
1. Current implementation checks both env var and value in hipconfig and reports error
2. New implementation gives value in hipconfig with highest priority
3. If hipconfig is not present, fall back to env variables.
To Devs: No need to switch between environment variables for different HCC + different HIP.
Change-Id: I6cdf37e1429d7f07be3a68c7e5ba1533d832962b
[ROCm/clr commit: df1dd53453]
Fixes bug “HIPIFY: nested macro is not hipified”
https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP/issues/33
Example:
#include "cuda_runtime.h"
#define MY_MACRO(func, flags) (func, flags)
...
cudaEvent_t *event = NULL;
MY_MACRO(cudaEventCreateWithFlags(event, cudaEventDisableTiming), NULL);
where cudaEventDisableTiming is a defined numeric literal and thus a nested MACRO:
#define cudaEventDisableTiming 0x02 /**< Event will not record timing data */
After hipifying now:
MY_MACRO(hipEventCreateWithFlags(event, cudaEventDisableTiming), NULL);
Should be:
MY_MACRO(hipEventCreateWithFlags(event, hipEventDisableTiming), NULL);
[ROCm/clr commit: aba73d6673]
SWDEV-2 - Change OpenCL version number from 2192 to 2193.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1939 edit
[ROCm/clr commit: 3bbba6ae4f]
SWDEV-2 - Change OpenCL version number from 2191 to 2192.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1938 edit
[ROCm/clr commit: 6cadecccfb]
SWDEV-2 - Change OpenCL version number from 2190 to 2191.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1937 edit
[ROCm/clr commit: 2d3f969c48]
SWDEV-2 - Change OpenCL version number from 2189 to 2190.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1936 edit
[ROCm/clr commit: 3183b02d63]
Change ihipDevice_t -> ihipCtx_t (new)
Change ihipGetTlsDefaultDevice->ihipGetTlsDefaultCtx
Some other changes from device->ctx where appropriate.
Change-Id: I5c4ae93b2fd42c6303aa23d748eb166b7431925d
[ROCm/clr commit: 0d16565061]
Replace with direct pointer to device. Cleaner, and prep
for transition to contexts.
Change-Id: I0e550f34412923d46c541c0a14bb7d29c3fd4b11
[ROCm/clr commit: 3c604b6430]
SWDEV-2 - Change OpenCL version number from 2188 to 2189.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1935 edit
[ROCm/clr commit: ea4fbacf13]
SWDEV-2 - Change OpenCL version number from 2187 to 2188.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1934 edit
[ROCm/clr commit: 8dec267ae7]
SWDEV-94610 - To allow the device initialization to complete, disable the blit kernels creation for now (OpenCL/LC).
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#6 edit
[ROCm/clr commit: 53e279d2b1]
SWDEV-2 - Change OpenCL version number from 2186 to 2187.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1933 edit
[ROCm/clr commit: a160657d67]
SWDEV-2 - Change OpenCL version number from 2185 to 2186.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1932 edit
[ROCm/clr commit: 1c7eee3d8b]
SWDEV-2 - Change OpenCL version number from 2184 to 2185.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1931 edit
[ROCm/clr commit: 554b5472d3]
1. CMake will create .hip-config file in bin directory
Future Work: Need to make changes to hipcc to read the file
Change-Id: Ia7dc48d43787921d5af4ab07d7a5befbcf904465
[ROCm/clr commit: 5971c64a7b]
SWDEV-2 - Change OpenCL version number from 2183 to 2184.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1930 edit
[ROCm/clr commit: 2c09adc799]
SWDEV-2 - Change OpenCL version number from 2182 to 2183.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1929 edit
[ROCm/clr commit: 0398b45b3d]
SWDEV-2 - Change OpenCL version number from 2181 to 2182.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1928 edit
[ROCm/clr commit: 9696e52d9b]