Revert "SWDEV-491452 - Allow hipMemAdvise capturing only inrelaxed mode"

This reverts commit 02bbe11e56.

Reason for revert: It is considered a breaking change.

Change-Id: Ia1f7b27a6d3caa4a9fe12bee469f5f0a6b8327fd
このコミットが含まれているのは:
Vladana Stojiljkovic
2024-11-07 04:34:20 -05:00
コミット 62e1d50c2a
-1
ファイルの表示
@@ -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);