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
Este commit está contenido en:
Vladana Stojiljkovic committed 2024-11-07 04:33:07 -05:00
1 padre 11a4cb3c34
commit 48df130d87
1 file changed
-1
-1
Ver fichero
@@ -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))) {