From d1cf8700c8c8089309b32515eb31cd3b6dcf4970 Mon Sep 17 00:00:00 2001 From: Vladana Stojiljkovic Date: Thu, 7 Nov 2024 04:32:41 -0500 Subject: [PATCH] Revert "SWDEV-490474 - Allow hipMallocManaged capturing only in relaxed mode" This reverts commit 830c72e2869334c328e04bcef526a09fdd2d1eca. Reason for revert: It is considered a breaking change. Change-Id: I6bfd81dcc16d36304efa2f151969427249a4122f [ROCm/clr commit: 48df130d877b2de94bd25d71201c6ad641024db8] --- projects/clr/hipamd/src/hip_hmm.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/projects/clr/hipamd/src/hip_hmm.cpp b/projects/clr/hipamd/src/hip_hmm.cpp index 6378747e5d..8e263fd9bb 100644 --- a/projects/clr/hipamd/src/hip_hmm.cpp +++ b/projects/clr/hipamd/src/hip_hmm.cpp @@ -64,7 +64,6 @@ static_assert(static_cast(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))) {