Revert "SWDEV-491452 - Allow hipMemAdvise capturing only inrelaxed mode"
This reverts commit116effa83c. Reason for revert: It is considered a breaking change. Change-Id: Ia1f7b27a6d3caa4a9fe12bee469f5f0a6b8327fd [ROCm/clr commit:62e1d50c2a]
Этот коммит содержится в:
@@ -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);
|
||||
|
||||
Ссылка в новой задаче
Block a user