SWDEV-508963 - Change hipMemcpy subset of methods to use const qualifier for src (#139) (#418)

Change-Id: Ia5b68bacff634d3d9e5757f515bac50887895bc3

[ROCm/clr commit: c0c3aa3637]
Этот коммит содержится в:
Betigeri, Sourabh
2025-05-29 00:37:51 -07:00
коммит произвёл GitHub
родитель 88c3041e15
Коммит 328aeb758c
7 изменённых файлов: 16 добавлений и 16 удалений
+2 -2
Просмотреть файл
@@ -755,8 +755,8 @@ hipError_t capturehipMemcpyAsync(hipStream_t& stream, void*& dst, const void*& s
return capturehipMemcpy(stream, dst, src, sizeBytes, kind);
}
hipError_t capturehipMemcpyHtoDAsync(hipStream_t& stream, hipDeviceptr_t& dstDevice, void*& srcHost,
size_t& ByteCount, hipMemcpyKind& kind) {
hipError_t capturehipMemcpyHtoDAsync(hipStream_t& stream, hipDeviceptr_t& dstDevice,
const void*& srcHost, size_t& ByteCount, hipMemcpyKind& kind) {
ClPrint(amd::LOG_INFO, amd::LOG_API, "[hipGraph] Current capture node MemcpyHtoD on stream : %p",
stream);
if (!hip::isValid(stream)) {