SWDEV-490474 - Allow hipMallocManaged capturing only in relaxed mode

Change-Id: I02dccc6c45e39082ef925509a28bbe3c2a0fb7c6
Este commit está contenido en:
Vladana Stojiljkovic committed 2024-10-18 04:52:01 -04:00
1 padre 0f2342bc13
commit 6deecf1bfe
1 file changed
+1
+1
Ver fichero
@@ -64,6 +64,7 @@ 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))) {