Existing code assumes all counters sent to hsaKmtPmcRegisterTrace belong
to one PMC block and this block is SQ. This patch considers cases when
counters are in different blocks, and removes the hard-coded SQ. As a
matter of fact, SQ is non-privileged so the user even shouldn't use SQ
counters to register/release trace. This patch also ignores
non-privileged blocks as what HSA Thunk spec describes.
This patch also records counters information in trace structure so
AcquireTrace can get counters information using that TraceId.
Change-Id: Ifa5741050553d4615baab01f7485a9e09435b019
Signed-off-by: Amber Lin <Amber.Lin@amd.com>
Existing code assumes all counters sent to hsaKmtPmcRegisterTrace belong
to one PMC block and this block is SQ. This patch considers cases when
counters are in different blocks, and removes the hard-coded SQ. As a
matter of fact, SQ is non-privileged so the user even shouldn't use SQ
counters to register/release trace. This patch also ignores
non-privileged blocks as what HSA Thunk spec describes.
This patch also records counters information in trace structure so
AcquireTrace can get counters information using that TraceId.
Change-Id: Ifa5741050553d4615baab01f7485a9e09435b019
Signed-off-by: Amber Lin <Amber.Lin@amd.com>
[ROCm/ROCR-Runtime commit: cb60c5f18a]
Section "20. Data types used by CUDA Runtime API and supported by HIP" is added.
+ 44 supported data types are added
- 46 at least to support
All the supported data types are also supported by hipify-clang (synced).
[ROCm/clr commit: 2fb5ef1545]
Section "20. Data types used by CUDA Runtime API and supported by HIP" is added.
+ 44 supported data types are added
- 46 at least to support
All the supported data types are also supported by hipify-clang (synced).
Section "20. Data types used by CUDA Runtime API and supported by HIP" is added.
+ 44 supported data types are added
- 46 at least to support
All the supported data types are also supported by hipify-clang (synced).
[ROCm/hip commit: 5c11789358]
Section "20. Data types used by CUDA Runtime API and supported by HIP" is added.
+ 44 supported data types are added
- 46 at least to support
All the supported data types are also supported by hipify-clang (synced).
SWDEV-2 - Change OpenCL version number from 2367 to 2368.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2114 edit
[ROCm/clr commit: 6003a5e83d]
SWDEV-2 - Change OpenCL version number from 2367 to 2368.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2114 edit
SWDEV-2 - Change OpenCL version number from 2366 to 2367.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2113 edit
[ROCm/clr commit: efd9c74906]
SWDEV-2 - Change OpenCL version number from 2366 to 2367.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2113 edit
Implement two new API for cross memory read and write operation.
- hsaKmtProcessVMRead
- hsaKmtProcessVMWrite
Add new ioclts necessary for the above APIs.
Change-Id: I0c153e3b4e1f32b7a8b102ad5c774d9ae9bfc2fa
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Implement two new API for cross memory read and write operation.
- hsaKmtProcessVMRead
- hsaKmtProcessVMWrite
Add new ioclts necessary for the above APIs.
Change-Id: I0c153e3b4e1f32b7a8b102ad5c774d9ae9bfc2fa
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
[ROCm/ROCR-Runtime commit: e79521b556]
Move hipBindTexture and hipUnbindTexture to "18. C++ API Routines" from "13. Texture Reference Management". They are C++, not C.
[ROCm/clr commit: ce245f14e8]
Move hipBindTexture and hipUnbindTexture to "18. C++ API Routines" from "13. Texture Reference Management". They are C++, not C.
[ROCm/hip commit: ee157678b9]
+ 21 supported functions
- 99 at least to support
All the supported functions are also supported by hipify-clang (synced).
[ROCm/clr commit: ce664e2418]
+ 21 supported functions
- 99 at least to support
All the supported functions are also supported by hipify-clang (synced).
[ROCm/hip commit: a35d4b75c5]