From 54a5153a3a9dc6e1def14dd0167a2c19b433e06e Mon Sep 17 00:00:00 2001 From: Vladana Stojiljkovic Date: Thu, 7 Nov 2024 04:34:20 -0500 Subject: [PATCH] Revert "SWDEV-491452 - Allow hipMemAdvise capturing only inrelaxed mode" This reverts commit 116effa83c32de00d79bb7f36c04fdf4bd84e5e3. Reason for revert: It is considered a breaking change. Change-Id: Ia1f7b27a6d3caa4a9fe12bee469f5f0a6b8327fd [ROCm/clr commit: 62e1d50c2af28c768a56bd2035ac416257d452df] --- 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 8e263fd9bb..95c4c44a6c 100644 --- a/projects/clr/hipamd/src/hip_hmm.cpp +++ b/projects/clr/hipamd/src/hip_hmm.cpp @@ -136,7 +136,6 @@ hipError_t hipMemPrefetchAsync(const void* dev_ptr, size_t count, int device, // ================================================================================================ hipError_t hipMemAdvise(const void* dev_ptr, size_t count, hipMemoryAdvise advice, int device) { HIP_INIT_API(hipMemAdvise, dev_ptr, count, advice, device); - CHECK_STREAM_CAPTURE_SUPPORTED(); bool isAdviseReadMostly = (advice == hipMemAdviseSetReadMostly) || (advice == hipMemAdviseUnsetReadMostly);