Revert "SWDEV-490474 - Allow hipMallocManaged capturing only in relaxed mode"

This reverts commit 830c72e286.

Reason for revert: It is considered a breaking change.

Change-Id: I6bfd81dcc16d36304efa2f151969427249a4122f


[ROCm/clr commit: 48df130d87]
Cette révision appartient à :
Vladana Stojiljkovic
2024-11-07 04:32:41 -05:00
Parent 0692af90ad
révision d1cf8700c8
-1
Voir le fichier
@@ -64,7 +64,6 @@ static_assert(static_cast<uint32_t>(hipMemRangeAttributeLastPrefetchLocation) ==
// ================================================================================================
hipError_t hipMallocManaged(void** dev_ptr, size_t size, unsigned int flags) {
HIP_INIT_API(hipMallocManaged, dev_ptr, size, flags);
CHECK_STREAM_CAPTURE_SUPPORTED();
if ((dev_ptr == nullptr) || (size == 0) ||
((flags != hipMemAttachGlobal) && (flags != hipMemAttachHost))) {