SWDEV-2 - Change OpenCL version number from 2542 to 2543.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2290 edit
[ROCm/clr commit: ab0e2fb2fe]
SWDEV-2 - Change OpenCL version number from 2542 to 2543.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2290 edit
SWDEV-2 - Change OpenCL version number from 2541 to 2542.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2289 edit
[ROCm/clr commit: 460f5d125e]
SWDEV-2 - Change OpenCL version number from 2541 to 2542.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2289 edit
Print data in PMC trace when the debug level is set to 7(pr_debug).
Change-Id: I9abbb8f6c3f7962fb637528578c1a58b7784042d
Signed-off-by: Amber Lin <Amber.Lin@amd.com>
Print data in PMC trace when the debug level is set to 7(pr_debug).
Change-Id: I9abbb8f6c3f7962fb637528578c1a58b7784042d
Signed-off-by: Amber Lin <Amber.Lin@amd.com>
[ROCm/ROCR-Runtime commit: 6f7b55f2d8]
SWDEV-136068 - PAL support for Linux Pro: SSG support on OpenCL 1.2
- Enable LiquidFlash extension when DGMA available only.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#37 edit
[ROCm/clr commit: 0e496d9c9f]
SWDEV-136068 - PAL support for Linux Pro: SSG support on OpenCL 1.2
- Enable LiquidFlash extension when DGMA available only.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#37 edit
_fmm_unmap_from_gpu is called in fmm_map_to_gpu_nodes
to unmap buffer from nodes that is already mapped to
but not in the new map nodes list. Previously, the unmap
was called unconditionally even though the size of the
array to unmap is 0. This fixes the issue by calling
the unmap func only when the unmap array size is not 0.
Also releases the fmm_mutex on error returns
Change-Id: Iadd8383caf7ebb92f02618798c5efd138a352aaa
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
_fmm_unmap_from_gpu is called in fmm_map_to_gpu_nodes
to unmap buffer from nodes that is already mapped to
but not in the new map nodes list. Previously, the unmap
was called unconditionally even though the size of the
array to unmap is 0. This fixes the issue by calling
the unmap func only when the unmap array size is not 0.
Also releases the fmm_mutex on error returns
Change-Id: Iadd8383caf7ebb92f02618798c5efd138a352aaa
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
[ROCm/ROCR-Runtime commit: 061db45fe2]
Buffer mapping to devices and buffer registration to
devices can be changed b/t two pointer info queries.
Thus update buffer mapping info and registration info
only when mapping and registration changed. This is
done by free mapped_node_id_array on mapping to new
device and free registered_node_id_array on registration
and re-allocate them on next ptr info query.
Also uses fmm_mutex to avoid race conditions in case
of calling hsaKmtQueryPointerInfo concurrently with
calling of buffer mapping or registration
Change-Id: Ibc2e20be1fc0147066f873dfa44b21f5015104b7
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
Buffer mapping to devices and buffer registration to
devices can be changed b/t two pointer info queries.
Thus update buffer mapping info and registration info
only when mapping and registration changed. This is
done by free mapped_node_id_array on mapping to new
device and free registered_node_id_array on registration
and re-allocate them on next ptr info query.
Also uses fmm_mutex to avoid race conditions in case
of calling hsaKmtQueryPointerInfo concurrently with
calling of buffer mapping or registration
Change-Id: Ibc2e20be1fc0147066f873dfa44b21f5015104b7
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
[ROCm/ROCR-Runtime commit: f06e887725]
SWDEV-2 - Change OpenCL version number from 2540 to 2541.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2288 edit
[ROCm/clr commit: e7579ebca0]
SWDEV-2 - Change OpenCL version number from 2540 to 2541.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2288 edit