Revert "SWDEV-490474 - Allow hipMallocManaged capturing only in relaxed mode"
This reverts commit830c72e286. Reason for revert: It is considered a breaking change. Change-Id: I6bfd81dcc16d36304efa2f151969427249a4122f [ROCm/clr commit:48df130d87]
Cette révision appartient à :
@@ -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))) {
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur