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

This reverts commit 6deecf1bfe.

Reason for revert: It is considered a breaking change.

Change-Id: I6bfd81dcc16d36304efa2f151969427249a4122f
Tento commit je obsažen v:
Vladana Stojiljkovic
2024-11-07 04:32:41 -05:00
rodič 11a4cb3c34
revize 48df130d87
-1
Zobrazit soubor
@@ -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))) {