SWDEV-94610 - Add the control functions to the link (roc::HSAILProgram::linkImpl_LC)
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#9 edit
1. Added 2 new driver apis, hipModuleLoad, hipModuleGetFunction
Change-Id: If464a7fad178121e3da791c7ac9e17ebc01a9cd0
Issues: When a sample written with them shows Aborted (core dumped) when exiting
SWDEV-2 - Change OpenCL version number from 2197 to 2198.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1944 edit
SWDEV-2 - Change OpenCL version number from 2196 to 2197.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1943 edit
- moved hip base version information back to hipconfig
- fixed bug in hip patch version generation
- renamed .hipconfig to .buildInfo
- HCC_HOME is logged to .buildInfo only when HIP_DEVELOPER environment
- variable is defined
- hipcc and hipconfig require perl 5.10.1 or above
- replaced unless defined with logic-defined or
- added ROCM_TARGET for carrizo
- moved config parsing to a subroutine
- config parsing does not set VALID key anymore
- hipcc honors HCC_HOME environment variable above buildInfo
- hip_base package now bundles .version in bin directory
Change-Id: Iaeea6d7529671220b02e07337946aaee0af90310
SWDEV-2 - Change OpenCL version number from 2195 to 2196.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1942 edit
SWDEV-2 - Change OpenCL version number from 2194 to 2195.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1941 edit
SWDEV-2 - Change OpenCL version number from 2193 to 2194.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1940 edit
SWDEV-100298 - oclPerfImageMapUnmap test fails in Fiji
Reverted back CL #1295719 and instead copy back the whole host mem data onto the device memory since that's what is done at map time.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/11076/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#7 edit
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
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);
SWDEV-2 - Change OpenCL version number from 2192 to 2193.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1939 edit
SWDEV-2 - Change OpenCL version number from 2191 to 2192.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1938 edit
SWDEV-2 - Change OpenCL version number from 2190 to 2191.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1937 edit
APIs: hipInit, hipCtxCreate.
Track TLS default ctx. Set deviceID now changes the ctx.
Add first context test.
Change-Id: If1cb9989b5a04a36147e25e84904336c7b6f3d88
SWDEV-2 - Change OpenCL version number from 2189 to 2190.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1936 edit
Change ihipDevice_t -> ihipCtx_t (new)
Change ihipGetTlsDefaultDevice->ihipGetTlsDefaultCtx
Some other changes from device->ctx where appropriate.
Change-Id: I5c4ae93b2fd42c6303aa23d748eb166b7431925d
SWDEV-2 - Change OpenCL version number from 2188 to 2189.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1935 edit
SWDEV-2 - Change OpenCL version number from 2187 to 2188.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1934 edit
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
SWDEV-2 - Change OpenCL version number from 2186 to 2187.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1933 edit