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
This commit is contained in:
1 parent
ed458615c4
commit
62e1d50c2a
1 file changed
-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);
|
||||
|
||||
Reference in new issue
Block a user