- Validate compile-time disables.
- Add README.md section explain how to install/use CodeXL tracing
- Add code docs on trace_helper.h
- fix color on hipLaunchKernel to green.
[ROCm/clr commit: fa8deac1ad]
- Creates markers in HIP group and they show up in CodeXL trace
- Marker text includes HIP functioin arguments
- (Add trace_helper to convert arguments to strings)
- Still need to add HIP_INIT_API for ~30 HIP functions.
[ROCm/clr commit: 54704b59dd]
Note hipHostMalloc (not hipHostAlloc or hipMallocHost).
- the hipHost* is used for all HIP APIs dealing with Host memory.
(including hipHostMalloc, hipHostFree, hipHostRegister,
hipHostUnregister, hipHostGetFlags, hipHostGetDevicePointer).
- hipMallocHost is consistent with "hipMalloc" for allocating device
memory. Enumerations hipHostMalloc* also used as optional
flags parm to hipHostMalloc.
[ROCm/clr commit: 2d0fade1f7]
SWDEV-2 - Change OpenCL version number from 2070 to 2071.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1817 edit
[ROCm/clr commit: 081797160c]
SWDEV-90408 - OpenCL runtime crashes when querying CL_PROGRAM_NUM_KERNELS on a program built with clCompileProgram
- The app attempts to get query before build/link call. Make sure symbols are available.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_program.cpp#40 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.hpp#39 edit
[ROCm/clr commit: c2b98ee500]
SWDEV-90408 - OpenCL runtime crashes when querying CL_PROGRAM_NUM_KERNELS on a program built with clCompileProgram
- The app attempts to get query before build/link call. Make sure symbols are available.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_program.cpp#40 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.hpp#39 edit
[ROCm/clr commit: 769ff6d3f8]
SWDEV-2 - Change OpenCL version number from 2069 to 2070.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1816 edit
[ROCm/clr commit: 19564646c7]
SWDEV-2 - Change OpenCL version number from 2068 to 2069.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1815 edit
[ROCm/clr commit: d58bf7ea73]
These will print compiler warnings if used, so we can weed them out
before removing.
Also add a default flags args for hipHostAlloc, in the C++ functioin
headers. So you can replace hipMallocHost(&ptr, size( with hipHostAlloc(&ptr, size)
[ROCm/clr commit: 57365eb7a3]
- move waitAllStreams to device member function.
- create separate stream member function for copyAsync, like copySync.
hipMemcpyAsync now calls the copyAsync.
[ROCm/clr commit: a88c2b1ec9]
- NULL stream was waiting for itself to be empty before each command.
- Force "blocking" streams to wait for NULL to empty. This was missing
before.
- async copy was disabling itself via trueAsync=false for common cases.
Refactor:
- rename _null_stream to _default_stream.
- move some null sync function to defaultSync, move to dev member func.
[ROCm/clr commit: 44522eb607]
SWDEV-2 - Change OpenCL version number from 2067 to 2068.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1814 edit
[ROCm/clr commit: ef7612cfb3]
-Move staging buffer locks inside the staging buffer code.
-Remove dedicated per-device completion_signal + per-device lock -
instead allocated signal from the per-stream pool. This elimintes
the lock and allows more concurrency.
-remove switch HIP_DISABLE_BIDIR_MEMCPY
[ROCm/clr commit: e64174f47a]
SWDEV-2 - Change OpenCL version number from 2066 to 2067.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1813 edit
[ROCm/clr commit: 35181ad34b]